Difference between revisions of "Code"

From blackwiki
Jump to navigation Jump to search
test>Edokter
(allow class, id and style, like other shortcut templates.)
test>Edokter
(Update from sandbox)
Line 1: Line 1:
<code {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang="{{{lang|{{{2|text}}}}}}"|enclose="none"}}</code><noinclude>
+
{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang="{{{lang|{{{2|text}}}}}}"|class="{{{class|}}}"|{{#if:{{{id|}}}|id="{{{id}}}"}}|{{#if:{{{style|}}}|style="{{{style}}}"}}|inline=1}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:47, 7 April 2016

{{{1}}}

Documentation[create]