Template:Tl
(try this fix) |
(polishing; now using {t}) |
||
| Line 4: | Line 4: | ||
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> | ||
| + | |||
| + | ==Purpose== | ||
| + | |||
| + | This template simplifies the formatting of example template calls when a link to the page for the template itself is desired. Use [[Template:T]] if no link is desired. | ||
| + | |||
| + | This template should only be used in ''non-article pages'' such as [[Iron Chariots Wiki:Templates]] or [[:Category:Pages for deletion]], '''never in articles'''. | ||
| + | |||
| + | Note that the name "tl" is short for "template link". | ||
==Usage== | ==Usage== | ||
| − | |||
| − | |||
| − | With more than one parameter (up to five, total), it works basically like [[Wikipedia:Template: | + | 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]]: |
| − | * | + | * {{t|tl|wikipedia}} → {{tl|wikipedia}} |
| − | * | + | |
| − | * | + | With more than one parameter (up to five, total), it works basically like [[Wikipedia:Template:Tlx]], except without the sister-project or language features (see [[Wikipedia:Template:Tlx|that template]] for details): |
| + | * {{t|tl|wikipedia|''Article title''}} → {{tl|wikipedia|''Article title''}} | ||
| + | * {{t|tl|wikipedia|''Article title''|''Display title''}} → {{tl|wikipedia|''Article title''|''Display title''}} | ||
| + | * {{t|tl|wikipedia|List of apologetic works|Apologetic works}} → {{tl|wikipedia|List of apologetic works|Apologetic works}} | ||
| + | |||
| + | ==See also== | ||
| + | * [[Template:T]] — no-link version | ||
[[Category:Informational templates]] | [[Category:Informational templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 14:45, 9 October 2007
{{[[Template:{{{1}}}|{{{1}}}]]}}
Purpose
This template simplifies the formatting of example template calls when a link to the page for the template itself is desired. Use Template:T if no link is desired.
This template should only be used in non-article pages such as Iron Chariots Wiki:Templates or Category:Pages for deletion, never in articles.
Note that the name "tl" is short for "template link".
Usage
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|wikipedia}} → {{wikipedia}}
With more than one parameter (up to five, total), it works basically like Wikipedia:Template:Tlx, except without the sister-project or language features (see that template for details):
- {{tl|wikipedia|Article title}} → {{wikipedia|Article title}}
- {{tl|wikipedia|Article title|Display title}} → {{wikipedia|Article title|Display title}}
- {{tl|wikipedia|List of apologetic works|Apologetic works}} → {{wikipedia|List of apologetic works|Apologetic works}}
See also
- Template:T — no-link version