Template:T/doc: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (Text replacement - "Category:General wiki templates" to "Category:templates")
 
m (Reverted edits by Ricky (talk) to last revision by Default)
Line 12: Line 12:
:[[w:c:wow:Template:T|Template:T]] on WoWWiki
:[[w:c:wow:Template:T|Template:T]] on WoWWiki


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

Revision as of 00:23, 4 February 2017

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