Template:Xtag: Difference between revisions

From Sapphire Wiki
m 1 revision
 
m 1 revision imported
 
(One intermediate revision by one other user 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
Line 6: Line 6:
  |categorytree=[[mw:Extension:CategoryTree|categorytree]]
  |categorytree=[[mw:Extension:CategoryTree|categorytree]]
  |charinsert=[[mw:Extension:CharInsert|charinsert]]
  |charinsert=[[mw:Extension:CharInsert|charinsert]]
|ce=[[Help:Displaying a formula#Chemistry|ce]]
|chem=[[Help:Displaying a formula#Chemistry|chem]]
  |gallery=[[Help:Gallery tag|gallery]]
  |gallery=[[Help:Gallery tag|gallery]]
|graph=[[Help:Graph|graph]]
  |hiero=[[mw:Extension:WikiHiero|hiero]]
  |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]]
  |imagemap=[[mw:Extension:ImageMap|imagemap]]
  |inputbox=[[mw:Extension:InputBox|inputbox]]
  |inputbox=[[mw:Extension:InputBox|inputbox]]
|mapframe=[[mw:Extension:Kartographer|mapframe]]
|maplink=[[mw:Extension:Kartographer#<maplink>|maplink]]
  |math=[[mw:Extension:Math|math]]
  |math=[[mw:Extension:Math|math]]
  |nowiki=[[Help:Nowiki|nowiki]]
|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]]
  |poem=[[mw:Extension:Poem|poem]]
  |pre=[[WP:PRE|pre]]
  |pre=[[Help:Wikitext#Pre|pre]]
  |ref=[[mw:Extension:Cite/Cite.php|ref]]
  |ref=[[mw:Extension:Cite/Cite.php|ref]]
  |references=[[mw:Extension:Cite/Cite.php|references]]
  |references=[[mw:Extension:Cite/Cite.php|references]]
|section=[[mw:Extension:Labeled_Section_Transclusion|section]]
  |score=[[Help:Score|score]]
  |score=[[Help:Score|score]]
|section=[[mw:Extension:Labeled Section Transclusion|section]]
  |source=[[mw:Extension:SyntaxHighlight|source]]
  |source=[[mw:Extension:SyntaxHighlight|source]]
  |syntaxhighlight=[[mw:Extension:SyntaxHighlight|syntaxhighlight]]
  |syntaxhighlight=[[mw:Extension:SyntaxHighlight|syntaxhighlight]]
  |templatedata=[[Wikipedia:VisualEditor/TemplateData tutorial|templatedata]]
  |templatedata=[[Wikipedia:TemplateData/Tutorial|templatedata]]
|templatestyles=[[mw:Extension:TemplateStyles|templatestyles]]
  |timeline=[[mw:Extension:EasyTimeline|timeline]]
  |timeline=[[mw:Extension:EasyTimeline|timeline]]
  |#default=tag
  |#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 20:14, 15 February 2024

<>