Template:Tl/doc: Difference between revisions

From OS-Tan Collections Wiki
< Template:Tl
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|Example}}</nowiki>
::<nowiki>{{tl|Mbox}}</nowiki>
:which generates
:which generates
::{{tl|Example}}
::{{tl|Mbox}}


<includeonly>{{Sandbox other||
<includeonly>
<!-- Categories go below this line! -->
<!-- Categories go below this line! -->
[[Category:Template]]
[[Category:Template]]
}}</includeonly>
</includeonly>

Latest revision as of 02:54, 5 December 2023

An OS-tan that actually reads the manual‽
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}}