Template:Code: Difference between revisions

39 bytes removed ,  8 years ago
Update from sandbox
(allow class, id and style, like other shortcut templates.)
(Update from sandbox)
Line 1:
<code {{#iftag:syntaxhighlight|{{{classcode|}}}|class="{{{class1}}}"}} }|lang="{{#if:{lang|{{id{2|text}}}}}}"|idclass="{{{idclass|}}}"}} |{{#if:{{{styleid|}}}|styleid="{{{styleid}}}"}}>|{{#tagif:syntaxhighlight|{{{codestyle|{{{1}}}}}}|langstyle="{{{lang|{{{2|textstyle}}}"}}}"|encloseinline="none"1}}</code><noinclude>
{{documentation}}
</noinclude>
Anonymous user