Template talk:Mart: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Line 15: Line 15:
:If those images aren't being used in many places, we could move them to a standard naming system.  It would be a lot of work though.  It might be a better idea to just add another parameter to the template.&nbsp;&mdash;&nbsp;[[User:Laoris|Laoris]]&nbsp;<sub>([[User_Talk:Laoris|Blah]])</sub> 21:33, 8 January 2009 (UTC)
:If those images aren't being used in many places, we could move them to a standard naming system.  It would be a lot of work though.  It might be a better idea to just add another parameter to the template.&nbsp;&mdash;&nbsp;[[User:Laoris|Laoris]]&nbsp;<sub>([[User_Talk:Laoris|Blah]])</sub> 21:33, 8 January 2009 (UTC)
::<b><big>A</big></b>n extra parameter might not be the best idea however, it would allow for errors such as missing images because the links have been put incorrectly, and the order of parameters would become inconsistent with the appearance (we want to keep the order easier to remember). I suppose we could try moving each of the images then correcting all the links, though would making a long switch be less work overall? &nbsp; &nbsp; <font face="Calibri">-–&lt;×vVv<small>v</small><sub>v</sub> <b>[[User talk:S1tHSL4y3r|τ<sup>λι</sup>κ]] <sub>to</sub> [[User:S1tHSL4y3r|<font color="#990000">ς1<sup>tH</sup>ςι<sub>4γ</sub><small>3r</small></font>]]</b> <small>^</small>^vVv×&gt;–-</font> <i><small>23:56, 8 January 2009 (UTC)</small></i>
::<b><big>A</big></b>n extra parameter might not be the best idea however, it would allow for errors such as missing images because the links have been put incorrectly, and the order of parameters would become inconsistent with the appearance (we want to keep the order easier to remember). I suppose we could try moving each of the images then correcting all the links, though would making a long switch be less work overall? &nbsp; &nbsp; <font face="Calibri">-–&lt;×vVv<small>v</small><sub>v</sub> <b>[[User talk:S1tHSL4y3r|τ<sup>λι</sup>κ]] <sub>to</sub> [[User:S1tHSL4y3r|<font color="#990000">ς1<sup>tH</sup>ςι<sub>4γ</sub><small>3r</small></font>]]</b> <small>^</small>^vVv×&gt;–-</font> <i><small>23:56, 8 January 2009 (UTC)</small></i>
:::I think a long switch would be a bad idea, because whenever we want to use a new item with the template, we'd have to modify the template, which is already being used on a couple dozen pages.&nbsp;&mdash;&nbsp;[[User:Laoris|Laoris]]&nbsp;<sub>([[User_Talk:Laoris|Blah]])</sub> 00:19, 9 January 2009 (UTC)


==Other currencies==
==Other currencies==
How about making this template work for other currencies, like game corner coins?  Should we just add another switch for coins, or is there a better way to do it?&nbsp;&mdash;&nbsp;[[User:Laoris|Laoris]]&nbsp;<sub>([[User_Talk:Laoris|Blah]])</sub> 21:33, 8 January 2009 (UTC)
How about making this template work for other currencies, like game corner coins?  Should we just add another switch for coins, or is there a better way to do it?&nbsp;&mdash;&nbsp;[[User:Laoris|Laoris]]&nbsp;<sub>([[User_Talk:Laoris|Blah]])</sub> 21:33, 8 January 2009 (UTC)
:<b><big>A</big></b> good idea. I think adding a separate switch option might be sufficient, rather than adding another parameter. I'll get on it. &nbsp; &nbsp; <font face="Calibri">-–&lt;×vVv<small>v</small><sub>v</sub> <b>[[User talk:S1tHSL4y3r|τ<sup>λι</sup>κ]] <sub>to</sub> [[User:S1tHSL4y3r|<font color="#990000">ς1<sup>tH</sup>ςι<sub>4γ</sub><small>3r</small></font>]]</b> <small>^</small>^vVv×&gt;–-</font> <i><small>23:48, 8 January 2009 (UTC)</small></i>
:<b><big>A</big></b> good idea. I think adding a separate switch option might be sufficient, rather than adding another parameter. I'll get on it. &nbsp; &nbsp; <font face="Calibri">-–&lt;×vVv<small>v</small><sub>v</sub> <b>[[User talk:S1tHSL4y3r|τ<sup>λι</sup>κ]] <sub>to</sub> [[User:S1tHSL4y3r|<font color="#990000">ς1<sup>tH</sup>ςι<sub>4γ</sub><small>3r</small></font>]]</b> <small>^</small>^vVv×&gt;–-</font> <i><small>23:48, 8 January 2009 (UTC)</small></i>

Revision as of 00:19, 9 January 2009

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)

If those images aren't being used in many places, we could move them to a standard naming system. It would be a lot of work though. It might be a better idea to just add another parameter to the template. — Laoris (Blah) 21:33, 8 January 2009 (UTC)
An extra parameter might not be the best idea however, it would allow for errors such as missing images because the links have been put incorrectly, and the order of parameters would become inconsistent with the appearance (we want to keep the order easier to remember). I suppose we could try moving each of the images then correcting all the links, though would making a long switch be less work overall?     -–<×vVvvv τλικ to ς1tHςι3r ^^vVv×>–- 23:56, 8 January 2009 (UTC)
I think a long switch would be a bad idea, because whenever we want to use a new item with the template, we'd have to modify the template, which is already being used on a couple dozen pages. — Laoris (Blah) 00:19, 9 January 2009 (UTC)

Other currencies

How about making this template work for other currencies, like game corner coins? Should we just add another switch for coins, or is there a better way to do it? — Laoris (Blah) 21:33, 8 January 2009 (UTC)

A good idea. I think adding a separate switch option might be sufficient, rather than adding another parameter. I'll get on it.     -–<×vVvvv τλικ to ς1tHςι3r ^^vVv×>–- 23:48, 8 January 2009 (UTC)