Difference between revisions of "Template:Tlx/doc"
From eRepublik Official Wiki
(red link removal) |
(red link removal) |
||
Line 1: | Line 1: | ||
− | + | <noinclude>{{Documentation subpage}}</noinclude> | |
− | + | ||
− | + | ||
This template is used to show example template usage without expanding the template itself. | This template is used to show example template usage without expanding the template itself. | ||
== Purpose and naming == | == Purpose and naming == | ||
− | [[Wikt:mnemonic|Mnemonically]], "['''t''']emplate ['''l''']ink e['''x''']panded" (after {{tl|tl}}, "['''t''']emplate ['''l''']ink"). | + | [[:Wikt:mnemonic|Mnemonically]], "['''t''']emplate ['''l''']ink e['''x''']panded" (after {{tl|tl}}, "['''t''']emplate ['''l''']ink"). |
This template allows an example of calling a template, accompanied by one or more parameters<!-- ("pass parameters", i.e. [[Help:Pipe trick|pipe-tricked]] [[m:Parameter#Parameters|parameters]])-->, to be displayed without also causing the template to be called. | This template allows an example of calling a template, accompanied by one or more parameters<!-- ("pass parameters", i.e. [[Help:Pipe trick|pipe-tricked]] [[m:Parameter#Parameters|parameters]])-->, to be displayed without also causing the template to be called. | ||
Line 24: | Line 22: | ||
== See also == | == See also == | ||
− | * {{tl|para}}, for the presentation of template parameters and values (e.g. {{para|paraname|val}}, {{para|another}}) | + | * {{tl|para}}, for the presentation of template parameters and values (e.g. {{para|paraname|val}}, {{para|another}}) |
− | + | ||
− | + | ||
− | + |
Latest revision as of 05:24, 13 May 2017
This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:Tlx.
To view the Template page itself, see Template:Tlx.
This template is used to show example template usage without expanding the template itself.
Purpose and naming
Mnemonically, "[t]emplate [l]ink e[x]panded" (after {{tl}}, "[t]emplate [l]ink").
This template allows an example of calling a template, accompanied by one or more parameters, to be displayed without also causing the template to be called.
Up to ten of the template's parameters (numbered or nowiki-keywords) may be displayed as placeholders, while more than over 10 parameters can be displayed using a coded vertical-bar.
Documentation
{{Tlx}} is a generalization of {{tl|x}}, with output that is arguably more legible.
Usage
{{tlx|Templatename}}
{{tlx|Templatename|param}}
{{tlx|Templatename|1|2|3|4|5|6|7|8|9|10}}
{{tlx|Templatename|1|2|3|4|5|6|7|8|9|10|more}}
{{tlx|Templatename|param=value}}
There are up to 10 placeholders for parameters of the specified template.
See also
- {{para}}, for the presentation of template parameters and values (e.g.
|paraname=val
,|another=
)