Template:Tl
From Iron Chariots Wiki
{{[[Template:{{{1}}}|{{{1}}}]]}}
The documentation for this template is transcluded from Template:Tl/doc. Please edit that page if you want to change something in the documentation. Do not edit this page unless you know what you're doing. |
- 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
- 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}}
- 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