Template talk:Pokémon Infobox

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 23:19, 1 December 2016 by N. Onymous (talk | contribs)
Jump to: navigation, search


Any parameters which are unused should be left out. Calling but leaving blank unused parameters can lead to errors.

  • name : English name. If unknown, leave out.
  • jname : Japanese name.
  • tmname : Romanisation of Japanese name. Trademarked version if available.
  • jtranslit : Transliteration of Japanese name.
  • category : Category name, from the Pokédex. (species is now deprecated --Abcboy (talk) 07:27, 17 July 2015 (UTC))
  • forme : Number of images to display. Only to be used if the Pokémon has more than one form.
  • forme1 : Name of form 1, if available. Leave out for Mega Evolutions or Pokémon with no forms.
  • forme2 : Name of form 2, if available. Leave out for Pokémon with one mega evolution or no forms. For Pokémon with two mega evolutions, this is the suffix on the first mega evolution.
  • forme3 : Name of form 3, if available. Leave out for Pokémon with one mega evolution or no forms. For Pokémon with two mega evolutions, this is the suffix on the second mega evolution.
  • forme4 : Name of form 4, if available. Leave out for Mega Evolutions or Pokémon with no forms.
  • forme5 : Name of form 5, if available. Leave out for Mega Evolutions or Pokémon with no forms.
  • forme6 : Name of form 6, if available. Leave out for Mega Evolutions or Pokémon with no forms.
  • image : Filename of image, if not at the default location. Excludes extension.
  • image2 : Filename of form 2 (or Mega evolution) image, if not at the default location. Excludes file extension.
  • image3 : Filename of form 3 (or Mega evolution 2) image, if not at the default location. Excludes file extension.
  • image4 : Filename of form 4 image, if not at the default location. Excludes file extension.
  • image5 : Filename of form 5 image, if not at the default location. Excludes file extension.
  • image6 : Filename of form 6 image, if not at the default location. Excludes file extension.
  • mega : Name of the Mega Stone (first mega stone where applicable). Also controls mega evolution related displays.
  • mega2 : Name of the second Mega Stone. Also controls mega evolution related displays.
  • generation : Generation Pokémon was introduced
  • ndex : National Pokédex number
  • jdex : Johto Pokédex number. New number, where applicable.
  • oldjdex : Old Johto Pokédex number.
  • hdex : Hoenn Pokédex number
  • sdex : Sinnoh Pokédex number
  • udex : Unova (BW) Pokédex number
  • u2dex : Unova (B2W2) Pokédex number
  • kdex : Kalos Pokédex number
  • karea : Kalos Pokédex area (Central, Coastal or Mountain)
  • fbrow : Fiore Browser number
  • abrow : Almia Browser number
  • obrow : Oblivia (Present) Browser number
  • opbrow : Oblivia (Past) Browser number, including prefix
  • typebox : Number of forms with different types.
  • type1 : Type. (first type listed in the Pokédex, where applicable)
  • type2 : Second type.
  • form2type1 : Form 2 type. (first type listed in the Pokédex, where applicable)
  • form2type2 : Form 2 second type.
  • form3type1 : Form 3 type. (first type listed in the Pokédex, where applicable)
  • form3type2 : Form 3 second type.
  • form4type1 : Form 4 type. (first type listed in the Pokédex, where applicable)
  • form4type2 : Form 4 second type.
  • form5type1 : Form 5 type. (first type listed in the Pokédex, where applicable)
  • form5type2 : Form 5 second type.
  • form6type1 : Form 6 type. (first type listed in the Pokédex, where applicable)
  • form6type2 : Form 6 second type.
  • abilityn : Number of forms with Abilities, plus extra Abilities:
    • 1 , 2 , 3 for # form Abilities, no hidden Ability
    • d and 2d for one and two form Abilities, respectively, with a Hidden Ability
    • m and m2 for one and two Mega Evolutions, respectively, no Hidden Ability
    • dm and dm2 for one and two Mega Evolutions, respectively, with a Hidden Ability
  • ability1 : First (or only) Ability
  • ability2 : Second Ability
  • ability2-1 : Form 2 first (or only) Ability
  • ability2-2 : Form 2 second Ability
  • ability3-1 : Form 3 first (or only) Ability
  • ability3-2 : Form 3 second Ability
  • abilityd : Hidden Ability
  • abilitym : First (only) Mega Evolution Ability
  • abilitym2 : Second Mega Evolution Ability
  • gendercode : Byte setting for the species' gender ratios:
    • 256 = unknown, 255 = genderless, 254 = all female, 223 = 1 male:7 female, 191 = 1 male:3 female, 127 = 1 male:1 female, 63 = 3 male:1 female, 31 = 7 male:1 female, 0 = male only.
  • catchrate : Catch rate
  • egggroupn : Number of egg groups. 0 if "Undiscovered group" (i.e. no eggs)
  • egggroup1 : Egg group 1
  • egggroup2 : Egg group 2
  • eggcycles : How many egg cycles it takes for an egg to hatch.
  • height-ftin : Imperial height
  • height-m : Metric height
  • height-ftin2 : Form 2 imperial height
  • height-m2 : Form 2 metric height
  • height-ftin3 : Form 3 imperial height
  • height-m3 : Form 3 metric height
  • weight-lbs : Imperial weight
  • weight-kg : Metric weight
  • weight-lbs2 : Form 2 imperial weight
  • weight-kg2 : Form 2 metric weight
  • weight-lbs3 : Form 3 imperial weight
  • weight-kg3 : Form 3 metric weight
  • expyield : Experience yield
  • oldexp : Experience yield prior to Gen V
  • g4exp : Experience yield in Gen IV, if Pokémon is available and has a different yield prior to Gen IV.
  • lv100exp : Total experience required to reach level 100. Sets levelling rate.
  • evforms : Number of forms which have different EV yield.
  • evtotal : Total EV yield
  • evhp : HP EV yield
  • evat : Attack EV yield
  • evde : Defence EV yield
  • evsa : Special attack EV yield
  • evsd : Special defence EV yield
  • evsp : Speed EV yield
  • evhp2 : Form 2 HP EV yield
  • evat2 : Form 2 attack EV yield
  • evde2 : Form 2 defence EV yield
  • evsa2 : Form 2 special attack EV yield
  • evsd2 : Form 2 special defence EV yield
  • evsp2 : Form 2 speed EV yield
  • evhp3 : Form 3 HP EV yield
  • evat3 : Form 3 attack EV yield
  • evde3 : Form 3 defence EV yield
  • evsa3 : Form 3 special attack EV yield
  • evsd3 : Form 3 special defence EV yield
  • evsp3 : Form 3 speed EV yield
  • evhp4 : Form 4 HP EV yield
  • evat4 : Form 4 attack EV yield
  • evde4 : Form 4 defence EV yield
  • evsa4 : Form 4 special attack EV yield
  • evsd4 : Form 4 special defence EV yield
  • evsp4 : Form 4 speed EV yield
  • body : Body style (number)
  • body2 : Form 2 body style (number)
  • foot2 : Second footprint file name, not including the leading F or file extension.
  • color : Colour listed in the Pokédex.
  • friendship : Base friendship value.
  • pokefordex : Name for external links which don't use the standard name or ndex number

