Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 12:30, 19 February 2025 by templatewiki>Rodejong (Undo revision 26495 by DanDaMiniFig (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)

{{[[Template:{{{1}}}|{{{1}}}]]}}

Documentation[view] [edit] [history] [purge]
Shortcuts

This template is used to easily link to a template, while displaying the template brackets.

Usage

{{tl|template name|subst=yes/no|code=yes/no}}

template name can be any page, using the same conventions as transclusion. Basically the "Template:" prefix is optional, and a colon is required to link the main space.

Parameters can also be added, to a maximum of 8. Note that ='s must be escaped using {{=}}.

The |subst= parameter will determine whether the template link will display as a substed template or not. If the subst parameter is set, it will display the word "subst:" in front of the template link.

Set |code= to no to disable code formatting.

Examples

  • {{tl|OS}} β†’ {{OS}}
  • {{tl|Template:Welcome|subst=yes}} β†’ {{Template:Welcome}}
  • {{tl|:Spawner/BE}} β†’ {{[[Template::Spawner/BE|:Spawner/BE]]}}
  • {{tl|move|Page to move to|Optional reason}} β†’ {{move}}
  • {{tl|uw-vandalism|Minecraft|subst=1}} β†’ {{Uw-vandalism}}

See also

[view] [edit] [history] [purge]The above documentation is transcluded from Template:Template link/doc.