Difference between revisions of "Template:T"
From Hgames Wiki
m |
m (Protected "Template:T": High-use template ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
Line 1: | Line 1: | ||
− | <nowiki>{{</nowiki>[[Template:{{{1}}} | + | <onlyinclude><nowiki>{{</nowiki>[[{{#ifeq:{{#sub:{{{1}}}|0|1}}|:|{{#sub:{{{1}}}|1}}{{!}}{{{1}}}|Template:{{{1}}}{{!}}{{{1}}}}}]]{{t/piece|{{{2|---}}}}}{{t/piece|{{{3|---}}}}}{{t/piece|{{{4|---}}}}}{{t/piece|{{{5|---}}}}}{{t/piece|{{{6|---}}}}}{{t/piece|{{{7|---}}}}}{{t/piece|{{{8|---}}}}}{{t/piece|{{{9|---}}}}}{{t/piece|{{{10|---}}}}}{{t/piece|{{{11|---}}}}}{{t/piece|{{{12|---}}}}}{{t/piece|{{{13|---}}}}}{{t/piece|{{{14|---}}}}}{{t/piece|{{{15|---}}}}}{{t/piece|{{{16|---}}}}}{{t/piece|{{{17|---}}}}}{{t/piece|{{{18|---}}}}}{{t/piece|{{{19|---}}}}}{{t/piece|{{{20|---}}}}}{{t/piece|{{{21|---}}}}}<nowiki>}}</nowiki></onlyinclude> |
+ | [[Category:General wiki templates|Template link]]<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Revision as of 12:55, 8 April 2013
{{[[Template:{{{1}}}|{{{1}}}]]}}
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- A template link with a variable number of example parameters (0-20), which can be used to show example inputs.
- Utilises Template:T/piece.
- Syntax
- {{t}}
- Sample code
{{t|welcome}}
gives...- {{welcome}}
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}
gives...- {{welcome}}
- See also
- Template:T on WoWWiki
Visit Template:T/doc to edit this text! (How does this work?)