Template:T
From Iron Chariots Wiki
(Difference between revisions)
(template begun, based on Template:Tl) |
(damnit... revert back to pre-character template version -- didn't work) |
||
| (8 intermediate revisions by one user not shown) | |||
| Line 3: | Line 3: | ||
test={{{3|}}}|then=|{{{3}}}|else=}}{{if| | test={{{3|}}}|then=|{{{3}}}|else=}}{{if| | ||
test={{{4|}}}|then=|{{{4}}}|else=}}{{if| | test={{{4|}}}|then=|{{{4}}}|else=}}{{if| | ||
| − | test={{{5|}}}|then=|{{{5}}}|else=}}<nowiki>}}</nowiki></tt><noinclude> | + | test={{{5|}}}|then=|{{{5}}}|else=}}<nowiki>}}</nowiki></tt><noinclude>{{doc}} |
| − | + | [[Category:Templates|T]] | |
| − | + | [[Category:Inline templates|T]] | |
| − | + | [[Category:Wikicode templates|T]] | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | [[Category: | + | |
</noinclude> | </noinclude> | ||
Latest revision as of 15:50, 8 August 2008
{{{{{1}}}}}
| The documentation for this template is transcluded from Template:T/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 display the raw wikicode required) in non-article pages, such as on template pages themselves (to show examples of usage). Use Template:Tl if you want the template name to be linked to the page for the template itself (e.g., when used on non-template pages).
- Note
- This template should never be used in articles in the main namespace.
- Usage
- {{t|Template name}}
- {{t|Template name|parameter}}
- {{t|Template name|parameter1|parameter2}}
- {{t|Template name|parameter1|parameter2|parameter3}}
- {{t|Template name|parameter1|parameter2|parameter3|parameter4}}
- Mnemonic
- The name "t" is short for "template".
- Examples
- With one (required) parameter, this template provides the same simple functionality as Wikipedia:Template:Tl, but without the link, and with the monospace font formatting of Wikipedia:Template:Tlx:
- {{t|stub}} → {{stub}}
- With more than one parameter (up to five, total, including the Template name), it works basically like Wikipedia:Template:Tlx, except again, without the link and also without the sister-project or language features (see that template for details):
- {{t|delete|''reason''}} → {{delete|reason}}
- See also
- Template:Tl — version that links the template name