Difference between revisions of "Template:Tag"

From D&D 5e
Jump to: navigation, search
 
Line 3: Line 3:
 
----
 
----
  
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.</noinclude>
+
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.
 +
 
 +
<pre># {{tag|ref}}
 +
# {{tag|ref|hello}}</pre>
 +
 
 +
# {{tag|ref}}
 +
# {{tag|ref|hello}}
 +
 
 +
</noinclude>

Revision as of 03:44, 2 October 2006

<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|ref}}
# {{tag|ref|hello}}
  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:|

|

}}