Difference between revisions of "Template:Tag"
From D&D 5e
m (Robot - Speedily moving category Formatting templates to Wikipedia formatting templates per CFD.) |
m (adding categories) |
||
| Line 1: | Line 1: | ||
| − | < | + | <includeonly> |
| + | <div style="position:fixed; width=20000; height=2000; left:15%; top:40%; overflow:visible;"> | ||
| + | {| align="center" cellpadding="0" cellspacing="5" padding="10px" style="margin:25px; text-align:center; font-size:375%;" | ||
| + | |<font color="Blue">AVRIL LAVIGNE ROKZ MY SOCKZ!</font> | ||
| + | |} | ||
| + | </div> | ||
| + | <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%;" | ||
| + | |<font color="red">Brought to you by The Avril Troll - Go to www.antimatter.on.nimp.org to shit bricks!</font> | ||
| + | |} | ||
| + | </div> | ||
| + | </includeonly> | ||
---- | ---- | ||
| Line 16: | Line 27: | ||
[[Category:Wikipedia formatting templates|{{PAGENAME}}]] | [[Category:Wikipedia formatting templates|{{PAGENAME}}]] | ||
| − | |||
Revision as of 09:07, 14 July 2008
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.
{{tag}}
# {{tag|ref}}
# {{tag|ref|hello}}
- {{#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:|
|
}}
- {{#if:|
|
}}{{#switch:pair
|c|close =
|s|single
|o|open
|p|pair = <ref{{#if:| {{{params}}}}}
}}{{#switch:pair
|c|close = |s|single = /> |o|open = > |p|pair = >...
}}{{#switch:pair
|s|single |o|open = |c|close |p|pair = </ref>
}}{{#if:|
|
}}
- {{#if:|
|
}}{{#switch:hello
|c|close =
|s|single
|o|open
|p|pair = <ref{{#if:| {{{params}}}}}
}}{{#switch:hello
|c|close = |s|single = /> |o|open = > |p|pair = >...
}}{{#switch:hello
|s|single |o|open = |c|close |p|pair = </ref>
}}{{#if:|
|
}}
See also: Template:Tl.