Template:Tag
From D&D 5e
Revision as of 08:32, 14 July 2008 by imported>Addict to the Wiki (talk) (Undid revision 225622013 by Sjuerges (talk) template vandalism)
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.