Template:T: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (1 revision imported) |
imported>FrozenPlum m (Forgot to add main cat) |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
| |<var style="padding: 0 0.2em; color: gray;">{{{19}}}</var> }}{{ #if: {{{20|}}} |
| |<var style="padding: 0 0.2em; color: gray;">{{{19}}}</var> }}{{ #if: {{{20|}}} |
||
| |<var style="padding: 0 0.2em; color: gray;">{{{20}}}</var> }}{{ #if: {{{21|}}} |
| |<var style="padding: 0 0.2em; color: gray;">{{{20}}}</var> }}{{ #if: {{{21|}}} |
||
| |<var style="padding: 0 0.2em; color: gray;">{{{21}}}</var> }}<nowiki>}}</nowiki>{{ #if: {{{style|}}} | </code> }}<noinclude>{{documentation}} |
| |<var style="padding: 0 0.2em; color: gray;">{{{21}}}</var> }}<nowiki>}}</nowiki>{{ #if: {{{style|}}} | </code> }}<noinclude>{{documentation}} |
||
[[Category:Link templates]] |
|||
[[Category:Templates]]</noinclude> |
Latest revision as of 23:16, 29 March 2022
{{[[Template:{{{1}}}|{{{1}}}]]}}
- Description
- A template link with a variable number of example parameters (0–20), which can be used to show example inputs.
- Syntax
- {{T|parameter1|parameter2|parameter3|parameter4|...|parameter20|prefix=...}}
- Sample code
{{T|DPL}}
gives...- {{DPL}}
{{T|Gamepedia Help Wiki:Placeholder|Item1|Item2|Item3|Item4|Item5|...}}
gives...- {{DPL|Item1|Item2|Item3|Item4|Item5|...}}
{{T|Gamepedia Help Wiki:Placeholder|param1{{=}}Item1}}
gives...- {{DPL|param1=Item1}}
{{T|DPL|prefix=subst}}
gives...- {{subst: DPL}}
{{T|DPL|style=code}}
gives...{{DPL}}
[view | edit | purge]The above documentation is transcluded from Template:T/doc.