Template:Code: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
(allow class, id and style, like other shortcut templates.)
m (46 revisions imported from templatewiki:Template:Code)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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>
{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}|style={{{style|}}}|inline=1}}<noinclude>
{{documentation}}
{{documentation}}
{{En-WP attribution notice|Template:Code}}
</noinclude>
</noinclude>

Latest revision as of 02:01, 16 September 2020

{{{1}}}

Template documentation[create]

Template:En-WP attribution notice