Template:Template link: Difference between revisions

m (1 revision)
(No difference)

Revision as of 23:08, 25 January 2014

This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information
Shortcut
tl

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|OS}} gives:
{{OS}}

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

{{tl|:Commands/infobox}} gives:
{{[[Template::Commands/infobox|:Commands/infobox]]}}

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

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis