Template:T/doc

From Modding Haven
Revision as of 22:42, 13 August 2023 by Admin (talk | contribs) (Created page with ";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}} ;Sample code :<code><nowiki>{{t|welcome}}</nowiki></code> gives... :{{t|welcome}} :<code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives... :{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} <includeonly>Catego...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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>|<...>}}