Difference between revisions of "Template:Tag"
Jump to navigation
Jump to search
Mediawiki>SMcCandlish (These are called attributes; no one who does HTML calls them "parameters".) |
Mediawiki>ExE Boss (6 revisions imported from mw:Template:Tag) |
||
Line 1: | Line 1: | ||
− | + | {{#if:{{{plain|}}}| | |
− | + | |<code class="mw-highlight" style="{{#if:{{{wrap|}}}||white-space:nowrap}}"> | |
− | + | }}{{#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}}}}} | |
− | + | }}{{#switch:{{{2|pair}}} | |
− | + | |c|close = {{{content|}}} | |
− | + | |s|single =  {{#tag:span|/>|class="p"}} | |
− | + | |o|open = {{#tag:span|>|class="p"}}{{{content|}}} | |
− | + | |p|pair = {{#tag:span|>|class="p"}}{{{content|...}}} | |
− | + | }}{{#switch:{{{2|pair}}} | |
− | + | |s|single | |
− | + | |o|open = <!--nothing--> | |
− | + | |c|close | |
− | + | |p|pair = {{#tag:span|‎</|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#tag:span|>|class="p"}} | |
− | + | }}{{#if:{{{plain|}}}| | |
− | + | |</code> | |
− | + | }}<noinclude> | |
− | |||
− | |||
− | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 22:41, 7 July 2021
<tag>...</tag>
This documentation is transcluded from Template:Tag/doc.