Template:T2: Difference between revisions

36 bytes removed ,  22 May 2020
m
no edit summary
(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:
;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 '&lt;&gt;'. See also {{t2|t}}.
: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 (<tt>&lt;&gt;</tt>).
 
;Dependencies
*None.
;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}}
;See also
*{{t2|t}}


----
----
Line 41: Line 37:
-->{{#if:{{{20|}}}|&#124;<span style="color:#999;">{{{20}}}</span>}}<!--
-->{{#if:{{{20|}}}|&#124;<span style="color:#999;">{{{20}}}</span>}}<!--
-->{{#if:{{{21|}}}|&#124;<span style="color:#999;">{{{21}}}</span>}}<!--
-->{{#if:{{{21|}}}|&#124;<span style="color:#999;">{{{21}}}</span>}}<!--
--><nowiki>}}</nowiki></onlyinclude>
--><nowiki>}}</nowiki></onlyinclude><!--
[[Category:General wiki templates|{{PAGENAME}}]]
 
-->[[Category:General wiki templates|{{PAGENAME}}]]