Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Description
A template link with a variable number of example parameters (unlimited), which can be used to show example inputs. See Global Lua Modules/T for full documentation.
Syntax
{{t|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parametern>|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...
{{welcome}}
{{t|welcome|style=code}} gives...
{{welcome}}
The above text is transcluded from Template:T/doc (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create) page.
Community content is available under CC-BY-SA unless otherwise noted.