Jump to content

Template:Tl/doc: Difference between revisions

From Ferret Software Wiki
m 1 revision imported: PS to FS migration
Gorasuhl (talk | contribs)
m format
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
* {{tlx|tl|cleanup}} generates {{tl|cleanup}}
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:tlx]]
* [[Template:Ml]]
* [[Template:Mlx]]
* [[Template:Tlx]]
 
== References ==
<references/>


{{doc/end}}
{{doc/end}}

Latest revision as of 15:34, 17 June 2025

Documentation

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

  1. 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 of 1.


Examples

Normal usage

{{tl|cleanup}} produces: {{cleanup}}

With additional parameters

{{tl|doc/start|baddoc=1}} produces: {{doc/start}}


See also

References

  1. Wikipedia - Template:Template_link. Retrieved 17 June 2025