Difference between revisions of "Template:Tag"
Jump to navigation
Jump to search
Template>SMcCandlish (These are called attributes; no one who does HTML calls them "parameters".) |
module>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> |
Revision as of 20:28, 10 June 2020
<tag>...</tag>
Template documentation
[create]