Template talk:Mart

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 11:02, 8 January 2009 by S1tHSL4y3r (talk | contribs) (→‎Item icon sprites: new section)
Jump to navigationJump to search

I noticed many Cities/Towns are missing Poké Mart stock lists, and the ones that do are using a simple table, so I coded this template to be used to easily put stock lists in every city/town that needs one.

Will be adding item icon sprites.

Please contact me for suggestions or before changing it in any way.    -–<×vVvvv τλικ to ς1tHςι3r ^^vVv×>–- 02:30, 8 January 2009 (UTC)

I think the item names shouldn't be that close to the border... Otherwise, it's fine. Shall the revamps of the PokéMart sections begin? - espeonA 05:15, 8 January 2009 (UTC)
Mm, I was thinking that too. But that'll be where the icon sprites will go so it won't matter. Yes... it most certainly shall. *evil guffaw*     -–<×vVvvv τλικ to ς1tHςι3r ^^vVv×>–- 05:33, 8 January 2009 (UTC)
I... just realized there'll be a lot of redirects with this... - espeonA 05:36, 8 January 2009 (UTC)
Yea, that's one of the problems I haven't solved yet. The thing is, there are too many different pages with groups of items, and I'm trying to make it so you only type the name of the item in, which means I'd have to make a multitude of switch criterias, to compensate for every item's correct link. I hope too many redirects don't pose too much of a problem...     -–<×vVvvv τλικ to ς1tHςι3r ^^vVv×>–- 06:00, 8 January 2009 (UTC)
Redirects are fine. Don't worry about it. I hardly think a Pokémon or move named Revive is gonna pop up. TTEchidna 06:15, 8 January 2009 (UTC)

Item icon sprites

I've just had a glance through the archives and located all the lovely 24x24 fitting images for every item, however the thing is they all have differently formatted names: Balls (Image:PokéBallSprite.png) and Medicine (Image:PotionSprite.png) are mostly name with no spaces, first letters capped + "Sprite.png", whereas other items such as Image:Escape Rope sprite.png, Image:Cleanse Tag sprite.png and Image:Soothe Bell sprite.png have name with spaces (interchangeable with underscores though), first letters capped, except for "sprite.png", and still other items such as Mail (Image:Orange Mail III.png) are in a completely different pattern, name with spaces, first letters capped, + generation, which means interpreting what format to use in order to derive the image link will be hardly possible. The only solution I can currently think of is to tediously create a long switch of every item matched with their format, unless the image link is manually provided... any ideas?     -–<×vVvvv τλικ to ς1tHςι3r ^^vVv×>–- 11:02, 8 January 2009 (UTC)