Template:Xtag: Difference between revisions

Jump to navigation Jump to search
1,252 bytes added ,  22 January 2024
Bypass shortcuts. Shortcuts are for editor convenience on talk pages and in the URL bar, not for educating editors (often new ones) where and what things are.
>Rusty.perrin
 
(Bypass shortcuts. Shortcuts are for editor convenience on talk pages and in the URL bar, not for educating editors (often new ones) where and what things are.)
Line 1: Line 1:
<code style="white-space:nowrap;">{{#switch:{{{1|}}}
<code class="nowrap">{{#switch:{{{2|pair}}}
  |categorytree=[[mw:Extension:CategoryTree|&lt;categorytree>]]
|c|close  = <!--nothing-->
  |charinsert=[[mw:Extension:CharInsert|&lt;charinsert>]]
|s|single
  |gallery=[[Wikipedia:Gallery tag|&lt;gallery>]]
|o|open
  |hiero=[[mw:Extension:WikiHiero|&lt;hiero>]]
|p|pair  = &lt;{{#switch:{{{1|}}}
  |imagemap=[[mw:Extension:ImageMap|&lt;imagemap>]]
  |categorytree=[[mw:Extension:CategoryTree|categorytree]]
  |inputbox=[[mw:Extension:InputBox|&lt;inputbox>]]
  |charinsert=[[mw:Extension:CharInsert|charinsert]]
  |math=[[mw:Extension:Math|&lt;math>]]
|ce=[[Help:Displaying a formula#Chemistry|ce]]
  |nowiki=[[Help:Nowiki|&lt;nowiki>]]
|chem=[[Help:Displaying a formula#Chemistry|chem]]
  |poem=[[mw:Extension:Poem|&lt;poem>]]
  |gallery=[[Help:Gallery tag|gallery]]
  |pre=[[WP:PRE|&lt;pre>]]
|graph=[[Help:Graph|graph]]
  |ref=[[mw:Extension:Cite/Cite.php|&lt;ref>]]
  |hiero=[[mw:Extension:WikiHiero|hiero]]
  |references=[[mw:Extension:Cite/Cite.php|&lt;references>]]
|includeonly=[[Help:Template#Noinclude, includeonly, and onlyinclude|includeonly]]
  |source=&lt;source>
|indicator=[[mw:Help:Page status indicators|indicator]]
  |syntaxhighlight=[[mw:Extension:SyntaxHighlight|&lt;syntaxhighlight>]]
  |imagemap=[[mw:Extension:ImageMap|imagemap]]
  |timeline=[[mw:Extension:EasyTimeline|&lt;timeline>]]
  |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}}}
|c|close  = {{{content|}}}
|s|single =  &#32;/&gt;
|o|open  = &gt;{{{content|}}}
|p|pair  = &gt;{{{content|...}}}
}}{{#switch:{{{2|open}}}
|s|single
|o|open  = <!--nothing-->
|c|close
|p|pair  = &lt;/{{{1|tag}}}&gt;
}}</code><noinclude>
}}</code><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Anonymous user

Navigation menu