This '{{tlx}}' template documentation is transcluded for all Tlx family templates (Tlx, Tlxc, Tlxm, Tlxw) [edit].Masterpage
Similar templates on Wikimedia sister projects edit |
---|
{{tlx|template|first parameter|second|third|...}} → {{template|first parameter|second|third|fourth|...}}
Purpose and naming: Mnemonically 'Template list expanded'... after {{tl}} Template list'
'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.{{Tlx}} is a generalization of Format:Tlxw, Format:Tlxw, 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.
Code | Result | Remark |
---|---|---|
{{tlx|x0}} | {{x0}} | |
{{tlx|x1|one}} | {{x1|one}} | |
{{tlx|x2|one|two}} | {{x2|one|two}} | |
{{tlx|x3|1|2|3}} | {{x3|1|2|3}} | |
{{tlx|x4|1|2|3|4}} | {{x4|1|2|3|4}} | up to 5 parameters, then ... |
{{tlx|x4|1|2|3|4}} | {{x4|1|2|3|4}} | | for more |
{{tlx|x1|x=u}} | {{x1}} | = won't work |
{{tlx|x1|x=u}} | {{x1|x=u}} | = is okay |
{{tlx|x1|<nowiki>x=u</nowiki>}} | {{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 |