Template:Template link

From Parallel Wiki
Revision as of 07:35, 24 October 2023 by Diamondback88 (talk | contribs) (1 revision imported: Imported from minecraft.wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[view] [edit] [history] [⧼smw purge⧽]Documentation
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|OS}}{{OS}}
  • {{tl|Template:Welcome|subst=yes}}{{subst:Welcome}}
  • {{tl|:Spawner/BE}}{{ :Spawner/BE}}
  • {{tl|move|Page to move to|Optional reason}}{{move|Page to move to|Optional reason}}
  • {{tl|uw-vandalism|Minecraft|subst=1}}{{subst:Uw-vandalism|Minecraft}}

See also

de:Vorlage:Vorlage es:Plantilla:Template link fr:Modèle:M ja:テンプレート:Template link ko:틀:Tl nl:Sjabloon:Sjabloon link pl:Szablon:Tl pt:Predefinição:Link para predefinição ru:Шаблон:ШаблонСсылка tr:Şablon:Şablon Bağlantısı uk:Шаблон:Шаблон-посилання zh:Template:Template link

[view] [edit] [history] [⧼smw purge⧽]The above documentation is transcluded from Template:Template link/doc.