Kentsmith9 (talk | contribs) m (Fixed doc) |
Kentsmith9 (talk | contribs) m (typo) |
||
Line 33: | Line 33: | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Typing-aid templates|{{PAGENAME}}]] | [[Category:Typing-aid templates|{{PAGENAME}}]] | ||
[[Category:Internal link templates|{{PAGENAME}}] | [[Category:Internal link templates|{{PAGENAME}}]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Revision as of 04:14, 15 May 2017
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
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
{{tlx}}
displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.
Usage
{{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).
See also
- {{tlx}}