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 |
||
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 [http://templates.fandom.com Templates wiki] see the [http://templates.fandom.com/index.php?title=Template:T&action=history list of authors]. Copied here via CC-By-SA 3.0 license. | ||
:{{t| | ;Example | ||
:{{t|t|param1|param2}} | |||
<includeonly>[[Category:General wiki templates]]</includeonly> | |||
<noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 09:10, 12 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 see the list of authors. Copied here via CC-By-SA 3.0 license.
- Example
- {{t|<param1>|<param2>}}