Item Icons Guide: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Dranic (talk | contribs)
m Fixed URL to direct to Template:Item instead of Item Icon
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
[[File:Item Icons Guide.png|thumb|right|337px|32x32 pixels, 8 Bit PNG.]]
[[File:Item Icons Guide.png|thumb|right|337px|32x32 pixels, 8 Bit PNG.]]
==Please see http://wiki.projectgorgon.com/wiki/Template:Item instead.==
<!--
As of writing, I recommend to '''watch''' this page to notice more easily when other people add new icons.
As of writing, I recommend to '''watch''' this page to notice more easily when other people add new icons.


Line 6: Line 8:
* In-game icons are 32x32 pixels exact replica from NPC's shop or your inventory. Unequip items to remove the red border!
* In-game icons are 32x32 pixels exact replica from NPC's shop or your inventory. Unequip items to remove the red border!
* File name MUST be in the form <code>Item-icon-xxxxxx.png</code>. For example <code>Item-icon-amethyst.png</code>.
* File name MUST be in the form <code>Item-icon-xxxxxx.png</code>. For example <code>Item-icon-amethyst.png</code>.
** '''Because when you hover over an icon, it will display text, name 2 worded items with a space. Example: Crab Meat, not Crabmeat.'''
** '''Because when you hover over an icon, it will display the name of the picture's file, items with more than 1 word get mushed together (ex. crabmeat.png -> shows up as Crabmeat when hovered over). A way to fix this is to give it a <span style="color:red;">label tag</span>: "icon|crabmeat|label=Crab Meat" -> {{icon|crabmeat|label=Crab Meat}} <span style="color:red;">NOT</span> {{icon|crabmeat|}}
* Use a short generic label for generic and common icons. For example:
* Use a short generic label for generic and common icons. For example:
** Use "book" not "Fire Magic: Introductory Research" since most skill teaching books have the same book icon.
** Use "book" not "Fire Magic: Introductory Research" since most skill teaching books have the same book icon.
** Use "seeds" not "dahliaseeds" since most seeds in-game have the same icon.
** Use "seeds" not "dahliaseeds" since most seeds in-game have the same icon.
*** '''(Possibly a BAD habit to do because item icons may change... just create a new file with the exact name of the item. Example: Crab Meat, instead of crab)'''
*** '''(Possibly a <span style="color:red;">BAD</span> habit to do because item icons may change. I'd just create a new file with the exact name of the item. In the above example, [[Dahlia Seeds]] have a different icon than [[Bluebell Seeds]]; probably changed since the above was written, which is probably why every item should have its own file.'''
* In alpha there are no icons that need more than 256 color. Save the SMALLEST file size , 8 bit PNG.
* In alpha there are no icons that need more than 256 color. Save the SMALLEST file size , 8 bit PNG.
* <span style="color:red;">'''Please document any new icons below, otherwise kittens die!!'''</span>
* <span style="color:red;">'''Please document any new icons below, otherwise kittens die!!'''</span>
Line 522: Line 524:
{{vendor table row
{{vendor table row
  | item = '''potato''' (Potato)
  | item = '''potato''' (Potato)
  | icon = banana
  | icon = potato
}}
}}
{{vendor table row
{{vendor table row
Line 790: Line 792:
  | item = '''opal'''
  | item = '''opal'''
  | icon = opal
  | icon = opal
| link = Opal
}}
}}


Line 889: Line 892:
}}
}}
|}
|}
 
-->
[[Category:Guides]]
[[Category:Guides]]

Latest revision as of 15:59, 26 August 2017

32x32 pixels, 8 Bit PNG.