Difference between revisions of "Template:Tag"

From Remorra
Jump to: navigation, search
en>Gadget850
(tt → code)
m (43 revisions imported)
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
+
{{#if:{{{plain|}}}|
|close
+
  |<code style="white-space:nowrap">
  |single  = <!--nothing-->
 
|open
 
|pair
 
|#default = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}&gt;
 
 
}}{{#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 = &lt;&#47;{{{1|tag}}}&gt;
 
 
}}{{#switch:{{{2|pair}}}
 
}}{{#switch:{{{2|pair}}}
  |single  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}&#47;&gt;
+
  |s|single
}}</code><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 07:55, 18 April 2019

<tag>...</tag> {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}