Difference between revisions of "Template:Xtag"

From BTAWiki
Jump to navigation Jump to search
(Help:Gallery tag)
(add tag features)
Line 1: Line 1:
<code style="white-space:nowrap;">&lt;{{#switch:{{{1|}}}
+
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
 +
|c|close  = <!--nothing-->
 +
|s|single
 +
|o|open
 +
|p|pair  = &lt;{{#switch:{{{1|}}}
 
  |categorytree=[[mw:Extension:CategoryTree|categorytree]]
 
  |categorytree=[[mw:Extension:CategoryTree|categorytree]]
 
  |charinsert=[[mw:Extension:CharInsert|charinsert]]
 
  |charinsert=[[mw:Extension:CharInsert|charinsert]]
Line 15: Line 19:
 
  |syntaxhighlight=[[mw:Extension:SyntaxHighlight|syntaxhighlight]]
 
  |syntaxhighlight=[[mw:Extension:SyntaxHighlight|syntaxhighlight]]
 
  |timeline=[[mw:Extension:EasyTimeline|timeline]]
 
  |timeline=[[mw:Extension:EasyTimeline|timeline]]
}}&gt;</code><noinclude>
+
|#default=tag
 +
}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
 +
}}{{#switch:{{{2|open}}}
 +
|c|close  = {{{content|}}}
 +
|s|single = &#32;&#47;&gt;
 +
|o|open  = &gt;{{{content|}}}
 +
|p|pair  = &gt;{{{content|...}}}
 +
}}{{#switch:{{{2|open}}}
 +
|s|single
 +
|o|open  = <!--nothing-->
 +
|c|close
 +
|p|pair  = &lt;&#47;{{{1|tag}}}&gt;
 +
}}</code><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:25, 20 March 2013

<tag> Script error: No such module "documentation".