Template:Tag: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(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: Line 1:
<code style="white-space:nowrap;">{{{{{|safesubst:}}}#switch:{{{2|pair}}}
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
Opening tag
|c|close = <!--nothing-->
-->{{#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|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
|c|close = {{{content|}}}
}}<!--
|s|single = &#32;&#47;&gt;
Content between tags
|o|open = &gt;{{{content|}}}
-->{{#switch:{{{2|pair}}}
|p|pair = &gt;{{{content|...}}}
|c|close = {{{content|}}}
}}{{{{{|safesubst:}}}#switch:{{{2|pair}}}
|s|single
|e|empty|s|single|v|void = &#32;&#47;&gt;
|o|open = <!--nothing-->
|o|open = &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>
</noinclude>

Latest revision as of 16:55, 30 March 2021

<tag>...</tag>

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation[create]