Difference between revisions of "Template:Tl/doc"

From Emulation General Wiki
Jump to navigation Jump to search
(Created page with "The '''template link''' ('''Tl''') template is a simple macro template used to display a template name as a...")
 
 
Line 1: Line 1:
 
The '''template link''' ('''Tl''') template is a simple [[wikipedia::Macro (computer science)|macro]] [[wikipedia: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.  
 
The '''template link''' ('''Tl''') template is a simple [[wikipedia::Macro (computer science)|macro]] [[wikipedia: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.  
 
Note that this template may be used under the name "tee-el" (tl) as well as "tee-one" (t1)— both function the same way and produce the same results. This is not true for all such visually confusing templates containing a possible 1/l mix-up as they are not interchangeable.
 
 
  
 
==Example==
 
==Example==

Latest revision as of 05:56, 31 March 2024

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).