Template talk:Pokémon/7

From Bulbapedia, the community-driven Pokémon encyclopedia.
< Template talk:Pokémon
Revision as of 23:02, 13 December 2018 by TehPerson (talk | contribs) (Code for Let's Go Pikachu and Eevee)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ability3

The template needs an option for three abilities as, as the new seeding for the Battle Tree and Battle Royal allow for Pokémon to randomly receive any possible Ability, including Hidden Abilities. Unlike Aura stat bonuses (Lusamine, Totem Pokémon), these cannot be easily be added through existing parameters. - Chosen of Mana 18:19, 2 March 2017 (UTC)

Recently, I made a set of pages that lists the Pokemon found in the Battle Tree and Battle Royal. Many of these Pokemon have 3 possible abilities. To account for that, I have listed any third abilities under an "ability3" field as if it were already implemented. So if anyone adds a proper "ability3" field to this template, the lists will automatically be up-to-date.

(In my mind, an ability3 field would work identically to the existing ability2 field.)

TehPerson (talk) 16:52, 21 May 2017 (UTC)

Z-Crystals

I've noticed that, whenever a Pokémon is listed as holding a Z-Crystal, it always uses the bag sprite rather than the held item sprite. Can anyone fix that? Goomba98 (talk) 21:05, 17 September 2017 (UTC)

Code for Ability3

Once the admins get to this, I already have the code written to implement the 3rd ability field:

TehPerson (talk) 14:42, 23 September 2017 (UTC)

Code for Let's Go Pikachu and Eevee

Since Abilities and held items are not a mechanic in LGPE, I made a modified version of this template to suit it, which will update it immediately since most LGPE information already has a game flag. If the game flag is set to "PE", which a lot of articles already have, then the ability and items field will be hidden.

Template: User:TehPerson/Pokémon/7

Test Cases:

game=USUM:

031Nidoqueen.png
Types:
Poison Ground
Ability:
Poison Point or Rivalry
Held item:
Bag Payapa Berry Sprite.png Payapa Berry
Nidoqueen Lv.50
Chip Away
Normal Physical
Swagger
Normal Status
Helping Hand
Normal Status
Flatter
Dark Status

game field is omitted:

031Nidoqueen.png
Types:
Poison Ground
Ability:
Poison Point or Rivalry
Held item:
Bag Payapa Berry Sprite.png Payapa Berry
Nidoqueen Lv.50
Chip Away
Normal Physical
Swagger
Normal Status
Helping Hand
Normal Status
Flatter
Dark Status

game=PE:

031Nidoqueen.png
Types:
Poison Ground
Nidoqueen Lv.50
Chip Away
Normal Physical
Swagger
Normal Status
Helping Hand
Normal Status
Flatter
Dark Status

It also works for adding in a third ability for SM/USUM Battle Tree sets. Most relevant articles already have an ability3 field set, all that needs to be done is for this template to be updated:

031Nidoqueen.png
Types:
Poison Ground
Ability:
Poison Point, Rivalry, or Sheer Force
Held item:
Bag Payapa Berry Sprite.png Payapa Berry
Nidoqueen Lv.50
Chip Away
Normal Physical
Swagger
Normal Status
Helping Hand
Normal Status
Flatter
Dark Status

TehPerson (talk) 23:00, 13 December 2018 (UTC)