Difference between revisions of "Template:Xtag"

From Polyphasic Sleep Wiki
MediaWiki>Shirayuki
(fix links)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
+
<code class="nowrap">{{#switch:{{{2|pair}}}
 
  |c|close  = <!--nothing-->
 
  |c|close  = <!--nothing-->
 
  |s|single
 
  |s|single
 
  |o|open
 
  |o|open
 
  |p|pair  = &lt;{{#switch:{{{1|}}}
 
  |p|pair  = &lt;{{#switch:{{{1|}}}
  |categorytree={{ll|Extension:CategoryTree|categorytree}}
+
  |categorytree=[[mw:Extension:CategoryTree|categorytree]]
  |charinsert={{ll|Extension:CharInsert|charinsert}}
+
  |charinsert=[[mw:Extension:CharInsert|charinsert]]
  |gallery={{ll|Help:Gallery tag|gallery}}
+
|ce=[[Help:Displaying a formula#Chemistry|ce]]
  |hiero={{ll|Extension:WikiHiero|hiero}}
+
|chem=[[Help:Displaying a formula#Chemistry|chem]]
  |imagemap={{ll|Extension:ImageMap|imagemap}}
+
  |gallery=[[Help:Gallery tag|gallery]]
  |inputbox={{ll|Extension:InputBox|inputbox}}
+
|graph=[[Help:Graph|graph]]
  |math={{ll|Extension:Math|math}}
+
  |hiero=[[mw:Extension:WikiHiero|hiero]]
  |nowiki={{ll|Help:Nowiki|nowiki}}
+
|includeonly=[[Help:Template#Noinclude, includeonly, and onlyinclude|includeonly]]
  |poem={{ll|Extension:Poem|poem}}
+
|indicator=[[mw:Help:Page status indicators|indicator]]
  |pre=[[w:Wikipedia:PRE|pre]]
+
  |imagemap=[[mw:Extension:ImageMap|imagemap]]
  |ref={{ll|Extension:Cite/Cite.php|ref}}
+
  |inputbox=[[mw:Extension:InputBox|inputbox]]
  |references={{ll|Extension:Cite/Cite.php|references}}
+
|mapframe=[[mw:Extension:Kartographer|mapframe]]
  |section={{ll|Extension:Labeled_Section_Transclusion|section}}
+
|maplink=[[mw:Extension:Kartographer#<maplink>|maplink]]
  |score={{ll|Help:Score|score}}
+
  |math=[[mw:Extension:Math|math]]
  |source={{ll|Extension:SyntaxHighlight|source}}
+
|math chem=[[Help:Displaying a formula#Chemistry|math chem]]
  |syntaxhighlight={{ll|Extension:SyntaxHighlight|syntaxhighlight}}
+
|noinclude=[[Help:Template#Noinclude, includeonly, and onlyinclude|noinclude]]
  |templatedata=[[w:Wikipedia:VisualEditor/TemplateData tutorial|templatedata]]
+
  |nowiki=[[Help:Nowiki|nowiki]]
  |timeline={{ll|Extension:EasyTimeline|timeline}}
+
|onlyinclude=[[Help:Template#Noinclude, includeonly, and onlyinclude|onlyinclude]]
  |#default=tag
+
  |poem=[[mw:Extension:Poem|poem]]
 +
  |pre=[[WP: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}}}}}
 
}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
 
}}{{#switch:{{{2|open}}}
 
}}{{#switch:{{{2|open}}}
 
  |c|close  = {{{content|}}}
 
  |c|close  = {{{content|}}}
  |s|single = &#32;&#47;&gt;
+
  |s|single = &#32;/&gt;
 
  |o|open  = &gt;{{{content|}}}
 
  |o|open  = &gt;{{{content|}}}
 
  |p|pair  = &gt;{{{content|...}}}
 
  |p|pair  = &gt;{{{content|...}}}
Line 33: Line 44:
 
  |o|open  = <!--nothing-->
 
  |o|open  = <!--nothing-->
 
  |c|close
 
  |c|close
  |p|pair  = &lt;&#47;{{{1|tag}}}&gt;
+
  |p|pair  = &lt;/{{{1|tag}}}&gt;
 
}}</code><noinclude>
 
}}</code><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:16, 16 January 2021

<>

50px Template documentation[create]