Template:T

From BoyWiki
Revision as of 11:19, 9 May 2013 by Etenne (talk | contribs) (New page: {{#ifeq:{{{style|}}}|code|<code>}}<nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!-- -->{{#if:{{{2|}}}||<span style="color:gray;">''<{{{2}}}>...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

BoyWiki Template documentation (for the above template, sometimes hidden or invisible)

Template:SPW

Description
A template link with a variable number of example parameters (0-20), which can be used to show example inputs.
Syntax
{{t|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parameter20>|<prefix=...>}}
Sample code
{{t|welcome}} gives...
{{welcome}}
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} gives...
{{welcome|<Item1>|<Item2>|<Item3>|<Item4>|<Item5>|<...>}}
{{t|welcome|2=param1=Item1}} gives...
{{welcome|<param1=Item1>}}
{{t|welcome|prefix=subst}} gives...
{{subst:welcome}}
{{t|welcome|style=code}} gives...
{{welcome}}
See also
Visit Template:T/doc to edit this template's description!
Done making changes?   Refresh   Also see:  Portal:Template index  and   Help:Templates