Difference between revisions of "Template:Tag"
From Polyphasic Sleep Wiki
(These are called attributes; no one who does HTML calls them "parameters".) |
MediaWiki>Pppery (Undid revision 3905257 by 2600:1702:1350:87D0:5491:691B:8A51:8E1C (talk)) |
||
Line 1: | Line 1: | ||
− | + | {{#if:{{{plain|}}}| | |
− | + | |<code style="white-space:nowrap"> | |
− | + | }}{{#switch:{{{2|pair}}} | |
− | + | |c|close = <!--nothing--> | |
− | + | |s|single | |
− | + | |o|open | |
− | + | |p|pair = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}} | |
− | + | }}{{#switch:{{{2|pair}}} | |
− | + | |c|close = {{{content|}}} | |
− | + | |s|single =  /> | |
− | + | |o|open = >{{{content|}}} | |
− | + | |p|pair = >{{{content|...}}} | |
− | + | }}{{#switch:{{{2|pair}}} | |
− | + | |s|single | |
− | + | |o|open = <!--nothing--> | |
− | + | |c|close | |
− | + | |p|pair = </{{{1|tag}}}> | |
− | + | }}{{#if:{{{plain|}}}| | |
− | + | |</code> | |
− | + | }}<noinclude> | |
− | + | {{documentation}} | |
− | |||
− | |||
− | {{ | ||
</noinclude> | </noinclude> |