Toggle menu
45
232
3
1.3K
EmrysSMP Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tag: Difference between revisions

Template page
m Revert edits by EselEsel (talk)
m 1 revision imported
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{ #if: {{{nocat|}}} || {{ #ifeq: {{FULLPAGENAME}} | Template:Tag || [[Category:Pages using a raw Tag Template]] }} }}{{#if:{{{text|}}}|<sup class="{{#if:{{{print|}}}||noprint}} Inline-Template {{{class|}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
  |{{{pre-text}}}&#32;
Opening tag
  }}[[{{{link|Category:Cleanup}}}|<span title="{{#replace:{{delink|1={{{title|{{{link|Wikipedia:Cleanup}}}}}}}}"|'}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}|
-->{{#switch:{{{2|pair}}}
  |&#32;{{{post-text|}}}
  |c|close =
  }}</i>&#93;</sup>|<sup class="{{#if:{{{print|}}}||noprint}} nowrap Inline-Template {{{class|}}}" title="{{#replace:{{delink|{{{2|}}}}}|"|'}}">&#91;<i>{{{1}}}</i>&#93;</sup>}}</includeonly><noinclude>
  |s|single
{{Documentation}}
  |o|open
<!-- Put categories/interwiki on the documentation page -->
  |p|pair = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
  }}<!--
Content between tags
-->{{#switch:{{{2|pair}}}
  |c|close = {{{content|}}}
  |s|single = &#32;&#47;&gt;
  |o|open = &gt;{{{content|}}}
  |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
  }}<!--
Closing tag
-->{{#switch:{{{2|pair}}}
  |s|single
  |o|open =
  |c|close
  |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
--></code><noinclude>
{{/doc}}
</noinclude>
</noinclude>

Latest revision as of 22:19, 25 April 2025

<tag>...</tag> Template:Tag/doc