Template:Tag: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(These are called attributes; no one who does HTML calls them "parameters".) |
(Undid revision 3905257 by 2600:1702:1350:87D0:5491:691B:8A51:8E1C (talk)) |
||
Line 1: | Line 1: | ||
{{#if:{{{plain|}}}| |
|||
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- |
|||
|<code style="white-space:nowrap"> |
|||
Opening tag |
|||
}}{{#switch:{{{2|pair}}} |
|||
|c|close = <!--nothing--> |
|||
|s|single |
|||
|o|open |
|||
|p|pair = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}} |
|||
⚫ | |||
}}<!-- |
|||
|c|close = {{{content|}}} |
|||
Content between tags |
|||
⚫ | |||
⚫ | |||
|o|open = >{{{content|}}} |
|||
⚫ | |||
⚫ | |||
}}{{#switch:{{{2|pair}}} |
|||
|s|single |
|||
⚫ | |||
|o|open = <!--nothing--> |
|||
}}<!-- |
|||
⚫ | |||
Closing tag |
|||
⚫ | |||
-->{{#switch:{{{2|pair}}} |
|||
}}{{#if:{{{plain|}}}| |
|||
|e|empty|s|single|v|void |
|||
|</code> |
|||
|o|open = |
|||
⚫ | |||
⚫ | |||
{{documentation}} |
|||
⚫ | |||
}}<!-- |
|||
⚫ | |||
{{Documentation}} |
|||
</noinclude> |
</noinclude> |