Difference between revisions of "Template:T/doc"
Jump to navigation
Jump to search
m (1 revision: Full import of Wikia (that might sting a bit)) |
(updated format and category links) |
||
Line 1: | Line 1: | ||
− | + | ==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|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} | ||
+ | |||
+ | ==Samples== | ||
+ | <code><nowiki>{{t|welcome}}</nowiki></code> results in... | ||
+ | |||
+ | {{t|welcome}} | ||
+ | |||
+ | |||
+ | <code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> results in... | ||
+ | |||
+ | {{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} | ||
+ | |||
+ | ==See Also== | ||
+ | * [http://wowwiki.wikia.com/wiki/Template:T WoWWiki Template:T] | ||
+ | * [[Template:T/piece]] | ||
+ | |||
+ | <includeonly>[[Category:Templates]][[Category:Template Utility]]</includeonly> | ||
+ | <noinclude>[[Category:Template Documentation]]</noinclude> |
Revision as of 04:35, 3 October 2015
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|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parameter20>}}
Samples
{{t|welcome}}
results in...
{{welcome}}
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}
results in...
{{welcome|<Item1>|<Item2>|<Item3>|<Item4>|<Item5>|<...>}}