Template:Tl/doc

From Iron Chariots Wiki
Jump to: navigation, search
Template:Tl
Purpose
This template simplifies the formatting of example template calls (i.e., to show the raw wikicode required) in non-article pages, such as Iron Chariots Wiki:Templates, when a link to the page for the template itself is desired. Use Template:T if no link is desired (for example, in "usage notes" on a template page, in which case the link is unnecessary).
Usage
  • {{tl|Template name}}
  • {{tl|Template name|parameter}}
  • {{tl|Template name|parameter1|parameter2}}
  • {{tl|Template name|parameter1|parameter2|parameter3}}
  • {{tl|Template name|parameter1|parameter2|parameter3|parameter4}}
Mnemonic
The name "tl" is short for "template link".
Examples
  1. With one (required) parameter, this template provides the same simple functionality as Wikipedia:Template:Tl, but with the monospace font formatting of Wikipedia:Template:Tlx:
    • {{tl|stub}}{{stub}}
  2. With more than one parameter (up to five, total, including the Template name), it works basically like Wikipedia:Template:Tlx, except without the sister-project or language features of that template:
    • {{tl|delete|''reason''}}{{delete|reason}}
Note
This template should never be used in articles in the main namespace.
See also
  • Template:T — version with no link on the template name
Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox