Template:Tl: Difference between revisions
Appearance
Created page with "<code>{{[[Template:{{{1}}}|{{{1}}}]]}}</code>" |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<code>{{[[Template:{{{1}}}|{{{1}}}]]}}</code> | <code>{{[[Template:{{{1}}}|{{{1}}}]]}}</code><noinclude> | ||
== Usage == | |||
Use {{tl|Tl}} to display and link to a template name in documentation. | |||
This template is mainly used on template pages, project pages, and other documentation pages when referring to a template without actually using it. | |||
== Basic usage == | |||
<pre> | |||
{{tl|Needs expansion}} | |||
</pre> | |||
Produces: | |||
:{{tl|Needs expansion}} | |||
== Parameters == | |||
; {{para|1}} | |||
: The name of the template to display and link to. Do not include the <code>Template:</code> namespace prefix. | |||
== Examples == | |||
<pre> | |||
{{tl|Scripture quote}} | |||
</pre> | |||
Produces: | |||
:{{tl|Scripture quote}} | |||
<pre> | |||
{{tl|Smallcaps}} | |||
</pre> | |||
Produces: | |||
:{{tl|Smallcaps}} | |||
== Notes == | |||
This template should be used for writing about a template itself, never for placing that template on an article. To actually place that template on an article, use it normally. | |||
== Categories added == | |||
:None | |||
== Template type == | |||
This template is a: | |||
:📒 Documentation template | |||
[[Category:Documentation templates]] | |||
</noinclude> | |||
Latest revision as of 19:09, 25 June 2026
{{[[Template:{{{1}}}|{{{1}}}]]}}
Usage
Use {{Tl}} to display and link to a template name in documentation.
This template is mainly used on template pages, project pages, and other documentation pages when referring to a template without actually using it.
Basic usage
{{tl|Needs expansion}}
Produces:
{{Needs expansion}}
Parameters
|1- The name of the template to display and link to. Do not include the
Template:namespace prefix.
Examples
{{tl|Scripture quote}}
Produces:
{{Scripture quote}}
{{tl|Smallcaps}}
Produces:
{{Smallcaps}}
Notes
This template should be used for writing about a template itself, never for placing that template on an article. To actually place that template on an article, use it normally.
Categories added
- None
Template type
This template is a:
- 📒 Documentation template