Sjabloon:Tag: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
interwiki>Shirayuki (add plain) |
(fix order of switch statements) |
||
Regel 1: | Regel 1: | ||
{{# | <code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- | ||
Opening tag | |||
-->{{#switch:{{{2|pair}}} | |||
|c|close = | |||
|e|empty|s|single|v|void | |||
|o|open | |||
|p|pair = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}} | |||
}}{{#switch:{{{2|pair}}} | }}<!-- | ||
Content between tags | |||
-->{{#switch:{{{2|pair}}} | |||
|c|close = {{{content|}}} | |||
|e|empty|s|single|v|void =  /> | |||
}}{{#switch:{{{2|pair}}} | |o|open = >{{{content|}}} | ||
|p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content|...}}} | |||
}}<!-- | |||
Closing tag | |||
-->{{#switch:{{{2|pair}}} | |||
}} | |e|empty|s|single|v|void | ||
|o|open = | |||
|c|close | |||
{{ | |p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}} | ||
}}<!-- | |||
--></code><noinclude> | |||
{{Documentation}} | |||
</noinclude> | </noinclude> |
Versie van 6 aug 2017 02:04
<tag>...</tag>
Bestand:Test Template Info-Icon - Version (2).svg Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
[[Category:Template documentation{{#translation:}}| ]]