Template:Tag: Difference between revisions

m
56 revisions imported from templatewiki:Template:Tag
(Not that I see the point of substing this, but let's make it not dump parser functions all over the place when it is.)
m (56 revisions imported from templatewiki:Template:Tag)
 
(23 intermediate revisions by 9 users not shown)
Line 1:
<code styleclass="white-space{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap;}}" style=">{{#ifeq:{{{style|safesubst:}}}#switch|plain|border:none;background:transparent;|{{{2style|pair}}}}}"><!--
Opening tag
|c|close = <!--nothing-->
}}-->{{{{{|safesubst:}}}#switch:{{{2|pair}}}
|s|single
|c|close =
|o|open
|e|empty|s|single|v|void
|p|pair = &lt;{{{1|tag}}}{{{{{|safesubst:}}}#if:{{{params|}}}|&#32;{{{params}}}}}
|o|open
}}{{{{{|safesubst:}}}#switch:{{{2|pair}}}
|p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|safesubst:tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
|c|close = {{{content|}}}
}}<!--
|s|single = &#32;&#47;&gt;
Content between tags
|o|open = &gt;{{{content|}}}
}}-->{{{{{|safesubst:}}}#switch:{{{2|pair}}}
|p|pair = &gt;{{{content|...}}}
|c|close = {{{content|}}}
}}{{{{{|safesubst:}}}#switch:{{{2|pair}}}
|e|empty|s|single|v|void = &#32;&#47;&gt;
|o|open = <!--nothing-->&gt;{{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
|c|close
}}<!--
|p|pair = &lt;&#47;{{{1|tag}}}&gt;
Closing tag
}}</code><noinclude>
-->{{#switch:{{{2|pair}}}
{{documentation}}
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
}}--></code><noinclude>
{{Documentation}}
</noinclude>