Template:Tl/doc

From Festipedia, hosted by the FR Heritage Group
Jump to navigation Jump to search


The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation. A short example is that the code:

{{tl|example}}
generates
{{example}}

More complex variations are described below.

Related templates[edit source]

{{tlx}} displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.

Usage[edit source]

 {{Tl|template name to display}}
or
 {{tl|1==)}} -- use 1= where the template name contains an equals sign (as [[template:=)]] does).