(KiObqcozrpEBvN) |
w:c:strategywiki>Procyon m (Reverted edits by 69.163.96.22 (talk) to last revision by NajBot) |
||
Line 1: | Line 1: | ||
{{High-risk}} | |||
This template allows one to link to another template, specifying parameters if supplied. | |||
== Usage == | |||
'''Parameters''' | |||
* 1 (first unnamed parameter) = The template to link to | |||
* 2 - 11 (second through eleventh unnamed parameters) = Extra parameters to display. If you wish to use an equals sign in these, you ''must'' specify the explicit parameter name (see examples below) | |||
* 12 (twelfth unnamed parameter) = Put any value for this to make an ellipses appear. | |||
* LANG and SISTER = Putting anything here allows you to modify the prefix of the link. Supposed to be used to link to interlanguage templates or templates on sister wikis, but pretty much anything can be used here. | |||
'''Examples''' | |||
*<code><nowiki>{{t|Header Nav}}</nowiki></code> → {{t|Header Nav}} | |||
*<code><nowiki>{{t|Delete|Some reason here}}</nowiki></code> → {{t|Delete|Some reason here}} | |||
*<code><nowiki>{{t|User|User name|Alt text}}</nowiki></code> → {{t|User|User name|Alt text}} | |||
*<code><nowiki>{{t|Header Nav|2=game=Game name}}</nowiki></code> → {{t|Header Nav|2=game=Game name}} | |||
*<code><nowiki>{{t|PokémonInfobox|SISTER=bulbapedia:}}</nowiki></code> → {{t|PokémonInfobox|SISTER=bulbapedia:}} | |||
<noinclude>[[Category:Template documentation|T]]</noinclude> |
Revision as of 20:49, 23 January 2012
This template allows one to link to another template, specifying parameters if supplied.
Usage
Parameters
- 1 (first unnamed parameter) = The template to link to
- 2 - 11 (second through eleventh unnamed parameters) = Extra parameters to display. If you wish to use an equals sign in these, you must specify the explicit parameter name (see examples below)
- 12 (twelfth unnamed parameter) = Put any value for this to make an ellipses appear.
- LANG and SISTER = Putting anything here allows you to modify the prefix of the link. Supposed to be used to link to interlanguage templates or templates on sister wikis, but pretty much anything can be used here.
Examples
{{t|Header Nav}}
→ {{Header Nav}}{{t|Delete|Some reason here}}
→ {{Delete|Some reason here}}{{t|User|User name|Alt text}}
→ {{User|User name|Alt text}}{{t|Header Nav|2=game=Game name}}
→ {{Header Nav|game=Game name}}{{t|PokémonInfobox|SISTER=bulbapedia:}}
→ {{PokémonInfobox}}