Minecraft Wiki
Advertisement
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Shortcuts

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

Usage

{{tl|template name|subst=(if set to yes, y, or 1, the code will display as if it were a substituted template)}}

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

Examples

{{tl|OS}} gives:
{{OS}}

{{tl|Template:Welcome|subst=yes}} gives:
{{subst:Welcome}}

{{tl|:Commands/infobox}} gives:
{{ :Commands/infobox}}

{{tl|move|Page to move to|Optional reason}} gives:
{{move|Page to move to|Optional reason}}

{{tl|uw-vandalism|Minecraft}} gives:
{{subst:Uw-vandalism|Minecraft}}

See also

Advertisement