Template:Tl/doc
This is a documentation subpage for Template:Tl It contains usage information, categories and other content that is not part of the original template page. |
This template is used on 10,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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{{tlx}}
displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.
Usage
edit{{tl|Template name to display}} and {{tlx|Template name to display}} -- local link, just like tl. or {{tl|1==)}} -- use 1= where the template name contains an equals sign (as [[template:=)]] does).