Difference between revisions of "Template:Tl"

From Emulation General Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}''...''}}<nowiki>}}</nowiki...")
 
m
 
Line 1: Line 1:
 
<includeonly><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|&#124;{{{2}}}}}{{#if:{{{3|}}}|&#124;{{{3}}}}}{{#if:{{{4|}}}|&#124;{{{4}}}''...''}}<nowiki>}}</nowiki></includeonly><noinclude>{{Documentation}}</noinclude>
 
<includeonly><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|&#124;{{{2}}}}}{{#if:{{{3|}}}|&#124;{{{3}}}}}{{#if:{{{4|}}}|&#124;{{{4}}}''...''}}<nowiki>}}</nowiki></includeonly><noinclude>{{Documentation}}</noinclude>
 +
[[Category:General wiki templates]]

Latest revision as of 02:06, 30 January 2024

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Tl/doc to edit this documentation. (How does this work?)

Contents

The template link (Tl) 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.

Example[edit]

A short example of its use is:

{{tl|Example}}
which generates
{{Example}}
This page uses Creative Commons Licensed content from Wikipedia (view authors).