Template:Code: Difference between revisions

A working version of Template:Code, without the extension tag that broke it. The original code can be found at Template:Code/original code.
m (1 revision: templates imported from WP CC-SA)
 
(A working version of Template:Code, without the extension tag that broke it. The original code can be found at Template:Code/original code.)
 
Line 1: Line 1:
<code>{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang="{{{lang|{{{2|text}}}}}}"|enclose="none"}}</code><noinclude>
<code {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{lang|}}}|lang="{{{lang|text}}}"}}>{{{1}}}</code><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
3,860

edits