Template:Template link: Difference between revisions
From Vintage Story Wiki
(Created page with "<code>{{[[Template:{{{1}}}|{{{1}}}]]}}</code> <noinclude> {{doc}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> {{Tl|Infobox}} </noinclude>") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<code>{{[[Template:{{{1}}}|{{{1}}}]]}}</code> | <code>{{[[Template:{{{1}}}|{{{1}}}]]}}</code><noinclude> | ||
<noinclude> | |||
{{doc}} | {{doc}} | ||
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> | <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> | ||
{{Tl|Infobox}} | {{Tl|Infobox}} | ||
</noinclude> | </noinclude> |
Revision as of 12:06, 5 August 2022
{{[[Template:{{{1}}}|{{{1}}}]]}}
[view | edit | history | purge this page]Documentation
Shortcut
This template is used to easily link to a template, while displaying the template brackets.
Usage
{{tl}}
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
[view | edit | history | purge this page]The above documentation is transcluded from Template:Template link/doc.
{{Infobox}}