Our 2014 Christmas Contests have begun! Check the Bulbagarden Forums to find out how you could win 1 of 30 copies of ORAS!
Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on irc.systemnet.info.

Template talk:PokémoncardInfobox

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

Using the Template

{{PokémoncardInfobox |
cardname= |
jname= |
jtrans= |
image= |
caption= |
evostage= |
type= |
hp= |
weakness= |
resistance= |
resistance2= |
retreatcost= |
species= |
}}
{{PokémoncardInfobox/Expansion|type=|expansion=|rarity=|cardno=}}
{{PokémoncardInfobox/Footer|type= |species= }}

Template Infobox Parameters

  • cardname: The cards full name
  • jname: The Pokémon's Japanese name.
  • jtrans: The English translation of the Japanese name.
  • image: imagename.jpg / imagename.gif
  • caption: Normally the illustrator - Illus. [[Kouki Saitou]], for instance.
  • evostage: Basic, Stage 1, Stage 2, LV. X etc...
  • type: The type of the Pokémon. Grass, Fire, Water, etc.
  • hp: Quite simply, just put the number of hit points the card has.
  • weakness: The type the Pokémon weak against. Grass, Fire, Water, etc.
  • resistance: The first type the Pokémon is strong against
  • resistance2: The second type the Pokémon is strong against
  • retreatcost: Number of energies needed to retreat the Pokémon.
  • species: The species of Pokémon on the card.

Template Infobox Expansion Parameters

  • type: The type of the Pokémon. Grass, Fire, Water, etc.
  • expansion: The expansion the Pokémon card is out of.
  • rarity: {{rar|Rarity of the card}}
  • cardno: The card number.

Template Infobox Footer Parameters

{{PokémoncardInfobox/Footer|type=The type of the Pokémon |species= The species of Pokémon on the card}}

Edit

First, the above "How to use" should be on the front, with "noinclude" tags.

Also, why is the "Species" box so strange? Why not just a normal colspan=2 box? --Raijinili 21:39, 9 November 2008 (UTC)

The Species box is like that because it's coded to not appear if nothing is added (Trainer Cards, ect.) The "How to use" is probably in the talk page due to it's length compared to the actual template. - Kogoro | Talk to me | 22:16, 9 November 2008
Actually, different infoboxes are used for Trainer and Energy cards, so the width of the Species row...I don't see why it can't be colspan="2", no. We'll have to wait and see what other admins think, as I'm still the baby. Cipher (Talk) 22:42, 9 November 2008 (UTC)

Edit request

Edit this template so the automatic image resolution is 180px, but make it so that a user can also choose a different resolution, in case the image is smaller than the mentioned resolution. Chocolate 18:00, 11 November 2008 (UTC)

I wouldn't, really. Images shouldn't be under 180px anyway. As for the Japanese card images, which are something like 162px...not sure, they should be replaced anyway. But it doesn't stretch 'em too much anyways. Cipher (Talk) 18:22, 11 November 2008 (UTC)
Sorry if I'm kind of late, but it stays 180 for everything. 180 is the closest we can get to real life card sizes, so it must stay. MaverickNate 20:01, 21 November 2008 (UTC)
But in real life, cards don't look stretched, do they? Chocolate 21:57, 21 November 2008 (UTC)
Still no response after a month? Chocolate (Merry Christmas!) 15:24 12/22/2008
If an image is under 180px in width, it must be tagged with {{Bad picture}} tag, not just try to live with the thumbnail-version of the card. Low-res cards are bad. UltimateSephiroth (about me · chat · edits) 15:57, 22 December 2008 (UTC)
Wrong, wrong, wrong. It needs to be under 180 and not from the Japanese card tcg site. Those are the smallest size we are going to have without demanding a higher size. The cards from the site are perfectly fine, they should not have the bad image template, because they aren't bad images. MaverickNate 16:04, 22 December 2008 (UTC)
Right, didn't I say "put the template if the size is under 180px"? :P UltimateSephiroth (about me · chat · edits) 16:06, 22 December 2008 (UTC)
Which is wrong. The Japanese images are slightly smaller than 180, but they should not be labeled as bad. MaverickNate 16:11, 22 December 2008 (UTC)
Okay... but then IMO the template size should indeed be modifiable, since they will then become blurry when they're stretched to a bigger size, as Chocolate originally stated. UltimateSephiroth (about me · chat · edits) 16:16, 22 December 2008 (UTC)
It isn't that big of a difference to stretch out the image. MaverickNate 16:19, 22 December 2008 (UTC)

(resetting indent) Why not? Chocolate (Merry Christmas!) 16:20 12/22/2008

