Difference between revisions of "Template:Tag"
From MINR.ORG WIKI
(add comment) |
(Improvement on last change) |
||
Line 1: | Line 1: | ||
− | + | <code class="nowrap">{{#switch:{{{2|pair}}} | |
− | |||
|c|close = <!--nothing--> | |c|close = <!--nothing--> | ||
|s|single | |s|single | ||
Line 9: | Line 8: | ||
|s|single =  /> | |s|single =  /> | ||
|o|open = >{{{content|}}} | |o|open = >{{{content|}}} | ||
− | |p|pair = >{{{content|...}}} | + | |p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content|...}}} |
}}{{#switch:{{{2|pair}}} | }}{{#switch:{{{2|pair}}} | ||
|s|single | |s|single | ||
|o|open = <!--nothing--> | |o|open = <!--nothing--> | ||
|c|close | |c|close | ||
− | |p|pair = </{{{1|tag}}}> | + | |p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}} |
− | }}</code> | + | }}</code><noinclude> |
− | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |