Difference between revisions of "Template:Template link/doc"
From ComputerCraft Wiki
KnightMiner (Talk | contribs) (Created page with "This template is used to easily link to a template, while displaying the template brackets. == Usage == <code>{{<nowiki/>tl|''template name''}}</code> ''template name'' can...") |
Magiczocker (Talk | contribs) m |
||
(One intermediate revision by one other user not shown) | |||
Line 16: | Line 16: | ||
{{tl|Template:Block}} | {{tl|Template:Block}} | ||
− | <code><nowiki>{{tl|: | + | <code><nowiki>{{tl|:Main Page}}</nowiki></code> gives:<br> |
− | {{tl|: | + | {{tl|:Main Page}} |
− | <code><nowiki>{{tl| | + | <code><nowiki>{{tl|fullurl|page|text}}</nowiki></code> gives:<br> |
− | {{tl| | + | {{tl|fullurl|page|text}} |
+ | <noinclude>[[Category:Documentation pages]]</noinclude> |
Latest revision as of 07:51, 4 August 2020
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|Example}}
gives:
{{Example}}
{{tl|Template:Block}}
gives:
{{Block}}
{{tl|:Main Page}}
gives:
{{
:Main Page}}
{{tl|fullurl|page|text}}
gives:
{{fullurl|page|text}}