This template is a copy of {{tlb}} except that it uses a non-proportional, monospaced font instead of normal text:
Code | Result | Remark |
---|---|---|
{{tlxb|Template name}} | {{Template name}} | |
{{tlxb|Template name|parameter1|parameter2}} | {{Template name|parameter1|parameter2}} | |
{{tlxb|Template name|parm1|parm2{{=}}foo}} | {{Template name|parm1|parm2=foo}} | Equal signs need to be escaped using {{=}} . |
{{tlxb}} | {{[[Templat:Tlxb|]]}} | This actually substitutes the current page name. Useful as a self-reference; won't be linked. |
{{tlxb|SISTER=m:|3x}} | {{3x}} | Link to page on another wiki. |
I.e., it's a {{tl}}-style template-link tag that boldfaces the template name, and accepts parameters. It's main use is in distinguishing between multiple templates with similar names, in documentation, talk page discussions, etc.
The rest of the documentation is for {{tlx}}, which works the same way (although it doesn't currently behave sanely when no parameters are given; use {{tlu}} instead).
This '{{Tlx' template documentation is transcluded for all Tlx family templates (Tlx, Tlxc, Tlxw, Tlxb) [edit].Masterpage
Mnemonically 'Template link expanded'. After {{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.{{Tlxb}} is a generalization of {{Tl}}, {{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 10 placeholders for parameters of the specified template
Code | Result | Remark |
---|---|---|
{{Tlx|x0 | {{x0 | |
{{Tlx|Abc | {{Abc | |
{{Tlx|ABC | {{ABC | |
{{Tlx|AbC | {{AbC | |
{{Tlx|x1|one | {{x1|one | |
{{Tlx|x2|one|two | {{x2|one|two | |
{{Tlx|x3|1|2|3|4|5|6|7 | {{x3|1|2|3|4|5|6|7|8 | |
{{Tlx|x4|1|2|3|4|5|6|7 | {{x4|1|2|3|4|5|6|7|8 | up to 10 parameters, then ... |
{{Tlx|x5|1|2|3|4|5|6|7 | {{x5|1|2|3|4|5|6|7|8 | | for more |
{{Tlx|convert| | unlimited parameters as one nowiki string | |
{{Tlx|x1|x=u | {{x1 | = won't work |
{{Tlx|x1|x=u | {{x1|x=u | = is okay |
{{Tlx|x1|x{{=}}u | {{x1|x=u | {{=}} is okay |
{{Tlx|x1| | {{x1|x=u | sticky nowiki is okay |
{{Tlx|x2| |two | {{x2|two | empty won't work |
{{Tlx|x2| |two | {{x2| |two | is okay |
{{Tlx|x2| |two | {{x2| |two | is okay |
{{Tlx|x2| | two | {{x2| | two | | is okay |
{{Tlx|x2| {{!}} two | {{x2| | two | {{! is dubious |
{{Tlx|x2|2=|3=two | {{x2|two | empty really doesn't work |
{{Tlx|x2|2=one|two | {{x2|two | two clobbers 2=one |
{{Tlx|x2|3=two|2=one | {{x2|one|two | right to left okay |
Templat:Navbar-header
Link Style | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text Style | {{tlg option | -- | | | | |
Normal | -- | {{tl, {{tlp; {{tlg | {{tlf | {{tls, {{tlsp | {{tn | {{tla |
Teletype | | {{tlx | {{tld, {{tnull | {{tlxs | ||
Bold | | {{tlb | ||||
Bold Teletype | | {{tlxb | ||||
Italic Teletype | | {{tlxi | ||||
Code | | {{tlc |
Style comparison:
{{Milford Haven Line|弘安源氏論議}}
For parameter description,
|name=value
The above documentation is transcluded from Template:Tlx/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |