Template:T/doc: Difference between revisions
Jump to navigation
Jump to search
(Add/update source.) |
m (+Salem home link.) |
||
Line 10: | Line 10: | ||
:{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} | :{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} | ||
;Source: | ;Source: | ||
:[https://salemthegame.wiki/page/Template:T/piece Template:T/piece] on salemthegame.wiki | :[https://salemthegame.wiki/page/Template:T/piece Template:T/piece] on [https://salemthegame.wiki/ salemthegame.wiki] | ||
<includeonly>[[Category:General wiki 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 15:50, 12 July 2021
- 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|...}}
- Source
- Template:T/piece on salemthegame.wiki