Template:Xtag: Difference between revisions
Jump to navigation
Jump to search
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 (Copied from Wikipedia:Template:Xtag) |
(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 | <code class="nowrap">{{#switch:{{{2|pair}}} | ||
|categorytree=[[mw:Extension:CategoryTree| | |c|close = <!--nothing--> | ||
|charinsert=[[mw:Extension:CharInsert| | |s|single | ||
|gallery=[[ | |o|open | ||
|hiero=[[mw:Extension:WikiHiero| | |p|pair = <{{#switch:{{{1|}}} | ||
|imagemap=[[mw:Extension:ImageMap| | |categorytree=[[mw:Extension:CategoryTree|categorytree]] | ||
|inputbox=[[mw:Extension:InputBox| | |charinsert=[[mw:Extension:CharInsert|charinsert]] | ||
|math=[[mw:Extension:Math| | |ce=[[Help:Displaying a formula#Chemistry|ce]] | ||
|nowiki=[[Help:Nowiki| | |chem=[[Help:Displaying a formula#Chemistry|chem]] | ||
|poem=[[mw:Extension:Poem| | |gallery=[[Help:Gallery tag|gallery]] | ||
|pre=[[ | |graph=[[Help:Graph|graph]] | ||
|ref=[[mw:Extension:Cite/Cite.php| | |hiero=[[mw:Extension:WikiHiero|hiero]] | ||
|references=[[mw:Extension:Cite/Cite.php| | |includeonly=[[Help:Template#Noinclude, includeonly, and onlyinclude|includeonly]] | ||
|source= | |indicator=[[mw:Help:Page status indicators|indicator]] | ||
|syntaxhighlight=[[mw:Extension:SyntaxHighlight| | |imagemap=[[mw:Extension:ImageMap|imagemap]] | ||
|timeline=[[mw:Extension:EasyTimeline|< | |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|}}}| {{{params}}}}} | |||
}}{{#switch:{{{2|open}}} | |||
|c|close = {{{content|}}} | |||
|s|single =  /> | |||
|o|open = >{{{content|}}} | |||
|p|pair = >{{{content|...}}} | |||
}}{{#switch:{{{2|open}}} | |||
|s|single | |||
|o|open = <!--nothing--> | |||
|c|close | |||
|p|pair = </{{{1|tag}}}> | |||
}}</code><noinclude> | }}</code><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||