Why not what? You're trying to question a stated fact, and it isn't working so well. MaverickNate 16:27, 22 December 2008 (UTC)
And 19px difference of stretch won't do much. ΘρtιmαtumTalk 16:27, 22 December 2008 (UTC)
But that doesn't change the fact that it does still stretch it, even if it's only a little bit. Chocolate (Merry Christmas!) 16:29 12/22/2008
It might stretch it, but the stretch does not screw up the card artwork, which is the most important part. Plus, the japanese images are just placeholders that should be replaced once better scans * are made avaliable. MaverickNate 16:33, 22 December 2008 (UTC)

I still think...

There should be a template that would place set info. And it could have the dividerbars, too... TTEchidna 01:24, 11 January 2009 (UTC)

I like the divide bars idea, but they would need to go in specific places. MaverickNate 01:28, 11 January 2009 (UTC)
I'll have a go in a couple of days, shouldn't be too difficult. Not been well this weekend, hence inactivity, but I'll have a go later in the week. Cipher (Talk) 11:33, 11 January 2009 (UTC)
Thought I may as well do it today. See what you think. Any of the clauses, if unnecessary, can be omitted - so for example, if I were to write the article for Infernape 4 LV.X, I'd be able to use expansion, rarity, English card number, Japanese half deck and Japanese card number. A divider can also be added at the end just by typing "dividers = yes". Having tested the template in an existing article, it works absolutely perfectly. As such, I'll move it into the mainspace if you want. Any comments or suggestions, let me know either here or on my sandbox discussion page. Cheers, Cipher (Talk) 15:33, 11 January 2009 (UTC)
I'd rather not have Japanese card rarity, or the hyphens in the japanese info fields, but...meh. MaverickNate 15:36, 11 January 2009 (UTC)
Consider them gone. I always say, it's easier to put as much into a draft as possible and remove what isn't needed than it is to create too simple a draft and have to add stuff in later. =) Cipher (Talk) 15:39, 11 January 2009 (UTC)
Also, we need info fields for the two card games, because the old cards that appeared in the games have set info for those. MaverickNate 15:47, 11 January 2009 (UTC)
Added, see what you think. Cipher (Talk) 15:56, 11 January 2009 (UTC)
Actually, I'm really not keen on that dividers clause, so I've removed it. It can be added in manually after the infobox. It just...doesn't look right, at all. "dividers = yes" is so...blegh. Actually putting the code in would just be better. Cipher (Talk) 16:12, 11 January 2009 (UTC)

Okay GUIs, now I know this may be your stomping grounds.

But I, along with several others, think that the infobox needs an upgrade. Yes, it's 5000 cards to upgrade. I know. It sucks. But the information's all there, all that needs to be done is the upgrading of said information to fit in better. It's not like the exhaustive search that had to be done in making these things. TTEchidna 08:12, 15 January 2009 (UTC)

What exactly needs changing? Everything's there, I don't see that there's anything wrong with it. Cipher (Talk) 11:55, 15 January 2009 (UTC)
Maybe there should be a link to the page Retreat cost. Bulbapedian2187 18:51, 9 August 2011 (UTC)

I'm nitpicking here, but...

Could someone please add margins to here as well as TrainercardInfobox? I'm probably going to die if I see another TCG article with the [edit] links too close to the edge of the infobox. D: ~ overgrownsol 05:19, 14 February 2009 (UTC)

This template is the next one to get updated, and it is extremely soon. It won't be looking like this for very long. MaverickNate 13:44, 14 February 2009 (UTC)

...

Can something be done so weakness sections are half one type and half the other? Looks weird... ht14 23:13, 18 March 2009 (UTC)

Very funny. Almost had me going for a sec-- oh wait you're serious.
God, that'd take a hell of a lot of programming... but I'll see what I can do. TTEchidna 03:41, 4 April 2009 (UTC)

Requesting Basic Special Stage for evostage

We need an evosatge for basic special because Buried Fossil is read as a Baby Pokémon card when is it should be a Basic Pokémon that can evolve into Omanyte, Kabuto, or Aerodactyl. - unsigned comment from Hawkrai (talkcontribs)

This is why we need English scans. Only pre-EX Tyrogue and Buried Fossil use that specific one... sigh. I guess I'll change it back to being specific to Tyrogue and make a new one for the fossil trio. TTEchidna 03:39, 4 April 2009 (UTC)

One minor request...

Set it so typing in ex in the field yields italics... ht14 03:28, 8 April 2009 (UTC)

Doesn't it already? MaverickNate 15:31, 8 April 2009 (UTC)
Never mind then... ht14 13:03, 4 June 2009 (UTC)

I've uploaded a new LEGEND Logo. The only difference between this new one (LEGEND) and the old one is that I've also cleared the white background for Es, G and D. - plau 16:19, 23 February 2010 (UTC)