Template:Template link/doc

From ComputerCraft Wiki
Revision as of 20:37, 28 August 2015 by KnightMiner (Talk | contribs) (Created page with "This template is used to easily link to a template, while displaying the template brackets. == Usage == <code>{{<nowiki/>tl|''template name''}}</code> ''template name'' can...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Usage

{{tl|template name}}

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 4. Note that ='s must be escaped using {{=}}

Examples

{{tl|Example}} gives:
{{Example}}

{{tl|Template:Block}} gives:
{{Block}}

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

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