Let me know if there are any issues. Werdnae (talk) 08:09, 9 October 2013 (UTC)


Just wondered if maybe the border should be made 3px, and also, that the border woudl be that if the Pokémon has a secondary type the border would be the same color as the second type. Just so the Pokémon articles keep cohesive with the templates etc. ----samm :D 15:07, 4 November 2013 (UTC)

Also, when I edited Flabébé/Floette/Florges article, there is a mysterious 4 next to one of the images, despite there being no error in the code on the articles (or I seem to be missing) ----samm :D 19:17, 10 November 2013 (UTC)

Hidden Abilities.

So Duskull line gained Frisk in G6 (despite being a G4 Ability), while Litwick family got Shadow Tag changed to Infiltrator. There should be something to note that. Uploader (talk) 14:08, 28 November 2013 (UTC)

Footprint data for X/Y Pokémon

I'm not sure if this is technically possibly via MediaWiki, but if it is one could make the footprint area disappear, stretching the body style template if the national dex number is above 649. I propose this to remove all those broken file links. Pikachu Bros. (talk) 16:06, 28 February 2014 (UTC)

Yeah, it's certainly possible, and needs to be done. --Abcboy (talk) 21:11, 3 May 2014 (UTC)
It is possible, but may require some rearranging to implement. I'll speak with the other staff members to see about a solution. Berrenta (talk) 21:27, 21 August 2014 (UTC)

Missing padding for main page text

On my end, at least, the infoboxes don't seem to have left-edge padding, causing text in a page to run up to the edge, which makes a bit of text hard to read. I would attempt to fix it, but I am neither very familiar with table formatting, nor do I have the permissions to do so. Can someone who is able to make sure there is enough padding? --TruePikachu (talk) 04:23, 1 March 2014 (UTC)

Hoopa's form changes

Would it be possible for someone to please edit the template to account for the names of Hoopa's alternate forms (similar to what was done for Charizard and Mewtwo's dual Mega Evolutions)? The correct form names are "Hoopa Confined" and "Hoopa Unbound", though as it is now, the template displays them as "Confined Hoopa" and "Unbound Hoopa".

