Template:Tag: Difference between revisions
Content added Content deleted
(fix) |
m (56 revisions imported from templatewiki:Template:Tag) |
||
(37 intermediate revisions by 11 users not shown) | |||
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▼
|c|close =
|open▼
|e|empty|s|single|v|void
|p|pair = <{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}}
}}{{#switch:{{{3|pair}}}▼
}}<!--
|open▼
Content between tags
▲ |close
|c|close = {{{content|}}}
|e|empty|s|single|v|void =  />
|p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content|...}}}
}}<!--
Closing tag
|e|empty|s|single|v|void
▲}}{{#switch:{{{3|pair}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}}
}}</tt><noinclude>▼
}}<!--
{{Documentation}}
</noinclude>
|
Latest revision as of 16:55, 30 March 2021
<tag>...</tag>
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[create]