1,535
edits
(Also show content with open and close) |
m (56 revisions imported from templatewiki:Template:Tag) |
||
(26 intermediate revisions by 10 users not shown) | |||
Line 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
<code style="white-space:nowrap;">{{#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}}}▼
}}<!--
Content between tags
|open▼
▲ |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}}}>}}
}}</code><noinclude>▼
}}<!--
{{Documentation}}
</noinclude>
|