Difference between revisions of "Template:Code"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (Using parser function trick to break up the "nowiki" so that the template itself won't parse it and fail to interpret the textual parameter. Testing for real in a minute, will revert if fails.)
m (41 revisions from wikipedia:Template:Code)
 
(40 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<code>{{#if:{{{1|}}}|<no|<no}}{{#if:{{{1|}}}|wiki>|wiki>}}{{{1}}}{{#if:{{{1|}}}|</no|</no}}{{#if:{{{1|}}}|wiki>|wiki>}}</code>
+
<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}}
 +
</noinclude>

Latest revision as of 19:54, 6 March 2016

{{{1}}}

Documentation icon Template documentation[create]