Difference between revisions of "T/doc"
From ACES
< Template:T
(https://dontstarve.fandom.com/wiki/Template:T/doc) |
|||
Line 9: | Line 9: | ||
:<code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives... | :<code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives... | ||
:{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} | :{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 16:38, 15 September 2021
- 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>}}
- Sample code
{{t|welcome}}
gives...- {{welcome}}
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}
gives...- {{welcome|Item1|Item2|Item3|Item4|<Item5>|<...>}}