Difference between revisions of "Template:Tag"

From D&D 5e
Jump to: navigation, search
(fix)
m (44 revisions imported: Export Template:Quote from mediawiki.org)
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<tt>{{#switch:{{{3|pair}}
+
{{#if:{{{plain|}}}|
  |close
+
|<code style="white-space:nowrap">
  |single  = <!--nothing-->
+
}}{{#switch:{{{2|pair}}}
  |open
+
  |c|close  = <!--nothing-->
  |pair
+
  |s|single
  |#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki>></nowiki>
+
  |o|open
}}{{#switch:{{{3|pair}}}
+
  |p|pair  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
  |open
+
}}{{#switch:{{{2|pair}}}
  |close
+
  |c|close = {{{content|}}}
  |single   =
+
  |s|single = &#32;&#47;&gt;
  |pair
+
  |o|open  = &gt;{{{content|}}}
  |#default = {{{2|}}}
+
  |p|pair  = &gt;{{{content|...}}}
}}{{#switch:{{{3|pair}}}
+
}}{{#switch:{{{2|pair}}}
  |open
+
  |s|single
  |single   = <!--nothing-->
+
  |o|open   = <!--nothing-->
  |close
+
  |c|close
  |pair
+
  |p|pair   = &lt;&#47;{{{1|tag}}}&gt;
|#default = <nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki>
+
}}{{#if:{{{plain|}}}|
}}{{#switch:{{{3|pair}}}
+
  |</code>
  |single  = <nowiki></</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki> /></nowiki>
+
}}<noinclude>
}}</tt><noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:40, 28 January 2018

{{#if:|

|

}}{{#switch:pair

|c|close  = 
|s|single
|o|open
|p|pair   = <tag{{#if:| {{{params}}}}}

}}{{#switch:pair

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

}}{{#switch:pair

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

}}{{#if:|

|

}}

50px Template documentation[create]