Template talk:Mart: Difference between revisions

m
no edit summary
(→‎Item icon sprites: new section)
mNo edit summary
Line 13: Line 13:


<b><big>I</big></b>'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 <i>name with no spaces, first letters capped + "Sprite.png",</i> whereas other items such as [[:Image:Escape Rope sprite.png]], [[:Image:Cleanse Tag sprite.png]] and [[:Image:Soothe Bell sprite.png]]  have <i>name with spaces (interchangeable with underscores though), first letters capped, except for "sprite.png",</i> and still other items such as Mail ([[:Image:Orange Mail III.png]]) are in a completely different pattern, <i>name with spaces, first letters capped, + generation</i>, 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? &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>11:02, 8 January 2009 (UTC)</small></i>
<b><big>I</big></b>'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 <i>name with no spaces, first letters capped + "Sprite.png",</i> whereas other items such as [[:Image:Escape Rope sprite.png]], [[:Image:Cleanse Tag sprite.png]] and [[:Image:Soothe Bell sprite.png]]  have <i>name with spaces (interchangeable with underscores though), first letters capped, except for "sprite.png",</i> and still other items such as Mail ([[:Image:Orange Mail III.png]]) are in a completely different pattern, <i>name with spaces, first letters capped, + generation</i>, 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? &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>11:02, 8 January 2009 (UTC)</small></i>
: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)
==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)
2,837

edits