440
edits
(make content a named param) |
m (56 revisions imported from templatewiki:Template:Tag) |
||
(33 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:{{{2|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:{{{2|pair}}}▼
}}<!--
|open▼
Content between tags
▲ |close
|e|empty|s|single|v|void =  />
▲ |#default = {{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content|...}}}
}}<!--
Closing tag
|e|empty|s|single|v|void
▲}}{{#switch:{{{2|pair}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}}
}}</tt><noinclude>▼
}}<!--
{{Documentation}}
</noinclude>
|