Template:T/doc: Difference between revisions
Content added Content deleted
(Copied from w:c:templates:Template:T) |
(Match Template:Documentation/preload) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
|||
<!-- Documentation here --> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
:{{t|welcome}} |
|||
:<code><nowiki>{{ |
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder}}</nowiki></code> gives... |
||
: {{T|Gamepedia Help Wiki:Placeholder}} |
|||
⚫ | |||
:<code><nowiki>{{ |
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives... |
||
⚫ | |||
:{{t|welcome|2=param1=Item1}} |
|||
:<code><nowiki>{{ |
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|param1{{=}}Item1}}</nowiki></code> gives... |
||
: {{T|Gamepedia Help Wiki:Placeholder|param1{{=}}Item1}} |
|||
:{{t|welcome|prefix=subst}} |
|||
:<code><nowiki>{{ |
: <code><nowiki>{{T|Gamepedia Help Wiki:Placeholder|prefix=subst}}</nowiki></code> gives... |
||
: {{T|Gamepedia Help Wiki:Placeholder|prefix=subst}} |
|||
:{{t|welcome|style=code}} |
|||
⚫ | |||
;See also |
|||
: {{T|Gamepedia Help Wiki:Placeholder|style=code}} |
|||
: {{t|t2}} |
|||
: {{t|s}} |
|||
<includeonly> |
|||
⚫ | |||
<!-- Template categories/interwikis here --> |
|||
⚫ | |||
</includeonly><noinclude> |
|||
<!-- Documentation categories/interwikis here --> |
|||
[[Category:Template documentation]] |
|||
</noinclude> |
Revision as of 02:36, 12 May 2021
[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|Gamepedia Help Wiki:Placeholder}}
gives...- {{Gamepedia Help Wiki:Placeholder}}
{{T|Gamepedia Help Wiki:Placeholder|Item1|Item2|Item3|Item4|Item5|...}}
gives...- {{Gamepedia Help Wiki:Placeholder|Item1|Item2|Item3|Item4|Item5|...}}
{{T|Gamepedia Help Wiki:Placeholder|param1{{=}}Item1}}
gives...- {{Gamepedia Help Wiki:Placeholder|param1=Item1}}
{{T|Gamepedia Help Wiki:Placeholder|prefix=subst}}
gives...- {{subst: Gamepedia Help Wiki:Placeholder}}
{{T|Gamepedia Help Wiki:Placeholder|style=code}}
gives...{{Gamepedia Help Wiki:Placeholder}}