Template:T/doc: Difference between revisions
Jump to navigation
Jump to search
Verdite cat (talk | contribs) Created page with "{{doc/start}} ;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|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 als..." |
Verdite cat (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
;Description | ;Description | ||
A template link with a variable number of parameters (0-20). | |||
;Syntax | ;Syntax | ||
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} | :{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} <!-- self-referential examples! --> | ||
; | |||
: | ;Source | ||
:Improved version not needing t/piece subtemplate developed on Templates wiki. Copied here via CC-By-SA 3.0 license. | |||
: | |||
;Example | |||
:{{t|t|param1|param2}} | |||
<includeonly>[[Category:General wiki templates]]</includeonly> | |||
<noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 04:16, 14 September 2024
- Description
A template link with a variable number of parameters (0-20).
- Syntax
- {{t|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parameter20>}}
- Source
- Improved version not needing t/piece subtemplate developed on Templates wiki. Copied here via CC-By-SA 3.0 license.
- Example
- {{t|<param1>|<param2>}}