Template:Tl: Difference between revisions
Jump to navigation
Jump to search
(link name added) |
(docs excluded) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{[[Template:{{{1}}}|{{{2|{{{1}}}}}}]]}}<noinclude> | {{[[Template:{{{1}}}|{{{2|{{{1}}}}}}]]}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 23:06, 18 December 2015
{{[[Template:{{{1}}}|{{{1}}}]]}}
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.
Usage
A short example is:
{{Tl|Purge}}
- which generates
- {{Purge}}
TemplateData for Tl
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 |
See also
- {{C}} - creates a link to a category
The above documentation is transcluded from Template:Tl/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |