Template:Tl/doc: Difference between revisions
m 1 revision imported: PS to FS migration |
expanded documentation and added attribution |
||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
This Template is a modified version of <code>Wikipedia - Template:Template_link (Rev.: 20 August 2006)</code><ref>[https://en.wikipedia.org/w/index.php?title=Template:Template_link&oldid=70748322 Wikipedia - Template:Template_link]. Retrieved 17 June 2025</ref> | |||
This template is used to display (and link) another template without actually using it. If parameters should be displayed as well, use {{tl|tlx}} instead. | |||
Tl is short for <code>Template link</code>. | |||
== Usage == | |||
To use place {{tlx|tl|template}} on the page. | |||
=== Parameters === | |||
{| class="wikitable" | |||
! colspan=2 | Parameter<ref group="note">Placeholders refer to the names used in the syntax above. For documentation purposes positioned parameters often have a pseudo name instead of their number to improve readabilty, e.g. <code>template</code> instead of <code>1</code>.</ref> | |||
! rowspan=2 | Data Type | |||
! rowspan=2 | Status | |||
! rowspan=2 | Default Value | |||
! rowspan=2 | Description | |||
|- | |||
! Position or name | |||
! Placeholder | |||
|- | |||
| <code>1</code> | |||
| <code>template</code> | |||
| Required | |||
| String | |||
| style="text-align: center"| - | |||
| Name of the template that should be displayed. | |||
|} | |||
==== Notes ==== | |||
<references group="note"/> | |||
== Examples == | |||
=== Normal usage === | |||
{{tlx|tl|cleanup}} produces: {{tl|cleanup}} | |||
=== With additional parameters === | |||
{{tlx|tl|doc/start|baddoc=1}} produces: {{tl|doc/start|baddoc=1}} | |||
== See also == | == See also == | ||
* [[Template: | * [[Template:Ml]] | ||
* [[Template:Mlx]] | |||
* [[Template:Tlx]] | |||
== References == | |||
<references/> | |||
{{doc/end}} | {{doc/end}} |
Revision as of 09:53, 17 June 2025
This Template is a modified version of Wikipedia - Template:Template_link (Rev.: 20 August 2006)
[1]
This template is used to display (and link) another template without actually using it. If parameters should be displayed as well, use {{tlx}}
instead.
Tl is short for Template link
.
Usage
To use place {{tl|template}}
on the page.
Parameters
Parameter[note 1] | Data Type | Status | Default Value | Description | |
---|---|---|---|---|---|
Position or name | Placeholder | ||||
1
|
template
|
Required | String | - | Name of the template that should be displayed. |
Notes
- ↑ Placeholders refer to the names used in the syntax above. For documentation purposes positioned parameters often have a pseudo name instead of their number to improve readabilty, e.g.
template
instead of1
.
Examples
Normal usage
{{tl|cleanup}}
produces: {{cleanup}}
With additional parameters
{{tl|doc/start}}
produces: {{doc/start}}
See also
References
- ↑ Wikipedia - Template:Template_link. Retrieved 17 June 2025