Template:T/doc: Difference between revisions
Content added Content deleted
(Match Template:Documentation/preload) |
imported>FrozenPlum m (Forgot categories (plus I need extra edits to test for 502s after disabling loops)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7:
: {{T|T|parameter1|parameter2|parameter3|parameter4|...|parameter20|8=prefix=...}}
; Sample code
: <code><nowiki>{{T|
: {{T|
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives...
: {{T|
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|param1{{=}}Item1}}</nowiki></code> gives...
: {{T|
: <code><nowiki>{{T|
: {{T|
: <code><nowiki>{{T|
: {{T|
<includeonly>
<!-- Template categories/interwikis here -->
[[Category:
[[Category:Formatting templates]]
</includeonly
|
Latest revision as of 00:00, 2 April 2022
[purge]
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information- 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}}