Template:Tag: Difference between revisions

Not an accident; these are superfluous and redundant.
(Restored "type" and "name" (parameter –names– that must've been removed accidentally), corrected code heading)
(Not an accident; these are superfluous and redundant.)
Line 1:
<code class="nowrap" style="{{#switch:{{{style|}}} |plain|plainer=border:none;background:transparent; |{{{style|}}}}}"><!--
Opening tag
-->{{#switch:{{{type|{{{2|pair}}}}}}
|c|close =
|s|single
|o|open
|p|pair = &lt;{{{name|{{{1|tag}}}}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
}}<!--
Content before/after/between tag/stags
-->{{#switch:{{{type|{{{2|pair}}}}}}
|c|close = {{{content|}}}
|s|single = &#32;&#47;&gt;
|o|open = &gt;{{{content|}}}
|p|pair = {{#ifeq:{{{name|{{{1|tag}}}}}}|!--||&gt;}}{{{content|...}}}
}}<!--
Closing tag
-->{{#switch:{{{type|{{{2|pair}}}}}}
|s|single
|o|open =
|c|close
|p|pair = {{#ifeq:{{{name|{{{1|tag}}}}}}|!--|--&gt;|&lt;&#47;{{{name|{{{1|tag}}}}}}&gt;}}
}}<!--
--></code><noinclude>
Anonymous user