Template:Tl
UsageEdit
- {{Tl|template name|first parameter|…}}
- Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "|etc.".
ExampleEdit
Code | Result | Remark |
---|---|---|
{{Tl|x0}} | {{x0}} | |
{{Tl|x1|one}} | {{x1|one}} | |
{{Tl|x2|one|two}} | {{x2|one|two}} | |
{{Tl|x3|1|2|3}} | {{x3|1|2|3}} | |
{{Tl|x4|1|2|3|4}} | {{x4|1|2|3|etc.}} | up to 3 parameters |
{{Tl|x4|1|2|3|4}} | {{x4|1|2|3|4}} | | for more |
{{Tl|x1|x=u}} | {{x1}} | = won't work |
{{Tl|x1|x=u}} | {{x1|x=u}} | = is okay |
{{Tl|x1|<nowiki>x=u</nowiki>}} | {{x1|x=u}} | sticky nowiki is okay |
{{Tl|x2| |two}} | {{x2|two}} | empty won't work |
{{Tl|x2| |two}} | {{x2| |two}} |   is okay |
{{Tl|x2| |two}} | {{x2| |two}} | is okay |
{{Tl|x2| | two}} | {{x2| | two}} | | is okay |
{{Tl|x2| {{!}} two}} | {{x2| | two}} | {{!}} is dubious |
{{Tl|x2|2=|3=two}} | {{x2|two}} | empty really doesn't work |
{{Tl|x2|2=one|two}} | {{x2|two}} | two clobbers 2=one |
{{Tl|x2|3=two|2=one}} | {{x2|one|two}} | right to left okay |