Difference between revisions of "Template:Xtag"

From D&D 5e
Jump to: navigation, search
(add tag features)
(source)
Line 16: Line 16:
 
  |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]]
  |source=source
+
  |source=[[mw:Extension:SyntaxHighlight|source]]
 
  |syntaxhighlight=[[mw:Extension:SyntaxHighlight|syntaxhighlight]]
 
  |syntaxhighlight=[[mw:Extension:SyntaxHighlight|syntaxhighlight]]
 
  |timeline=[[mw:Extension:EasyTimeline|timeline]]
 
  |timeline=[[mw:Extension:EasyTimeline|timeline]]

Revision as of 04:44, 21 March 2013

{{#switch:pair

|c|close  = 
|s|single
|o|open
|p|pair   = <{{#switch:
|categorytree=categorytree
|charinsert=charinsert
|gallery=gallery
|hiero=hiero
|imagemap=imagemap
|inputbox=inputbox
|math=math
|nowiki=nowiki
|poem=poem
|pre=pre
|ref=ref
|references=references
|source=source
|syntaxhighlight=syntaxhighlight
|timeline=timeline
|#default=tag

}}{{#if:| {{{params}}}}} }}{{#switch:open

|c|close  = 
|s|single =  />
|o|open   = >
|p|pair   = >...

}}{{#switch:open

|s|single
|o|open   = 
|c|close
|p|pair   = </tag>

}}

50px Template documentation[create]