Difference between revisions of "Template:Code"

From Timelines
Jump to: navigation, search
(rm this bit)
(better approach, make “text” the default lang)
Line 1: Line 1:
<includeonly><code>{{#if:{{{2|{{{lang|}}}}}}
+
<includeonly><code>{{#tag:syntaxhighlight|{{{1}}}|lang={{{2|{{{lang|text}}}}}}|enclose=none}}</code></includeonly><noinclude>
| {{#tag:syntaxhighlight|{{{1}}}|lang={{{2|{{{lang|}}}}}}|enclose=none}}
 
| {{#tag:nowiki|{{{1}}}}}
 
}}</code></includeonly><noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 19:35, 7 March 2010

Template documentation[create]