Template:T/doc

Revision as of 16:34, 13 January 2024 by OtherXAdmin (talk | contribs) (Created page with "{{Documentation}} A template link with a variable number of parameters. ===Use=== To use this for templates, use :{{T|T|<nowiki>parameter 1|parameter 2|parameter 3|...|parameter 20</nowiki>}}<!-- self-referential examples! --> To use other namespaces, use the namespace as prefix, for example :{{T|T|User:Example}} And to show transclusions of mainspace pages, use :{{T|T|:Bucket}} ===Example=== <code><nowiki>{{T|Stub}}</nowiki></code> :{{T|Stub}} <code><nowiki>{{T|Stub...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
File:Information icon-grey.svg
This is a documentation subpage for Template:T.
It contains usage information, categories, and other content that is not part of the original template page.
Template:T invokes function main in 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

{{T|User:Example}}

And to show transclusions of mainspace pages, use

{{T|:Bucket}}

Example

{{T|Stub}}

{{Stub}}

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

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