Difference between revisions of "Template:Tag"

From WPRDC Wiki
Jump to navigation Jump to search
>Alfakim~mediawikiwiki
>Clump
m (Reverted edits by 180.245.200.43 (talk) to last version by ExE Boss)
 
(56 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<code><nowiki><</nowiki>{{{1|tag}}}<nowiki>></nowiki>{{{2|}}}<nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki></code><noinclude>
{{#if:{{{plain|}}}|
 
|<code class="mw-highlight" style="{{#if:{{{wrap|}}}||white-space:nowrap}}">
----
}}{{#switch:{{{2|pair}}}
 
|c|close  = <!--nothing-->
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.
|s|single
 
|o|open
<pre># {{tag|ref}}
|p|pair  = {{#tag:span|&lrm;&lt;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
# {{tag|ref|hello}}</pre>
}}{{#switch:{{{2|pair}}}
 
|c|close  = {{{content|}}}
# {{tag|ref}}
|s|single = &#32;{{#tag:span|&#47;&gt;|class="p"}}
# {{tag|ref|hello}}
|o|open  = {{#tag:span|&gt;|class="p"}}{{{content|}}}
 
|p|pair  = {{#tag:span|&gt;|class="p"}}{{{content|...}}}
}}{{#switch:{{{2|pair}}}
|s|single
|o|open  = <!--nothing-->
|c|close
|p|pair  = {{#tag:span|&lrm;&lt;&#47;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#tag:span|&gt;|class="p"}}
}}{{#if:{{{plain|}}}|
|</code>
}}<noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 20:55, 1 October 2021

‎<tag>...‎</tag> Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.