}' template documentation is transcluded for all Tlx family templates (Tlx, Tlxc, Tlxm, Tlxw) .Masterpage
{{Tlx|Template|first parameter|second|third|fourth|...|eight|ninth|tenth|eleventh}}
→ {{Template|first parameter|second|third|fourth|fifth|sixth|seventh|eight|ninth|tenth|…}}
{{Tl}}
Template link'.
, for example: {{Anytemplate|arg1=23|size=250px|other parameters...}}
. If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with ...
.
'template name' ({{{1}}}),
it presents the same as the similar {{Tl}} macro template -- a blue link nested in curly-braces-- the same as a user would apply the template without parameters, but with a noticably clearer font and spacing on most modern browsers.
{{Tl|Tl}}
display compared to {{Tlx|Tl}}
: (Tl: {{Tl}}
)
{{Tl}}
will not take or display additional parameters, and for minor technical reasons, may be preferred for mere listing and referencing in long pages involving a lot of template expansions.
{{Tlx}}
has a named parameter subst. Setting this parameter to any string of length 1 or greater will place the string "subst:" before the template name, linked to Help:Substitution. This is useful to indicate when a template should be substituted. For example {{Tlx|Welcome|subst=Y}}
will display {{subst:Welcome}}
.
{{Tlxw}}
and {{Tlxm}}
are typing-aid templates available at Meta for automatic substitution in discussions about templates on Wikipedia or Meta.
{{Tlxc}} -- which links to templates on Wiki Commons (The Commons).
{{Tlxm}} -- which links to templates on Meta
{{Tlxw}} -- which links to templates on Wikipedia
{{Tlx}}
is a generalization of{{Tlp}}, etcetera with arguably better readable output. This depends on the browser, but too narrow uses of "{", "|", "}" in conjunction with links can be hard to read.
Up to three placeholders for parameters of the specified template
Code | Result | Remark |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| up to 5 parameters, then ... |
|
| | for more |
|
| = won't work |
|
| = is okay |
|
| {{=}} is okay |
|
| sticky nowiki is okay |
|
| empty won't work |
|
| is okay |
|
| is okay |
|
| | is okay |
|
|
|
|
| empty really doesn't work |
|
| two clobbers 2=one |
|
| right to left okay |
Similar templates on Wiki sister projects |
---|
The above documentation is transcluded from ފަންވަތް:Tlx/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |