Template:Template link/doc

From Aether Project Wiki
Jump to navigation Jump to search
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=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|Stub}}{{Stub}}
  • {{Tl|Template:Stub|subst=yes}}{{subst:Stub}}
  • {{Tl|:Ambrosium Shard}}{{ :Ambrosium Shard}}
  • {{Tl|Move|Page to move to|Optional reason}}{{Move|Page to move to|Optional reason}}
  • {{Tl|Stub|Minecraft|subst=1}}{{subst:Stub|Minecraft}}