Template:Tlx
Jump to navigation
Jump to search
{{Tlx}}
Usage: {{Tlx|
template name|
first parameter|
...}}
Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "|
etc.", for details see below.
Documentation
{{Tlx}}
is a generalization of {{Tl|
x}}, {{Tlp|
x|
y}}, etc. with arguably better readable
output. This depends on the browser, but too narrow
uses of "{", "|", "}" in conjunction
with links can be hard to read.
Usage
{{Tlx|template name}}
{{Tlx|template name|param}}
{{Tlx|template name|1|2|3}}
{{Tlx|template name|1|2|3|more}}
{{Tlx|template name|param=value}}
Up to three placeholders for parameters of the specified template
Example
Code | Result | Remark |
---|---|---|
{{Tlx| Anchor}}
|
{{Anchor}} | |
{{Tlx| Anchor| one}}
|
{{Anchor| one}}
|
|
{{Tlx| Anchor| one| two}}
|
{{Anchor| one| two}}
|
|
{{Tlx| Anchor| 1| 2| 3}}
|
{{Anchor| 1| 2| 3}}
|
|
{{Tlx| Anchor| 1| 2| 3| 4}}
|
{{Anchor| 1| 2| 3| etc.}}
|
up to 3 parameters |
{{Tlx| Anchor| 1| 2| 3|4}}
|
{{Anchor| 1| 2| 3|4}}
|
| for more
|
{{Tlx| Anchor| x=u}}
|
{{Anchor}} | = won't work |
{{Tlx| Anchor| x=u}}
|
{{Anchor| x=u}}
|
= is okay
|
{{Tlx| Anchor| <nowiki>x=u</nowiki>}}
|
{{Anchor| x=u}}
|
sticky nowiki is okay |
{{Tlx| Anchor| | two}}
|
{{Anchor| two}}
|
empty won't work |
{{Tlx| Anchor|  | two}}
|
{{Anchor| | two}}
|
  is okay
|
{{Tlx| Anchor| | two}}
|
{{Anchor| | two}}
|
is okay
|
{{Tlx| Anchor| | two}}
|
{{Anchor| | two}}
|
| is okay
|
{{Tlx| Anchor| {{!}} two}}
|
{{Anchor| | two}}
|
{{!}} is dubious |
{{Tlx| Anchor| 2=| 3=two}}
|
{{Anchor| two}}
|
empty really doesn't work |
{{Tlx| Anchor| 2=one| two}}
|
{{Anchor| two}}
|
two clobbers 2=one |
{{Tlx| Anchor| 3=two| 2=one}}
|
{{Anchor| one| two}}
|
right to left okay |