Template:Tl/doc: Difference between revisions

From OS-Tan Commons
Jump to navigation Jump to search
Content deleted Content added
import>Halian
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..."
 
import>Halian
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>

Revision as of 07:54, 5 December 2023

Template:Documentation subpage 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}}