Difference between revisions of "Template:Tx"

From Elite Wiki
(Created page with '<onlyinclude><code>{{((}}{{{1}}}|{{{2}}}{{))}}</code></onlyinclude> This template is used to format examples of template use, including parameters. Vertical bars between paramet…')
 
m (Protected "Template:Tx": Structural template, potentially high-use. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
   
 
Examples:
 
Examples:
* <code><nowiki>{{tx|rsrcIcon|C}}</nowiki></code> gives {{tx|rsrcIcon|C}}
+
* <code><nowiki>{{tx|tn|tx}}</nowiki></code> gives {{tx|tn|tx}}
* <code><nowiki>{{tx|island{{!}}108{{!}}Mbabane{{!}}city{{=}}991}}</nowiki></code> gives {{tx|island|108{{!}}Mbabane{{!}}city{{=}}991}}
+
* <code><nowiki>{{tx|deleteme|evil invaders!}}</nowiki></code> gives {{tx|deleteme|evil invaders!}}

Latest revision as of 14:54, 4 April 2010

{{{{{1}}}|{{{2}}}}}

This template is used to format examples of template use, including parameters. Vertical bars between parameters (|) must be escaped as {{!}}, and equals signs (=) must be encoded as {{=}}.

Examples:

  • {{tx|tn|tx}} gives {{tn|tx}}
  • {{tx|deleteme|evil invaders!}} gives {{deleteme|evil invaders!}}