Template:Code: Difference between revisions

From Nasqueron Agora
m (Dereckson moved page Main Page/Template:Code to Template:Code without leaving a redirect: For the template namespace)
(CSS class .inline-code)
 
Line 1: Line 1:
{{#if:{{{inline|}}}|<code {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang="{{{lang|{{{2|text}}}}}}"|inline=true}}</code>|{{#if:{{{header|}}}|<u><small>{{{header}}}</small></u>}}{{#tag:syntaxhighlight
<div class="inline-code">{{#if:{{{inline|}}}|<code {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang="{{{lang|{{{2|text}}}}}}"|inline=true}}</code></div>|{{#if:{{{header|}}}|<u><small>{{{header}}}</small></u>}}{{#tag:syntaxhighlight
|{{{code|{{{1}}}}}}
|{{{code|{{{1}}}}}}
|lang={{{lang|{{{2|bash}}}}}}
|lang={{{lang|{{{2|bash}}}}}}

Latest revision as of 08:27, 27 May 2023

{{{1}}}

Documentation: Template:Code on mediawiki.org