Template:T/Documentation: Difference between revisions

Template page
w:c:strategywiki>Skizzerz
(documentation)
 
m (5 revisions imported: Imported from https://strategywiki.org/)
 
(4 intermediate revisions by 3 users not shown)
Line 16: Line 16:
*<code><nowiki>{{t|Header Nav|2=game=Game name}}</nowiki></code> → {{t|Header Nav|2=game=Game name}}
*<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:}}
*<code><nowiki>{{t|PokémonInfobox|SISTER=bulbapedia:}}</nowiki></code> → {{t|PokémonInfobox|SISTER=bulbapedia:}}
<noinclude>[[Category:Template documentation|T]]</noinclude>

Latest revision as of 18:29, 28 October 2023

High-risk
High-risk

This high-risk template or image has been protected indefinitely. It is widely used and is at significant risk of vandalism. If you would like to edit this page, bring it up on the talk page, contact a sysop, or bring it up on Discord. Protection is not an endorsement of the current version, which is inevitably the wrong version.

This template allows one to link to another template, specifying parameters if supplied.

Usage[edit source]

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}}