More actions
minecraft>Delvin4519 →See also: generally no reason to delete links to other lang wikis |
m 1 revision imported |
||
(No difference)
|
Latest revision as of 14:13, 11 October 2024
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
{{TemplateCode}}
{{parameter}}
cs:Šablona:Template link/doc
de:Vorlage:Vorlage/Dokumentation
es:Plantilla:Enlace plantilla/doc
fr:Modèle:M/doc
it:Template:Tl/doc
ja:テンプレート:Template link/doc
ko:틀:틀 링크/doc
lzh:模板:Template link/doc
nl:Sjabloon:Sjabloon link/doc
pl:Szablon:Template link/opis
pt:Predefinição:Link para predefinição/doc
ru:Шаблон:Ссылка на шаблон/док
th:แม่แบบ:Template link/doc
tr:Şablon:Şablon Bağlantısı/Doküman
uk:Шаблон:Шаблон-посилання/док
zh:Template:Template link/doc