Difference between revisions of "Template:Xtag"

From BTAWiki
Jump to navigation Jump to search
(rm nl)
m (16 revisions imported)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<code style="white-space:nowrap;">{{#switch:{{{1|}}}
+
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
  |categorytree=[[mw:Extension:CategoryTree|&lt;categorytree>]]
+
|c|close  = <!--nothing-->
  |charinsert=[[mw:Extension:CharInsert|&lt;charinsert>]]
+
|s|single
  |gallery=[[Wikipedia:Gallery tag|&lt;gallery>]]
+
|o|open
  |hiero=[[mw:Extension:WikiHiero|&lt;hiero>]]
+
|p|pair  = &lt;{{#switch:{{{1|}}}
  |imagemap=[[mw:Extension:ImageMap|&lt;imagemap>]]
+
  |categorytree={{ll|Extension:CategoryTree|categorytree}}
  |inputbox=[[mw:Extension:InputBox|&lt;inputbox>]]
+
  |charinsert={{ll|Extension:CharInsert|charinsert}}
  |math=[[mw:Extension:Math|&lt;math>]]
+
  |gallery={{ll|Help:Gallery tag|gallery}}
  |nowiki=&lt;nowiki>
+
  |hiero={{ll|Extension:WikiHiero|hiero}}
  |poem=[[mw:Extension:Poem|&lt;poem>]]
+
  |imagemap={{ll|Extension:ImageMap|imagemap}}
  |pre=&lt;pre>
+
  |inputbox={{ll|Extension:InputBox|inputbox}}
  |ref=[[mw:Extension:Cite/Cite.php|&lt;ref>]]
+
  |math={{ll|Extension:Math|math}}
  |references=[[mw:Extension:Cite/Cite.php|&lt;references>]]
+
  |nowiki={{ll|Help:Nowiki|nowiki}}
  |source=&lt;source>
+
  |poem={{ll|Extension:Poem|poem}}
  |syntaxhighlight=[[mw:Extension:SyntaxHighlight|&lt;syntaxhighlight>]]
+
  |pre=[[w:Wikipedia:PRE|pre]]
  |timeline=[[mw:Extension:EasyTimeline|&lt;timeline>]]
+
  |ref={{ll|Extension:Cite/Cite.php|ref}}
 +
  |references={{ll|Extension:Cite/Cite.php|references}}
 +
|section={{ll|Extension:Labeled_Section_Transclusion|section}}
 +
|score={{ll|Help:Score|score}}
 +
  |source={{ll|Extension:SyntaxHighlight|source}}
 +
  |syntaxhighlight={{ll|Extension:SyntaxHighlight|syntaxhighlight}}
 +
|templatedata=[[w:Wikipedia:VisualEditor/TemplateData tutorial|templatedata]]
 +
  |timeline={{ll|Extension:EasyTimeline|timeline}}
 +
|#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>
 
}}</code><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:07, 13 November 2020

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