Difference between revisions of "Template:Tag"

From BTAWiki
Jump to navigation Jump to search
(make content a named param)
m (49 revisions imported)
 
(26 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<tt>{{#switch:{{{2|pair}}}
+
{{#if:{{{plain|}}}|
|close
+
  |<code style="white-space:nowrap">
  |single  = <!--nothing-->
 
|open
 
|pair
 
|#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki>></nowiki>
 
 
}}{{#switch:{{{2|pair}}}
 
}}{{#switch:{{{2|pair}}}
  |open
+
  |c|close  = <!--nothing-->
|close
+
  |s|single
  |single  = <!--nothing-->
+
|o|open
  |pair
+
  |p|pair  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
  |#default = {{{content|}}}
 
 
}}{{#switch:{{{2|pair}}}
 
}}{{#switch:{{{2|pair}}}
  |open
+
  |c|close  = {{{content|}}}
  |single   = <!--nothing-->
+
  |s|single = &#32;&#47;&gt;
  |close
+
  |o|open  = &gt;{{{content|}}}
  |pair
+
  |p|pair   = &gt;{{{content|...}}}
|#default = <nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki>
 
 
}}{{#switch:{{{2|pair}}}
 
}}{{#switch:{{{2|pair}}}
  |single  = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki> /></nowiki>
+
  |s|single
}}</tt><noinclude>
+
|o|open   = <!--nothing-->
 +
|c|close
 +
|p|pair  = &lt;&#47;{{{1|tag}}}&gt;
 +
}}{{#if:{{{plain|}}}|
 +
|</code>
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:07, 13 November 2020

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