Template:Tag: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
These are called attributes; no one who does HTML calls them "parameters". |
m Protected "Template:Tag": Widely used template ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite)) |
||
| Line 1: | Line 1: | ||
{{#if:{{{plain|}}}| |
|||
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- |
|||
|<code class="mw-highlight" style="{{#if:{{{wrap|}}}||white-space:nowrap}}"> |
|||
Opening tag |
|||
}}{{#switch:{{{2|pair}}} |
|||
|c|close = <!--nothing--> |
|||
|s|single |
|||
|o|open |
|||
|p|pair = {{#tag:span|‎<|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#if:{{{params|}}}| {{{params}}}}} |
|||
| ⚫ | |||
}}<!-- |
|||
|c|close = {{{content|}}} |
|||
Content between tags |
|||
|s|single =  {{#tag:span|/>|class="p"}} |
|||
| ⚫ | |||
|o|open = {{#tag:span|>|class="p"}}{{{content|}}} |
|||
| ⚫ | |||
|e|empty|s|single|v|void =  /> |
|||
}}{{#switch:{{{2|pair}}} |
|||
|s|single |
|||
| ⚫ | |||
|o|open = <!--nothing--> |
|||
}}<!-- |
|||
| ⚫ | |||
Closing tag |
|||
|p|pair = {{#tag:span|‎</|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#tag:span|>|class="p"}} |
|||
-->{{#switch:{{{2|pair}}} |
|||
}}{{#if:{{{plain|}}}| |
|||
|e|empty|s|single|v|void |
|||
|</code> |
|||
|o|open = |
|||
| ⚫ | |||
| ⚫ | |||
|p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}} |
|||
}}<!-- |
|||
| ⚫ | |||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
||
Revision as of 08:29, 28 August 2024
<tag>...</tag>
Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured;
Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.
See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.