Template:syntaxhighlight/documentation

Simple wrapper around the tag to show syntax-highlighted text. Unlike, text that does not fit on the screen will be wrapped.

Parameters

 * lang:


 * code: The contents of the syntax highlighted block.

Examples
syntaxhighlight

mw.util.addPortletLink('p-personal', '/w/index.php?title=Special:MyPage/Sandbox&action=edit&preload=Template%3AUser_sandbox%2Fpreload&editintro=Template%3AUser_sandbox', 'My sandbox', 'pt-mysandbox', 'Go to my sandbox');