Difference between revisions of "Template:Code"

From Wikispooks
Jump to navigation Jump to search
m (1 revision: refesh WP citation templates)
 
m (1 revision imported)
(One intermediate revision by the same user not shown)
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}}}"}}>{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang="{{{lang|{{{2|text}}}}}}"|enclose="none"}}</code><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:02, 2 December 2015

<syntaxhighlight lang="text" enclose="none">{{{1}}}</syntaxhighlight>

Template documentation[create]