Difference between revisions of "Template:Tag"

From D&D 5e
Jump to: navigation, search
m (adding categories)
m (44 revisions imported: Export Template:Quote from mediawiki.org)
 
(36 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<includeonly>
+
{{#if:{{{plain|}}}|
<div style="position:fixed; width=20000; height=2000; left:15%; top:40%; overflow:visible;">
+
|<code style="white-space:nowrap">
{| align="center" cellpadding="0" cellspacing="5" padding="10px" style="margin:25px; text-align:center; font-size:375%;"
+
}}{{#switch:{{{2|pair}}}
|<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>
+
|c|close = <!--nothing-->
|}
+
|s|single
</div>
+
|o|open
<div style="position:fixed; width=20000; height=2000; left:10%; top:90%; overflow:visible;">
+
|p|pair  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
{| align="center" cellpadding="0" cellspacing="2" padding="10px" style="background: white;  margin:25px; text-align:center; font-size:175%;"
+
}}{{#switch:{{{2|pair}}}
|<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>
+
|c|close  = {{{content|}}}
|}
+
  |s|single = &#32;&#47;&gt;
</div>
+
|o|open  = &gt;{{{content|}}}
</includeonly>
+
|p|pair  = &gt;{{{content|...}}}
 
+
}}{{#switch:{{{2|pair}}}
----
+
|s|single
 
+
|o|open  = <!--nothing-->
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.
+
|c|close
 
+
|p|pair  = &lt;&#47;{{{1|tag}}}&gt;
<pre>{{tag}}
+
}}{{#if:{{{plain|}}}|
# {{tag|ref}}
+
|</code>
# {{tag|ref|hello}}</pre>
+
}}<noinclude>
 
+
{{documentation}}
# {{tag}}
+
</noinclude>
# {{tag|ref}}
 
# {{tag|ref|hello}}
 
 
 
See also: {{tl|tag1}}.
 
 
 
[[Category:Wikipedia formatting templates|{{PAGENAME}}]]
 

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]