Template:Tag: Difference between revisions
From All Skies Encyclopaedia
imported>Gadget850 (restore /) |
imported>SMcCandlish (These are called attributes; no one who does HTML calls them "parameters".) |
||
(25 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- |
|||
⚫ | |||
Opening tag |
|||
⚫ | |||
⚫ | |||
|single = <!--nothing--> |
|||
|c|close = |
|||
⚫ | |||
|e|empty|s|single|v|void |
|||
|pair |
|||
⚫ | |||
|#default = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}> |
|||
|p|pair = <{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}} |
|||
⚫ | |||
}}<!-- |
|||
⚫ | |||
Content between tags |
|||
⚫ | |||
⚫ | |||
|single = <!--nothing--> |
|||
⚫ | |||
|pair |
|||
|e|empty|s|single|v|void =  /> |
|||
⚫ | |||
|o|open = >{{{content|}}} |
|||
|p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content|...}}} |
|||
|open |
|||
}}<!-- |
|||
|single = <!--nothing--> |
|||
Closing tag |
|||
|close |
|||
⚫ | |||
|pair |
|||
|e|empty|s|single|v|void |
|||
|#default = </{{{1|tag}}}> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|single = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}/> |
|||
|p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}} |
|||
⚫ | |||
}}<!-- |
|||
{{documentation}} |
|||
⚫ | |||
{{Documentation}} |
|||
</noinclude> |
</noinclude> |