Difference between revisions of "Template:T/doc"
Jump to navigation
Jump to search
m |
m (Added cat) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | A template link with a variable number of parameters. | + | A template link with a variable number of parameters. Named parameters cannot be ordered in the way it is typed and maybe shuffled. |
===Use=== | ===Use=== | ||
Line 7: | Line 7: | ||
:{{T|T|User:Example}} | :{{T|T|User:Example}} | ||
And to show transclusions of mainspace pages, use | And to show transclusions of mainspace pages, use | ||
− | :{{T|T|: | + | :{{T|T|:Feather}} |
===Example=== | ===Example=== | ||
Line 15: | Line 15: | ||
<code><nowiki>{{T|Cleanup}}</nowiki></code> | <code><nowiki>{{T|Cleanup}}</nowiki></code> | ||
:{{T|Cleanup}} | :{{T|Cleanup}} | ||
+ | <includeonly>[[Category:Template]]</includeonly> |
Latest revision as of 16:18, 10 February 2022
A template link with a variable number of parameters. Named parameters cannot be ordered in the way it is typed and maybe shuffled.
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|:Feather}}
Example
{{T|Stub}}
{{Stub}}
{{T|Cleanup}}
{{Cleanup}}