Difference between revisions of "Template:T/doc"
Jump to navigation
Jump to search
m (re-cat) |
(Changed category.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
==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 example parameters (0-20), which can be used to show example inputs. | ||
Line 21: | Line 22: | ||
* [[Template:T/piece]] | * [[Template:T/piece]] | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Formatting templates]]</includeonly> |
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 20:28, 10 February 2021
Description[edit]
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[edit]
{{t|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parameter20>}}
Samples[edit]
{{t|welcome}}
results in...
{{welcome}}
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}
results in...
{{welcome|<Item1>|<Item2>|<Item3>|<Item4>|<Item5>|<...>}}