Template:Tl/doc: Difference between revisions
(+TR) |
imported>FrozenPlum m (8 revisions imported: Imported from help.fandom.com, Extension:DPL3 pages, which are for the obsolete version of DPL3 extension for MediaWiki 1.33, to adapt to forked (newer) extension version.) |
(No difference)
|
Revision as of 01:11, 29 March 2022
Template:Doc/start 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}}