Template:Code: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>AoV2
syntax-highlight the code as {{{lang}}}/{{{2}}}
SockyPaws (talk | contribs)
Fix template to use actual <code> tags since ZW doesn't have the SyntaxHighlight extension installed
Tag: 2017 source edit
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly><code>{{#if:{{{2|{{{lang|}}}}}}
{{#tag:code|{{{code|{{{1|<noinclude>Monospaced text</noinclude>}}}}}}|class={{{class|}}}|id={{{id|}}}|style={{{style|}}}}}<noinclude>
| {{#tag:syntaxhighlight|{{{1}}}|lang={{{2|{{{lang|}}}}}}|enclose=none}}
{{Documentation}}<!-- Add categories to the /doc subpage, not here, please. --></noinclude>
| {{#tag:nowiki|{{{1}}}}}
}}</code></includeonly><noinclude>
<pre><code>{{nw|{{{1}}}}}</code></pre>
{{documentation}}
</noinclude>

Latest revision as of 19:28, 21 November 2024

Monospaced text