Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,327
edits
(Created page with "{{Documentation}} This template converts all provided template params and template values into key/value pairs, which it then passes through as a single json-style string: <pre>{{$|param1=value|foo=bar|example=great}}</pre> {{$|param1=value|foo=bar|example=great}} ==Example== As an example, imagine a "Template:BigTable" which calls an associated "Module:BigTable": <syntaxhighlight> {{BigTable |{{$|metal1=bronze|metal2=iron|metal3=steel}} |{{$|metal1=mithril|metal2=ad...") |
No edit summary Tag: Reverted |
||
Line 1:
{{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 mw.pages, use
:{{T|T|:Bucket}}
===Example===▼
<code><nowiki>{{T|Stub}}</nowiki></code>
:{{T|Stub}}
<code><nowiki>{{T|Stub|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code>
▲==Example==
:{{T|Stub|Item1|Item2|Item3|Item4|Item5|...}}
<includeonly>[[Category:Formatting templates|{{PAGENAME}}]]</includeonly>
|