Template:T/doc: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Default
mNo edit summary
>Default
mNo edit summary
Line 1: Line 1:
;Description
;Description
:A template link with a variable number of parameters (0-20). Utilises [[Template:T/piece]].
: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
;Syntax
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}}
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}}

Revision as of 20:46, 26 May 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>}}
Sample code
{{t|welcome}} gives...
{{welcome}}
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} gives...
{{welcome|<Item1>|<Item2>|<Item3>|<Item4>|<Item5>|<...>}}
See also
Template:T on WoWWiki