Xérnéas (talk) 22:46, 23 June 2015 (UTC)

How do the heights of the boxes in this template work?

Hi, sorry for asking a question like this, but I wonder, how do you make it so that the boxes that display the stats are the same height no matter what, in every resolution, browser and zoom %? For example, in the Sylveon (Pokémon) page, the gender and the catch rate boxes [the white boxes that contain the actual information] are the exact same size--symmetrical--even though the "Gender" box is larger than the "Catch rate" box; I assume that the "Catch rate" box automatically adjusted to the same height as the "Gender" box. How do you do this? I can't seem to find a solution for this problem that's in another wiki I'm part of. Over on that wiki, whenever one box has more info than the one next to it, they don't automatically adjust, and the only solution would be to add exact pixel heights, which would be unbelievably cumbersome for over 2,000 pages. I hope you find the time to answer my question, and if you don't want to, I understand. Thanks! ♥ 493Darkrai (talk) 01:11, 8 August 2015 (UTC)

Some updates

I just want to leave this somewhere it will hopefully be easy to remember. There are a couple things that need updating in this template. Whenever an update becomes convenient (perhaps whenever Gen VII info like the Pokedex/region name is added), hopefully these can be incorporated.

Form names

Some Pokemon like Hoopa should properly have "backwards" form names to how most other form names are constructed. The simple solution would be to just do something like replace

<small>{{{forme4|}}} {{{name|{{{tmname|}}}}}}</small>


<small>{{{override4|{{{forme4|}}} {{{name|{{{tmname|}}}}}}}}}</small>

(Or what-have-you. And that for each forme1-5 parameter, and perhaps forme6 for good measure.)

Hatch time

The hatch time has been wrong for a while (but then, so was Egg cycle). To fix this, these two pieces of code:


Should be changed to:

{{#expr: 257*{{{eggcycles|0}}}}}
{{#expr: 257*{{{eggcycles|0}}}+256}}

Tiddlywinks (talk) 03:53, 18 April 2016 (UTC)

As a couple of more trivial suggestions, I think it might be nice to change {{tt|*|Not legitimately obtainable as an Egg}} to <br><small>Egg not obtainable</small> just so that's not hidden (for smartphone users and such); and just for a sort of consistency, <span style="color:#000;">Undiscovered group</span> could be changed to <span style="color:#000;">Undiscovered</span> (this is shown if egggroupn is set to 0, but without that, Egg Groups are just displayed like "Field" and "Undiscovered"). Tiddlywinks (talk) 04:58, 18 April 2016 (UTC)
I am wondering if the parameters have been passed wrongly in some of the existing articles of legendary Pokemon? Hoopa, for example, passes
egggroupn=1 |
egggroup1=Undiscovered |
while if egggroupn was 0 in the first place, egggroup1 would not be necessary and would be automatically filled in by the template, along with the "not obtainable as egg" text. Chenzw (talk) 05:02, 18 April 2016 (UTC)
They're not exactly wrong. But at any rate, I'd ask you to just leave those egggroup1 parameters for now for the possibility of the changes below. =P (Hell, I should probably just make my own userpage for this template.)
Perhaps Ditto/Ditto's Egg Group could also receive a similar note when egggroupn is set to 0... |0=[[Undiscovered (Egg Group)|<span style="color:#000;">Undiscovered group</span>]] could be removed (it'll fall through to call on egggroup1) along with =[[Category:Undiscovered group Pokémon]] (the 0 case will then be grouped with 1, and work the same so long as egggroup1 has been set.
(Also, the Egg Group categories line could be shorter just by using <!--Egg Groups-->[[Category:{{{egggroup1}}} group Pokémon]] {{#ifeq: {{{egggroupn|0}}}|2|[[Category:{{{egggroup2}}} group Pokémon]]}} instead... Again, so long as egggroup1 has been set.) Tiddlywinks (talk) 05:22, 18 April 2016 (UTC)
I've mocked up the changes above at User:Tiddlywinks/Pokémon Infobox, excluding the form override (I'll set about just reworking that entirely later so we just need a parameter for each full form name). You can test it on any species pages by substituting my userspace template name and previewing (it might be quickest to just copy the template call to an empty/dummy page and preview there).
Removing the Not legitimately obtainable as an Egg note from hovertext kind of required an extra parser function to work (perhaps) best, so it may be preferred to leave out that extra #ifeq and the change to the note... Tiddlywinks (talk) 23:40, 28 April 2016 (UTC)

Alola Dex

Since the Alola Pokédex is split up into areas like the Kalos dex, should this template be updated to allow for specifying the dex region? N. Onymous (talk) 23:19, 1 December 2016 (UTC)