Difference between revisions of "Template:Tag"

From Remorra
Jump to: navigation, search
en>Anomie
(Not that I see the point of substing this, but let's make it not dump parser functions all over the place when it is.)
m (43 revisions imported)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<code style="white-space:nowrap;">{{{{{|safesubst:}}}#switch:{{{2|pair}}}
+
{{#if:{{{plain|}}}|
 +
|<code style="white-space:nowrap">
 +
}}{{#switch:{{{2|pair}}}
 
  |c|close  = <!--nothing-->
 
  |c|close  = <!--nothing-->
 
  |s|single
 
  |s|single
 
  |o|open
 
  |o|open
  |p|pair  = &lt;{{{1|tag}}}{{{{{|safesubst:}}}#if:{{{params|}}}|&#32;{{{params}}}}}
+
  |p|pair  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
}}{{{{{|safesubst:}}}#switch:{{{2|pair}}}
+
}}{{#switch:{{{2|pair}}}
 
  |c|close  = {{{content|}}}
 
  |c|close  = {{{content|}}}
 
  |s|single = &#32;&#47;&gt;
 
  |s|single = &#32;&#47;&gt;
 
  |o|open  = &gt;{{{content|}}}
 
  |o|open  = &gt;{{{content|}}}
 
  |p|pair  = &gt;{{{content|...}}}
 
  |p|pair  = &gt;{{{content|...}}}
}}{{{{{|safesubst:}}}#switch:{{{2|pair}}}
+
}}{{#switch:{{{2|pair}}}
 
  |s|single
 
  |s|single
 
  |o|open  = <!--nothing-->
 
  |o|open  = <!--nothing-->
 
  |c|close
 
  |c|close
 
  |p|pair  = &lt;&#47;{{{1|tag}}}&gt;
 
  |p|pair  = &lt;&#47;{{{1|tag}}}&gt;
}}</code><noinclude>
+
}}{{#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}}}}}}