Template:Tl/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- Categories go where indicated at the bottom of this page --> 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== A short example of its use is: ::<nowiki>{{tl|Exam...") |
m (doc tweak) |
||
Line 6: | Line 6: | ||
A short example of its use is: | A short example of its use is: | ||
::<nowiki>{{tl| | ::<nowiki>{{tl|Mbox}}</nowiki> | ||
:which generates | :which generates | ||
::{{tl| | ::{{tl|Mbox}} | ||
<includeonly> | <includeonly> | ||
<!-- Categories go below this line! --> | <!-- Categories go below this line! --> | ||
[[Category:Template]] | [[Category:Template]] | ||
</includeonly> |
Latest revision as of 01:54, 5 December 2023
This is a documentation subpage for Template:Tl. It may contain usage information, categories, and other content that is not part of the original template page. |
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
A short example of its use is:
- {{tl|Mbox}}
- which generates
- {{Mbox}}