Template:Tl/doc: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{void|{{doc/start}}
{{doc/start}}
{{tsh|Tlx|Tc|Tlc|T}}
This template returns an exemplaric use of a template while linking to the template description page, if the template exists.
This template returns an exemplaric use of a template while linking to the template description page, if the template exists.


Line 27: Line 28:
* [[Template:Tlx]]
* [[Template:Tlx]]


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

Latest revision as of 10:30, 20 December 2019

This is a documentation subpage for Template:Tl.
It contains usage information, categories and other content that is not part of the original template page.

This template returns an exemplaric use of a template while linking to the template description page, if the template exists.

Usage[]

{{tl|<Template name>}}
{{tl|<Template name>|<Template parameters>}}
unnamed parameter 1
Template name (without Template: prefix)
unnamed parameter 2 - 9
Optional. Template parameters
nl
Optional flag to display an un-linked template usage.

Parameters with “=”[]

Use {{=}} instead of a normal equality symbol when using Tl.

Examples[]

{{tl|stub}} returns {{stub}}
{{tl|stub|1}} returns {{stub|1}}
{{tl|stub|1|2|nl=y}} returns {{stub|1|2}}
{{tl|see|page|t1{{=}}alt text}} returns {{see|page|t1=alt text}}

See also[]