Template:Party/2
Template documentation
View or edit this documentation. (About template documentation)
This template uses TemplateStyles: Template:Party/styles.css.
This template uses TemplateStyles: Template:Party/styles.css.
Note: portions of the template sample may not be visible without values provided.
This template is used to display detailed information about two Trainer's parties and their Pokémon. For battles involving a single Trainers, use {{Party}}.
This template is used with {{Party/2/div}} and ended with {{Party/end}}.
Parameters
All parameters are case sensitive.
| Parameter | Allowed values | Notes |
|---|---|---|
walkthrough
|
yes
|
Is this template being used on a Walkthrough page? If no, ignore this parameter. |
middle
|
yes
|
Should this template appear in the center, rather than on the left? If no, ignore this parameter. If walkthrough is set to yes, this parameter is unneeded.
|
caption
|
String | Optional. A caption to display above the template. |
background Depreciated: color
|
Color template • Hex color | The background color of the template. Don't include #. Defaults to {{unknown color}}.
|
border Depreciated: bordercolor
|
Color template • Hex color | The border color of the template. Don't include #. Defaults to {{unknown color dark}}.
|
headcolor
|
Color template • Hex color | The background color of the information boxes. Don't include #. Defaults to {{unknown color light}}.
|
or
|
yes
|
Should the "and" be an "or"? Used when facing one of two trainers with identical parties, based on player gender or similar. If no, ignore this parameter. |
location
|
Article title | The location of the battle. Must be a valid article title. |
locationname
|
String | Optional. Link text to display for location.
|
location2
|
Article title | Optional. The second location of the battle. Must be a valid article title. |
location2name
|
String | Optional. Link text to display for location2.
|
game
|
The game(s) the battle takes place in. This parameter also accepts a {{color2}} link.
| |
prize
|
String • none
|
The prize for defeating the Trainer (without any money-increasing bonuses applied). If set to none, the Reward box will be hidden. Defaults to {{PDollar}}0.
|
| Trainer 1 | ||
t-background Depreciated: headcolor1
|
Color template • Hex color | The background color for the first Trainer. Don't include #.
|
t-border Depreciated: bordercolor1
|
Color template • Hex color | The border color for the first Trainer. Don't include #.
|
sprite
|
File name | The trainer sprite / image. Must be a valid file name, including extension. Don't include File:.
|
size
|
String | Optional. The size of the trainer sprite / image. Must include px.
|
class
|
String | Optional. The Trainer class. |
classlink
|
Article title | Optional. Link override for class. Must be a valid article title.
|
name
|
String | The Trainer's name. Not a link by default; use {{color2}} if this is desired.
|
pokemon Depreciated: pokemon1
|
1 • 2 • 3
|
The number of Pokémon in the Trainer's party. |
1 • 2 • 3 • 4 • 5 • 6
|
If or is set to yes only: The number of Pokémon in both Trainer's parties (pokemon1 will not work in this case).
| |
| Trainer 2 | ||
t-background2 Depreciated: headcolor2
|
Color template • Hex color | The background color for the second Trainer. Don't include #. This should match the t-background2 parameter in {{Party/2/div}}.
|
t-border2 Depreciated: bordercolor2
|
Color template • Hex color | The border color for the second Trainer. Don't include #.
|
sprite2
|
File name | The trainer sprite / image. Must be a valid file name, including extension. Don't include File:.
|
size2
|
String | Optional. The size of the trainer sprite / image. Must include px.
|
class2
|
String | Optional. The Trainer class. |
classlink2
|
Article title | Optional. Link override for class. Must be a valid article title.
|
name2
|
String | The Trainer's name. Not a link by default; use {{color2}} if this is desired.
|
pokemon2
|
1 • 2 • 3
|
The number of Pokémon in the Trainer's party. If or is set to yes only: Ignore this parameter.
|
Note: If or is set to yes, don't use {{Party/2/div}} with this template.
Backwards compatibility
This template supports all the parameters of {{Party/Tag}}, except color1 and color2, which are ignored. {{Party/Div}} should be replaced with {{Party/2/div}}. The template should be ended by {{Party/end}}, not {{Party/Footer}}.
Examples
{{Party/2
| background = {{Kalos color}}
| border = {{Kalos color dark}}
| headcolor = {{Kalos color light}}
| t-background = {{Castle color light}}
| t-border = {{Castle color}}
| sprite = VSTrevor.png
| size = 150px
| class = Pokémon Trainer
| name = {{color2|000|Trevor}}
| pokemon = 2
| t-background2 = {{Orange color light}}
| t-border2 = {{Orange color}}
| sprite2 = VSTierno.png
| size2 = 150px
| class2 = Pokémon Trainer
| name2 = Tierno
| pokemon2 = 1
| location = Kalos Route 7
| locationname = Route 7
| game = XY
| prize = {{PDollar}}3,000
}}
{{Pokémon|<<parameters>>}}
{{Pokémon|<<parameters>>}}
{{Party/2/div|t-background2 = {{Orange color light}}}}
{{Pokémon|<<parameters>>}}
{{Party/end}}
{{Party/2
| walkthrough = yes
| background = {{Kalos color}}
| border = {{Kalos color dark}}
| headcolor = {{Kalos color light}}
| t-background = {{Castle color light}}
| t-border = {{Castle color}}
| sprite = VSTrevor.png
| size = 150px
| class = Pokémon Trainer
| name = {{color2|000|Trevor}}
| pokemon = 2
| t-background2 = {{Orange color light}}
| t-border2 = {{Orange color}}
| sprite2 = VSTierno.png
| size2 = 150px
| class2 = Pokémon Trainer
| name2 = Tierno
| pokemon2 = 1
| location = Kalos Route 7
| locationname = Route 7
| game = XY
| prize = {{PDollar}}3,000
}}
{{Pokémon|<<parameters>>}}
{{Pokémon|<<parameters>>}}
{{Party/2/div|t-background2 = {{Orange color light}}}}
{{Pokémon|<<parameters>>}}
{{Party/end}}
{{Party/2
| background = 525252
| border = 353535
| headcolor = 8F8F8F
| t-background = {{Fire color light}}
| t-border = {{Fire color}}
| sprite = Spr Pt Flint.png
| class = Elite Four
| name = {{color2|000|Flint}}
| pokemon = 3
| t-background2 = {{Electric color light}}
| t-border2 = {{Electric color}}
| sprite2 = Spr Pt Volkner.png
| class2 = Leader
| classlink2 = Gym Leader
| name2 = {{color2|000|Volkner}}
| pokemon2 = 3
| location = Fight Area
| game = Pt
| prize = {{PDollar}}13,920
}}
{{Pokémon|<<parameters>>}}
...
{{Pokémon|<<parameters>>}}
{{Party/2/div|t-background2 = {{Electric color light}}}}
{{Pokémon|<<parameters>>}}
...
{{Pokémon|<<parameters>>}}
{{Party/end}}
{{Party/2
| background = {{legends arceus color}}
| border = {{legends arceus color dark}}
| headcolor = {{legends arceus color light}}
| or = yes
| t-background = {{legends arceus color light}}
| t-border = {{legends arceus color dark}}
| sprite = VSRei.png
| size = 120px
| class = The Survey Corps’
| classlink = Galaxy Team#Survey Corps
| name = {{color2|000|Rei (game)|Rei}}
| t-background2 = {{legends arceus color light}}
| t-border2 = {{legends arceus color dark}}
| sprite2 = VSAkari.png
| size2 = 120px
| class2 = The Survey Corps’
| classlink2 = Galaxy Team#Survey Corps
| name2 = {{color2|000|Akari (game)|Akari}}
| location = Training grounds
| game = LA
| prize = none
| pokemon = 3
}}
{{Pokémon|<<parameters>>}}
...
{{Pokémon|<<parameters>>}}
{{Party/end}}


