Template:Party/Single/doc
< Template:Party | Single
{{Party/Single}} is used to display detailed info on a trainer's party and Pokémon for a battle with a single Trainer. For battles involving two trainers, use {{Party/Tag}}.
How to use:
- Use
{{Party/Single}}at the top - Use up to six
{{Pokémon/.}}templates, selecting the appropriate generation subtemplate. - All Pokémon entries must have a vertical pipe "
|" before them.- For parties of one Pokémon, the Pokémon entry must begin with "
| style="margin:auto" |" instead. - For parties of five Pokémon, the fourth and fifth Pokémon entries must begin with "
| style="margin:auto" |" instead.
- For parties of one Pokémon, the Pokémon entry must begin with "
- After the first three Pokémon (or two in the case of parties with four Pokémon), use
{{Party/Div}}. - After the final Pokémon, use
{{Party/Footer}}to close the template. It has no parameters.
{{Party/Single
|color=
|bordercolor=
|headcolor=
|sprite=
|size=
|prize=
|class=
|classlink=
|name=
|game=
|location=
|locationname=
|pokemon=
}}
| {{Pokémon/.}}
{{Party/Footer}}
Parameters
All parameters are case sensitive.
| Parameter | Allowed values | Notes |
|---|---|---|
| color | Color template | Main background color. |
| bordercolor | Color template | Border color. |
| headcolor | Color template | Trainer information background color. |
| sprite | Filename | Trainer sprite filename, with extension. |
| size | Filesize | Size of Trainer sprite, only if size reduction is required. |
| prize | String | Prize for defeating the Trainer, without any money-increasing bonuses applied.
Entering " |
| class | String | Optional. Trainer class.
This is displayed above the trainer name. |
| classlink | String | Optional. Link override for the Trainer class. |
| class2 | String | Optional. Trainer class.
This is displayed below the trainer name. |
| classlink2 | String | Optional. Link override for the Trainer class. |
| name | String | Trainer's name.
Not linked by default |
| game | Valid abbreviation • String | Game(s) the battle takes place in. |
| location | String | Location where the battle takes place. |
| locationname | String | Optional. Display override for the location. |
| location2 | String | Optional. Second option for the battle location. |
| location2name | String | Optional. Display override for the second location. |
| pokemon | 1 • 2 • 3 • 4 • 5 • 6
|
Number of Pokémon in the Trainer's party. |
Example
The code of Pokémon block is not shown in the below example.
{{Party/Single
|color={{kalos color}}
|bordercolor={{kalos color dark}}
|headcolor={{kalos color light}}
|sprite=VSDiantha.png
|size=150px
|prize={{pdollar}}16320
|class=Champion
|classlink=Pokémon Champion
|name=Diantha
|game=XY
|location=Pokémon League (Kalos)
|locationname=Pokémon League
|pokemon=6
}}
| {{Pokémon/6}}
| {{Pokémon/6}}
| {{Pokémon/6}}
{{Party/Div|color={{kalos color}}}}
| {{Pokémon/6}}
| {{Pokémon/6 }}
| {{Pokémon/6}}
{{Party/Footer}}