Difference between revisions of "Template:T2"

From JRiverWiki
Jump to: navigation, search
m (If this is meant for showing sample code it might aswell have <code> tags)
 
m (1 revision)
 
(No difference)

Latest revision as of 00:41, 11 April 2014

{{[[Template:{{{1}}}|{{{1}}}]]}}

Template documentation (for the above template, sometimes hidden or invisible)[Edit] [Refresh]
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 (<>).
Dependencies
  • None.
Syntax
{{t2|parameter1|parameter2|parameter3|parameter4|...|parameter20|prefix=...}}
Sample code
{{t2|welcome}} gives...
{{welcome}}
{{t2|welcome|Item1|Item2|Item3|Item4|Item5|...}} gives...
{{welcome|Item1|Item2|Item3|Item4|Item5|...}}
{{t2|welcome|2=param1=Item1}} gives...
{{welcome|param1=Item1}}
{{t2|welcome|prefix=subst}} gives...
{{subst:welcome}}
See also
  • {{t}}
  • {{s}}
Visit Template:T2/doc to change this text! (How does this work?)
Done making changes? Refresh this text! (Why?)