Template:Party/Tag

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search




Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

{{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.
  • 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 "none" (case-sensitive) hides the prize display.

game Valid abbreviationString Game(s) the battle takes place in.
location String Location where the battle takes place.
locationname String Optional. Display override for the location.
pokemon1 123 Number of Pokémon in the first Trainer's party.
pokemon2 0123 Number of Pokémon in the second Trainer's party.
List of allowed game abbreviations
Abbreviation Game
RG Red and Green
RGB Red, Green, and Blue
RGBY Red, Green, Blue, and Yellow
Y Yellow
GS Gold and Silver
GSC Gold, Silver, and Crystal
C Crystal
Ru Ruby
Sa Sapphire
RSRuSa Ruby and Sapphire
RSE Ruby, Sapphire, and Emerald
RE Ruby and Emerald
SE Sapphire and Emerald
E Emerald
FRLGFL FireRed and LeafGreen
DP Diamond and Pearl
DPPDPPt Diamond, Pearl, and Platinum
Pt Platinum
HGSSHS HeartGold and SoulSilver
PtHGSS Platinum, HeartGold, and SoulSilver
BW Black and White
Bl Black
W White
B2W2 Black 2 and White 2
B2 Black 2
W2 White 2
BWB2W2 Black, White, Black 2, and White 2
XY X and Y
X X
y Y
ORAS Omega Ruby and Alpha Sapphire
OR Omega Ruby
AS Alpha Sapphire
SM Sun and Moon
Su Sun
M Moon
SMUSUM Sun, Moon, Ultra Sun, and Ultra Moon
USUM Ultra Sun and Ultra Moon
US Ultra Sun
UM Ultra Moon
LGPEPE Let's Go, Pikachu! and Let's Go, Eevee!
LGP Let's Go, Pikachu!
LGE Let's Go, Eevee!
SwSh Sword and Shield
BDSP Brilliant Diamond and Shining Pearl
SV Scarlet and Violet
Colo Colosseum
XD Pokémon XD
PBR Pokémon Battle Revolution

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}}