FANDOM


m
m (Replacing page with '<includeonly>{{#invoke:T|main}}</includeonly><noinclude>{{/doc}}</noinclude>')
 
(22 intermediate revisions by 13 users not shown)
Line 1: Line 1:
A template link with a variable number of parameters (0-20).
+
<includeonly>{{#invoke:T|main}}</includeonly><noinclude>{{/doc}}</noinclude>
 
Use:
 
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} <!-- self-referential examples! -->
 
 
Example:
 
<code><nowiki>{{t|stub}}</nowiki></code>
 
:{{t|stub}}
 
 
<code><nowiki>{{t|stub|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code>
 
:{{t|stub|Item1|Item2|Item3|Item4|Item5|...}}
 
 
Template:
 
:<onlyinclude><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{t/piece|{{{2|---}}}}}{{t/piece|{{{3|---}}}}}{{t/piece|{{{4|---}}}}}{{t/piece|{{{5|---}}}}}{{t/piece|{{{6|---}}}}}{{t/piece|{{{7|---}}}}}{{t/piece|{{{8|---}}}}}{{t/piece|{{{9|---}}}}}{{t/piece|{{{10|---}}}}}{{t/piece|{{{11|---}}}}}{{t/piece|{{{12|---}}}}}{{t/piece|{{{13|---}}}}}{{t/piece|{{{14|---}}}}}{{t/piece|{{{15|---}}}}}{{t/piece|{{{16|---}}}}}{{t/piece|{{{17|---}}}}}{{t/piece|{{{18|---}}}}}{{t/piece|{{{19|---}}}}}{{t/piece|{{{20|---}}}}}{{t/piece|{{{21|---}}}}}<nowiki>}}</nowiki></onlyinclude>
 

Latest revision as of 22:39, August 4, 2015

Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:T/doc.
Template:T invokes Module:T using Lua.

A template link with a variable number of parameters.

Use

To use this for templates, use

{{T|parameter 1|parameter 2|parameter 3|...|parameter 20}}

To use other namespaces, use the namespace as prefix, for example

{{User:Example}}

And to show transclusions of mainspace pages, use

{{:Bucket}}

Example

{{T|Stub}}

{{Stub}}

{{T|Stub|Item1|Item2|Item3|Item4|Item5|...}}

{{Stub|Item1|Item2|Item3|Item4|Item5|...}}
Community content is available under CC-BY-SA unless otherwise noted.