Difference between revisions of "Template:Xtag"
From Polyphasic Sleep Wiki
MediaWiki>Shirayuki (fix links) |
(overthinking it) |
||
Line 1: | Line 1: | ||
− | <code | + | <code class="nowrap">{{#switch:{{{2|pair}}} |
|c|close = <!--nothing--> | |c|close = <!--nothing--> | ||
|s|single | |s|single | ||
|o|open | |o|open | ||
|p|pair = <{{#switch:{{{1|}}} | |p|pair = <{{#switch:{{{1|}}} | ||
− | |categorytree= | + | |categorytree=[[mw:Extension:CategoryTree|categorytree]] |
− | |charinsert= | + | |charinsert=[[mw:Extension:CharInsert|charinsert]] |
− | |gallery= | + | |ce=[[Help:Displaying a formula#Chemistry|ce]] |
− | |hiero= | + | |chem=[[Help:Displaying a formula#Chemistry|chem]] |
− | |imagemap= | + | |gallery=[[Help:Gallery tag|gallery]] |
− | |inputbox= | + | |graph=[[Help:Graph|graph]] |
− | |math= | + | |hiero=[[mw:Extension:WikiHiero|hiero]] |
− | |nowiki= | + | |includeonly=[[Help:Template#Noinclude, includeonly, and onlyinclude|includeonly]] |
− | |poem= | + | |indicator=[[mw:Help:Page status indicators|indicator]] |
− | |pre=[[ | + | |imagemap=[[mw:Extension:ImageMap|imagemap]] |
− | |ref= | + | |inputbox=[[mw:Extension:InputBox|inputbox]] |
− | |references= | + | |mapframe=[[mw:Extension:Kartographer|mapframe]] |
− | | | + | |maplink=[[mw:Extension:Kartographer#<maplink>|maplink]] |
− | | | + | |math=[[mw:Extension:Math|math]] |
− | |source= | + | |math chem=[[Help:Displaying a formula#Chemistry|math chem]] |
− | |syntaxhighlight= | + | |noinclude=[[Help:Template#Noinclude, includeonly, and onlyinclude|noinclude]] |
− | |templatedata=[[ | + | |nowiki=[[Help:Nowiki|nowiki]] |
− | |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|}}}| {{{params}}}}} | }}{{#if:{{{params|}}}| {{{params}}}}} | ||
}}{{#switch:{{{2|open}}} | }}{{#switch:{{{2|open}}} | ||
|c|close = {{{content|}}} | |c|close = {{{content|}}} | ||
− | |s|single =   | + | |s|single =  /> |
|o|open = >{{{content|}}} | |o|open = >{{{content|}}} | ||
|p|pair = >{{{content|...}}} | |p|pair = >{{{content|...}}} | ||
Line 33: | Line 44: | ||
|o|open = <!--nothing--> | |o|open = <!--nothing--> | ||
|c|close | |c|close | ||
− | |p|pair = < | + | |p|pair = </{{{1|tag}}}> |
}}</code><noinclude> | }}</code><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |