Template:Xtag: Difference between revisions
m 1 revision |
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}}} | ||
|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=[[ | |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]] | ||
|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: | |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|}}}| {{{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> |