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…')
 
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!}}

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!}}