Difference between revisions of "Template:Code"

m (1 revision imported)
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
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|}}}|id={{{id|}}}|style={{{style|}}}|inline=1}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:21, 20 March 2017

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{{1}}}</syntaxhighlight>

50px Template documentation[create]