Template:Tag: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
m (adding categories)
m (56 revisions imported from templatewiki:Template:Tag)
 
(48 intermediate revisions by 16 users not shown)
Line 1: Line 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
<includeonly>
Opening tag
<div style="position:fixed; width=20000; height=2000; left:15%; top:40%; overflow:visible;">
-->{{#switch:{{{2|pair}}}
{| align="center" cellpadding="0" cellspacing="5" padding="10px" style="margin:25px; text-align:center; font-size:375%;"
|c|close =
|<font color="Blue">&#65;&#86;&#82;&#73;&#76;&#32;&#76;&#65;&#86;&#73;&#71;&#78;&#69;&#32;&#82;&#79;&#75;&#90;&#32;&#77;&#89;&#32;&#83;&#79;&#67;&#75;&#90;&#33;</font>
|e|empty|s|single|v|void
|}
|o|open
</div>
|p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
<div style="position:fixed; width=20000; height=2000; left:10%; top:90%; overflow:visible;">
}}<!--
{| align="center" cellpadding="0" cellspacing="2" padding="10px" style="background: white; margin:25px; text-align:center; font-size:175%;"
Content between tags
|<font color="red">&#66;&#114;&#111;&#117;&#103;&#104;&#116;&#32;&#116;&#111;&#32;&#121;&#111;&#117;&#32;&#98;&#121;&#32;&#84;&#104;&#101;&#32;&#65;&#118;&#114;&#105;&#108;&#32;&#84;&#114;&#111;&#108;&#108; - Go to www.&#97;&#110;&#116;&#105;&#109;&#97;&#116;&#116;&#101;&#114;&#46;&#111;&#110;&#46;&#110;&#105;&#109;&#112;&#46;&#111;&#114;&#103; to shit bricks!</font>
-->{{#switch:{{{2|pair}}}
|}
|c|close = {{{content|}}}
</div>
|e|empty|s|single|v|void = &#32;&#47;&gt;
</includeonly>
|o|open = &gt;{{{content|}}}

|p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
----
}}<!--

Closing tag
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.
-->{{#switch:{{{2|pair}}}

|e|empty|s|single|v|void
<pre>{{tag}}
|o|open =
# {{tag|ref}}
|c|close
# {{tag|ref|hello}}</pre>
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}

}}<!--
# {{tag}}
--></code><noinclude>
# {{tag|ref}}
# {{tag|ref|hello}}
{{Documentation}}
</noinclude>

See also: {{tl|tag1}}.

[[Category:Wikipedia formatting templates|{{PAGENAME}}]]

Latest revision as of 18:06, 6 September 2020

<tag>...</tag>