Template:T/doc: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
imported>Default
m (7 revisions)
imported>Default
(New page: ;Description :A template link with a variable number of parameters (0-20). ;Syntax :{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} <includeonly>[[Category:General wik...)
Line 1: Line 1:
;Description
;Description
:A template link with a variable number of example parameters (0-20), which can be used to show example inputs.
:A template link with a variable number of parameters (0-20).
:Utilises [[Template:T/piece]].
;Syntax
;Syntax
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}}
:{{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|...}}
;See also
:[[w:c:wow:Template:T|Template:T]] on WoWWiki


<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly>

Revision as of 12:30, 13 June 2015

Description
A template link with a variable number of parameters (0-20).
Syntax
{{t}}