Template:Template link

From ComputerCraft Wiki
Revision as of 20:28, 28 August 2015 by KnightMiner (Talk | contribs) (to make links to templates a little more consistent (as I've see both an unlinked {{delete}} and Template:Delete.) Template from Minecraft Wiki, usable under the license provided there)

(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|:Main Page}} gives:
{{ :Main Page}}

{{tl|fullurl|page|text}} gives:
{{fullurl|page|text}}