GaryJJSpate (talk | contribs) No edit summary Tag: Manual revert |
GaryJJSpate (talk | contribs) Fix stale PersonInfobox example; wrap in nowiki to prevent accidental live transclusion |
||
| (One intermediate revision by the same user not shown) | |||
| 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 < | Displays a formatted, non-executing link to another template's name — renders as <nowiki>{{X}}</nowiki> with braces, 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. | ||
| Line 7: | Line 7: | ||
'''Usage:''' | '''Usage:''' | ||
<pre> | <pre> | ||
{{Tl| | {{Tl|InfoboxPerson}} | ||
</pre> | </pre> | ||
Renders as: <code>{{ | Renders as: <code><nowiki>{{InfoboxPerson}}</nowiki></code> (as plain text with a working link, not an actual transclusion) | ||
=== Parameters === | === Parameters === | ||
Latest revision as of 12:28, 5 August 2026
Template:Tl
Displays a formatted, non-executing link to another template's name — renders as {{X}} with braces, 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|InfoboxPerson}}
Renders as: {{InfoboxPerson}} (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)
