Template:Tag: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(fix)
m (56 revisions imported from templatewiki:Template:Tag)
 
(34 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
<tt>{{#switch:{{{3|pair}}}
Opening tag
|close
-->{{#switch:{{{2|pair}}}
|single = <!--nothing-->
|c|close =
|open
|e|empty|s|single|v|void
|pair
|o|open
|#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki>></nowiki>
|p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
}}{{#switch:{{{3|pair}}}
}}<!--
|open
Content between tags
|close
-->{{#switch:{{{2|pair}}}
|single = <!--nothing-->
|c|close = {{{content|}}}
|pair
|e|empty|s|single|v|void = &#32;&#47;&gt;
|#default = {{{2|}}}
}}{{#switch:{{{3|pair}}}
|o|open = &gt;{{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
|open
}}<!--
|single = <!--nothing-->
Closing tag
|close
-->{{#switch:{{{2|pair}}}
|pair
|e|empty|s|single|v|void
|#default = <nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki>
|o|open =
}}{{#switch:{{{3|pair}}}
|c|close
|single = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki> /></nowiki>
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}</tt><noinclude>
}}<!--
{{documentation}}
--></code><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:06, 6 September 2020

<tag>...</tag>