Template:Template link/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude>{{docsub}}</noinclude> <div id="shortcut" style="float:right;margin-top:-10px;"> {| class="wikitable" style="text-align:center" |- | <small>Shortcut</small><hr />'''<nowiki>{{</nowiki>tl<nowiki>}}</nowiki>''' |}</div> == Description == The '''template link''' template is a simple macro template used to display a template name as a link surrounded by braces, thus showing the template name as cod...") |
No edit summary |
||
Line 6: | Line 6: | ||
|}</div> | |}</div> | ||
== Description == | == Description == | ||
The '''template link''' template is a simple | The '''template link''' template is a simple {{wp|Macro (computer science)|macro}} {{wp|:Help:template|template}} used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a template by name without invoking it. | ||
==Examples== | ==Examples== | ||
* <code><nowiki>{{</nowiki>tl|''Example''}}</code> → {{tl|Example}} | * <code><nowiki>{{</nowiki>tl|''Example''}}</code> → {{tl|Example}} |
Latest revision as of 02:43, 6 January 2025
This is a documentation subpage for Template:Template link. It may contain usage information, categories and other content that is not part of the original template page. |
Shortcut {{tl}} |
Description
The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a template by name without invoking it.
Examples
{{tl|Example}}
→ {{Example}}