Difference between revisions of "Template:Tl"
Sarna News
- Crashing 'Mechs With Jennifer Brozek, Author Of The Rogue Academy Trilogy
- Getting The Word Out With Rem Alternis, Catalyst Community & Marketing Director
- Bad 'Mechs - Yeoman
- Your BattleTech News Round-Up For February, 2024
- Keeping BattleTech Consistent - An Interview Eric Salzman, Fact-Check Director At CGL
- Read more →
Line 1: | Line 1: | ||
− | + | {{[[{{ns:Template}}:{{{1|Tl}}}|{{{1|Tl}}}]]{{#if:{{{2|}}}|<tt>|</tt>{{{2}}}}}{{#if:{{{3|}}}|<tt>|</tt>{{{3}}}}}{{#if:{{{4|}}}|<tt>|</tt>{{{4}}}}}{{#if:{{{5|}}}|<tt>|</tt>''etc.''}}}}<noinclude> | |
+ | {{Template:Tl/doc}} | ||
+ | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
+ | </noinclude> |
Revision as of 14:54, 6 December 2006
{{Tl}}
Usage
- {{Tl|template name|first parameter|…}}
- Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "|etc.".
Example
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 |