{{[[Template:{{{1}}}|{{{1}}}]]}}
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:
{{tl|NewContent}}
- which generates
- {{NewContent}}
TemplateData
This template displays 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
template name | 1 | the template name without the namespace prefix “Template:”, which is added automatically | Line | required |
Examples
Code | Result | Notes |
---|---|---|
{{tl|NewContent}}
|
{{NewContent}} | Standard usage |
{{tl|1=NewContent)}}
|
{{NewContent}} | Use the format {{tl|1=templatename}} if the template contains template coding characters such as {{tl|1==)}}
|
See also
{{Tlx}}
The above documentation is transcluded from Template:Tl/doc. (edit | history)