Diferencia entre revisiones de «Plantilla:Code»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
m (Changed protection level of Template:Code: Enable access by template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
(allow class, id and style, like other shortcut templates.)
Línea 1: Línea 1:
<code>{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang="{{{lang|{{{2|text}}}}}}"|enclose="none"}}</code><noinclude>
+
<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}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revisión del 13:03 30 mar 2014

<syntaxhighlight lang="text" enclose="none">{{{1}}}</syntaxhighlight>

50px Template documentation[create]