49
edits
(Created page with ";Description :A template link with a variable number of example parameters (0-20), which can be used to show example inputs, but not italicized or surrounded by angle brackets (<…") |
mNo edit summary |
||
| Line 1: | Line 1: | ||
A template link with a variable number of example parameters (0-20), which can be used to show example inputs, but not italicized or surrounded by angle brackets '<>'. See also {{t2|t}}. | |||
;Syntax | ;Syntax | ||
:{{t2|t2|parameter1|parameter2|parameter3|parameter4|...|parameter20|8=prefix=...}} | :{{t2|t2|parameter1|parameter2|parameter3|parameter4|...|parameter20|8=prefix=...}} | ||
;Sample code | ;Sample code | ||
:<code><nowiki>{{t2|welcome}}</nowiki></code> gives... | :<code><nowiki>{{t2|welcome}}</nowiki></code> gives... | ||
| Line 14: | Line 13: | ||
:<code><nowiki>{{t2|welcome|prefix=subst}}</nowiki></code> gives... | :<code><nowiki>{{t2|welcome|prefix=subst}}</nowiki></code> gives... | ||
:{{t2|welcome|prefix=subst}} | :{{t2|welcome|prefix=subst}} | ||
---- | ---- | ||
| Line 41: | Line 37: | ||
-->{{#if:{{{20|}}}||<span style="color:#999;">{{{20}}}</span>}}<!-- | -->{{#if:{{{20|}}}||<span style="color:#999;">{{{20}}}</span>}}<!-- | ||
-->{{#if:{{{21|}}}||<span style="color:#999;">{{{21}}}</span>}}<!-- | -->{{#if:{{{21|}}}||<span style="color:#999;">{{{21}}}</span>}}<!-- | ||
--><nowiki>}}</nowiki></onlyinclude> | --><nowiki>}}</nowiki></onlyinclude><!-- | ||
[[Category:General wiki templates|{{PAGENAME}}]] | |||
-->[[Category:General wiki templates|{{PAGENAME}}]] | |||