How to use:
Parameters
Parameter | Input |
---|---|
color | Main background color. |
bordercolor | Border color. |
headcolor | Trainer information background color. |
sprite | Trainer sprite. |
size | Size of Trainer sprite, only if size reduction is required. |
prize | Prize for defeating the Trainer without an Amulet Coin. Entering "none" (case-sensitive) hides the prize display. |
class | Trainer class. |
classlink | Article title for Trainer's Trainer class. |
name | Trainer's name. |
game | Abbreviation of the game(s) the battle takes place in. |
location | Where the battle takes place. Must directly link to the correct article. |
locationname | Where the battle takes place. Only needed if the location's article uses a disambiguating title. |
pokemon | Number of Pokémon in the Trainer's party. |
- 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 four Pokémon parties), use of
{{Party/Div}}
is required. It contains only one parameter; color, which should match the head template's color parameter in battles against a single Trainer.
- After the final Pokémon, use of
{{Party/Footer}}
is required. It has no parameters.
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 |ndex=701 |pokemon=Hawlucha |level=64 |gender=female |type1=Fighting|type2=Flying |ability=Limber |move1=Swords Dance|move1type=Normal|move1cat=Status |move2=Flying Press|move2type=Fighting|move2cat=Physical |move3=X-Scissor|move3type=Bug|move3cat=Physical |move4=Poison Jab|move4type=Poison|move4cat=Physical}} |{{Pokémon/6 |ndex=697 |pokemon=Tyrantrum |level=65 |gender=male |type1=Rock|type2=Dragon |ability=Strong Jaw |move1=Head Smash|move1type=Rock|move1cat=Physical |move2=Earthquake|move2type=Ground|move2cat=Physical |move3=Dragon Claw|move3type=Dragon|move3cat=Physical |move4=Crunch|move4type=Dark|move4cat=Physical}} |{{Pokémon/6 |ndex=699 |pokemon=Aurorus |level=65 |gender=male |type1=Rock|type2=Ice |ability=Refrigerate |move1=Thunder|move1type=Electric|move1cat=Special |move2=Blizzard|move2type=Ice|move2cat=Special |move3=Light Screen|move3type=Psychic|move3cat=Status |move4=Reflect|move4type=Psychic|move4cat=Status}} {{Party/Div|color={{kalos color}}}} |{{Pokémon/6 |ndex=711 |pokemon=Gourgeist |form=_Dream |level=65 |gender=female |type1=Ghost|type2=Grass |ability=Pickup |move1=Trick-or-Treat|move1type=Ghost|move1cat=Status |move2=Phantom Force|move2type=Ghost|move2cat=Physical |move3=Seed Bomb|move3type=Grass|move3cat=Physical |move4=Shadow Sneak|move4type=Ghost|move4cat=Physical}} |{{Pokémon/6 |ndex=706 |pokemon=Goodra |form=_Dream |level=66 |gender=female |type1=Dragon |ability=Sap Sipper |move1=Dragon Pulse|move1type=Dragon|move1cat=Special |move2=Muddy Water|move2type=Water|move2cat=Special |move3=Fire Blast|move3type=Fire|move4cat=Special |move4=Focus Blast|move4type=Fighting|move3cat=Special}} |{{Pokémon/6 |ndex=282 |pokemon=Gardevoir |level=68 |gender=female |type1=Psychic|type2=Fairy |ability=Trace |held=Gardevoirite |move1=Moonblast|move1type=Fairy|move1cat=Special |move2=Psychic|move2type=Psychic|move2cat=Special |move3=Shadow Ball|move3type=Ghost|move3cat=Special |move4=Thunderbolt|move4type=Electric|move4cat=Special}} {{Party/Footer}}
Items
Some trainers, especially rivals, gym leaders, and other high-level trainers, have a certain number of items they can use. I would like to propose an addition of an item field to allow this information to be recorded as part of this template. It could display something just below the trainer portrait, along the lines of
Items on hand:
{{{item1}}} ×{{{item1quantity}}}
{{{item2}}} ×{{{item2quantity}}}
and so on. I don't think any trainer has very many items, so it would be practical to just use fields titled item1 through item5 or however many people feel is sufficient. --Felthry (F.K.A. Xolroc) (talk) 00:58, 20 January 2017 (UTC)