Template:T/doc: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (2 revisions imported: Importing docs from help.fandom.com for adaptation) |
imported>FrozenPlum m (Forgot categories (plus I need extra edits to test for 502s after disabling loops)) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
: {{T|T|parameter1|parameter2|parameter3|parameter4|...|parameter20|8=prefix=...}} |
: {{T|T|parameter1|parameter2|parameter3|parameter4|...|parameter20|8=prefix=...}} |
||
; Sample code |
; Sample code |
||
: <code><nowiki>{{T| |
: <code><nowiki>{{T|DPL}}</nowiki></code> gives... |
||
: {{T| |
: {{T|DPL}} |
||
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives... |
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives... |
||
: {{T| |
: {{T|DPL|Item1|Item2|Item3|Item4|Item5|...}} |
||
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|param1{{=}}Item1}}</nowiki></code> gives... |
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|param1{{=}}Item1}}</nowiki></code> gives... |
||
: {{T| |
: {{T|DPL|param1{{=}}Item1}} |
||
: <code><nowiki>{{T| |
: <code><nowiki>{{T|DPL|prefix=subst}}</nowiki></code> gives... |
||
: {{T| |
: {{T|DPL|prefix=subst}} |
||
: <code><nowiki>{{T| |
: <code><nowiki>{{T|DPL|style=code}}</nowiki></code> gives... |
||
: {{T| |
: {{T|DPL|style=code}} |
||
<includeonly> |
<includeonly> |
||
<!-- Template categories/interwikis here --> |
<!-- Template categories/interwikis here --> |
||
[[Category: |
[[Category:Templates]] |
||
[[Category:Formatting templates]] |
|||
</includeonly |
</includeonly> |
||
<!-- Documentation categories/interwikis here --> |
|||
[[Category:Template documentation]] |
|||
</noinclude> |
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}}