Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Xtag: Difference between revisions

Template page
mediawiki>ExE Boss
Make exportable to other wikis
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{#if:{{yesno|{{{plain|}}}}}||
<code class="nowrap">{{#switch:{{{2|pair}}}
{{#if:{{yesno|{{{wrap|}}}}}||
<templatestyles src="Template:Nowrap/styles.css" />
}}<code class="mw-highlight {{#if:{{yesno|{{{wrap|}}}}}||nowrap}}">
}}{{#switch:{{{2|open}}}
|c|close  = {{{content|}}}{{#tag:span|&lrm;&lt;&#47;|class="p"}}
|s|single
|o|open
|p|pair   = {{#tag:span|&lrm;&lt;|class="p"}}
}}{{#tag:span|{{#switch:{{{1|tag}}}
|categorytree=[[mw:Special:MyLanguage/Extension:CategoryTree|{{{1}}}]]
|charinsert=[[mw:Special:MyLanguage/Extension:CharInsert|{{{1}}}]]
|hiero=[[mw:Special:MyLanguage/Extension:WikiHiero|{{{1}}}]]
|imagemap=[[mw:Special:MyLanguage/Extension:ImageMap|{{{1}}}]]
|inputbox=[[mw:Special:MyLanguage/Extension:InputBox|{{{1}}}]]
|math=[[mw:Special:MyLanguage/Extension:Math|{{{1}}}]]
|poem=[[mw:Special:MyLanguage/Extension:Poem|{{{1}}}]]
|ref|references=[[mw:Special:MyLanguage/Extension:Cite|{{{1}}}]]
|section=[[mw:Special:MyLanguage/Extension:Labeled Section Transclusion|{{{1}}}]]
|score=[[mw:Special:MyLanguage/Help:Score|{{{1}}}]]
|source|syntaxhighlight=[[mw:Special:MyLanguage/Extension:SyntaxHighlight|{{{1}}}]]
|templatedata=[[mw:Special:MyLanguage/Help:TemplateData|{{{1}}}]]
|templatestyles=[[mw:Special:MyLanguage/Help:TemplateStyles|{{{1}}}]]
|timeline=[[mw:Special:MyLanguage/Extension:EasyTimeline|{{{1}}}]]
<!--builtin-->
|gallery=[[mw:Special:MyLanguage/Help:Gallery|{{{1}}}]]
|nowiki|pre=[[mw:Special:MyLanguage/Help:Formatting#%3C{{{1}}}%3E|{{{1}}}]]
|includeonly|noinclude|onlyinclude|=[[mw:Special:MyLanguage/Help:Transclusion#%3C{{{1}}}%3E|{{{1}}}]]
|#default={{{1|tag}}}
}}|class="nt"}}{{#switch:{{{2|open}}}
  |c|close  = <!--nothing-->
  |c|close  = <!--nothing-->
  |s|single
  |s|single
  |o|open
  |o|open
  |p|pair  = {{#if:{{{params|}}}|&#32;{{{params}}}}}
  |p|pair  = &lt;{{#switch:{{{1|}}}
|categorytree=[[mw:Extension:CategoryTree|categorytree]]
|charinsert=[[mw:Extension:CharInsert|charinsert]]
|ce=[[Help:Displaying a formula#Chemistry|ce]]
|chem=[[Help:Displaying a formula#Chemistry|chem]]
|gallery=[[Help:Gallery tag|gallery]]
|graph=[[Help:Graph|graph]]
|hiero=[[mw:Extension:WikiHiero|hiero]]
|includeonly=[[Help:Template#Noinclude, includeonly, and onlyinclude|includeonly]]
|indicator=[[mw:Help:Page status indicators|indicator]]
|imagemap=[[mw:Extension:ImageMap|imagemap]]
|inputbox=[[mw:Extension:InputBox|inputbox]]
|mapframe=[[mw:Extension:Kartographer|mapframe]]
|maplink=[[mw:Extension:Kartographer#<maplink>|maplink]]
|math=[[mw:Extension:Math|math]]
|math chem=[[Help:Displaying a formula#Chemistry|math chem]]
|noinclude=[[Help:Template#Noinclude, includeonly, and onlyinclude|noinclude]]
|nowiki=[[Help:Wikitext#Nowiki|nowiki]]
|onlyinclude=[[Help:Template#Noinclude, includeonly, and onlyinclude|onlyinclude]]
|poem=[[mw:Extension:Poem|poem]]
|pre=[[Help:Wikitext#Pre|pre]]
|ref=[[mw:Extension:Cite/Cite.php|ref]]
|references=[[mw:Extension:Cite/Cite.php|references]]
|score=[[Help:Score|score]]
|section=[[mw:Extension:Labeled Section Transclusion|section]]
|source=[[mw:Extension:SyntaxHighlight|source]]
|syntaxhighlight=[[mw:Extension:SyntaxHighlight|syntaxhighlight]]
|templatedata=[[Wikipedia:TemplateData/Tutorial|templatedata]]
|templatestyles=[[mw:Extension:TemplateStyles|templatestyles]]
|timeline=[[mw:Extension:EasyTimeline|timeline]]
|#default={{{1|}}}[[Category:Pages using xtag template with unsupported tag name]]
}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
}}{{#switch:{{{2|open}}}
}}{{#switch:{{{2|open}}}
  |c|close  = <!--nothing-->
  |c|close  = {{{content|}}}
  |s|single = &#32;{{#tag:span|&#47;&gt;|class="p"}}
  |s|single = &#32;/&gt;
  |o|open  = {{#tag:span|&gt;|class="p"}}{{{content|}}}
  |o|open  = &gt;{{{content|}}}
  |p|pair  = {{#tag:span|&gt;|class="p"}}{{{content|...}}}
  |p|pair  = &gt;{{{content|...}}}
}}{{#switch:{{{2|open}}}
}}{{#switch:{{{2|open}}}
  |s|single
  |s|single
  |o|open  = <!--nothing-->
  |o|open  = <!--nothing-->
  |c|close = {{#tag:span|&gt;|class="p"}}
  |c|close
  |p|pair  = {{#tag:span|&lrm;&lt;&#47;|class="p"}}{{#tag:span|{{#if:1|{{{1|tag}}}}}|class="nt"}}{{#tag:span|&gt;|class="p"}}
  |p|pair  = &lt;/{{{1|tag}}}&gt;
}}{{#if:{{yesno|{{{plain|}}}}}||
}}</code><noinclude>
</code>
{{documentation}}
}}</onlyinclude>
</noinclude>
{{Documentation}}

Latest revision as of 03:59, 30 June 2024

<>