Template:Party/Tag
|
||||||||||||||||
|
| ||||||||||||||||
Template documentation
View or edit this documentation. (About template documentation)
Note: portions of the template sample may not be visible without values provided.
{{Party/Tag}} is used to display detailed info on a team's party and Pokémon for a battle against two Trainers. For battles against a single Trainer, use {{Party/Single}}.
How to use:
- Use
{{Party/Tag}}at the top. - Use up to six
{{Pokémon/.}}templates (upto three for each trainer), selecting the appropriate generation subtemplate. - All Pokémon entries must have a vertical pipe "
|" before them.- If either Trainer has less than three Pokémon, all of that Trainer's Pokémon entries must begin with "
| style="margin:auto" |" instead.
- If either Trainer has less than three Pokémon, all of that Trainer's Pokémon entries must begin with "
- After the first Trainer's Pokémon, use
{{Party/Div}}. It contains only one parameter; color, which should match the head template's headcolor2 parameter in battles against two Trainers. - After the second Trainer's final Pokémon, use
{{Party/Footer}}to close the template. It has no parameters.
{{Party/Tag
|color=
|bordercolor=
|headcolor=
|color1=
|bordercolor1=
|headcolor1=
|bordercolor2=
|headcolor2=
|class=
|classlink=
|name=
|sprite=
|size=
|class2=
|classlink2=
|name2=
|sprite2=
|size2=
|game=
|location=
|locationname=
|prize=
|pokemon1=
|pokemon2=
}}
Parameters
All parameters are case sensitive.
| Parameter | Allowed values | Notes |
|---|---|---|
| color | Color template | Main background color. |
| bordercolor | Border color. | |
| headcolor | Trainer information background color. | |
| color1 | First Trainer background color. | |
| bordercolor1 | First Trainer border color. | |
| headcolor1 | First Trainer sprite background color. | |
| bordercolor2 | Second Trainer border color. | |
| headcolor2 | Second Trainer sprite background color. | |
| class | String | First Trainer's Trainer class. |
| classlink | String | Optional. Link override for the first trainer's Trainer class. |
| name | String | First Trainer's name. |
| sprite | Filename | First Trainer's sprite filename, with filename extension. |
| size | Filesize | Size of First Trainer's sprite, only if size reduction is required. |
| class2 | String | Second Trainer's Trainer class. |
| classlink2 | String | Optional. Link override for the second trainer's Trainer class. |
| name2 | String | Second Trainer's name. |
| sprite2 | Filename | Second Trainer's sprite filename, with filename extension. |
| size2 | Filesize | Size of Second Trainer's sprite, only if size reduction is required. |
| prize | String | Prize for defeating the Trainers, without any money-increasing effects applied.
Entering " |
| 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. |
| pokemon1 | 1 • 2 • 3
|
Number of Pokémon in the first Trainer's party. |
| pokemon2 | 0 • 1 • 2 • 3
|
Number of Pokémon in the second Trainer's party. |
Example
The code of Pokémon block is not shown in the below example.
{{Party/Tag
|color={{kalos color}}
|bordercolor={{kalos color dark}}
|headcolor={{kalos color light}}
|color1={{castle color}}
|bordercolor1={{castle color dark}}
|headcolor1={{castle color light}}
|color2={{orange color}}
|bordercolor2={{orange color dark}}
|headcolor2={{orange color light}}
|class=Pokémon Trainer
|classlink=Pokémon Trainer
|name={{color2|000|Trevor}}
|sprite=VSTrevor.png
|size=150px
|class2=Pokémon Trainer
|classlink2=Pokémon Trainer
|name2=Tierno
|sprite2=VSTierno.png
|size2=150px
|game=XY
|location=Kalos Route 7
|locationname=Route 7
|prize={{pdollar}}3000
|pokemon1=2
|pokemon2=1
}}
| style="margin:auto" | {{Pokémon/6}}
| style="margin:auto" | {{Pokémon/6}}
{{Party/Div|color={{orange color}}}}
| style="margin:auto" | {{Pokémon/6}}
{{Party/Footer}}
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
