Template:Tag: Difference between revisions
From The Tower of Babel
en>SMcCandlish These are called attributes; no one who does HTML calls them "parameters". |
m 1 revision imported |
||
(2 intermediate revisions by 2 users not shown) | |||
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> |
Latest revision as of 12:09, 1 February 2021
<tag>...</tag>
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}