Difference between revisions of "Template:Tag"

From D&D 5e
Jump to: navigation, search
(category)
Line 13: Line 13:
 
# {{tag|ref|hello}}
 
# {{tag|ref|hello}}
  
[[Category:Wikipedia special effects templates]]</noinclude>
+
 
 +
[[Category:Formatting templates]]
 +
</noinclude>

Revision as of 07:13, 16 February 2007

<tag></tag>


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}}
  1. {{#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:|

|

}}

  1. {{#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:|

|

}}

  1. {{#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:|

|

}}