GaryJJSpate (talk | contribs) No edit summary |
GaryJJSpate (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly><code>{{'''[[Template:{{{1}}}|{{{1}}}]]'''}}</code></includeonly><noinclude> | <includeonly><code>{{'''[[Template:{{{1}}}|{{{1}}}]]'''}}</code></includeonly><noinclude> | ||
== Template:Tl == | == Template:Tl == | ||
Displays a formatted, non-executing link to another template's name — renders as <code>{{ | Displays a formatted, non-executing link to another template's name — for example, writing <code><nowiki>{{tl|PersonInfobox}}</nowiki></code> renders as <code>{{PersonInfobox}}</code>, styled as code and linking through to that template's own page. Used throughout Vault Templates documentation to reference other templates by name without transcluding them. | ||
For showing a full example call with parameters (not just the bare name), use {{tl|Tlx}} instead. | For showing a full example call with parameters (not just the bare name), use {{tl|Tlx}} instead. | ||
Revision as of 02:57, 22 July 2026
Template:Tl
Displays a formatted, non-executing link to another template's name — for example, writing {{tl|PersonInfobox}} renders as
{{{name}}}
, styled as code and linking through to that template's own page. Used throughout Vault Templates documentation to reference other templates by name without transcluding them.
For showing a full example call with parameters (not just the bare name), use {{Tlx}} instead.
Usage:
{{Tl|PersonInfobox}}
Renders as:
{{{name}}}
(as plain text with a working link, not an actual transclusion)
Parameters
- 1 — required. The template name to display and link to (without the
Template:prefix)