Difference between revisions of "Template:Icon/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 37: Line 37:
 
* slag
 
* slag
 
* component
 
* component
* advanced component
+
* advcomponent
 
* herbal
 
* herbal
 
* medicine
 
* medicine
Line 134: Line 134:
 
'''16 px (default):'''
 
'''16 px (default):'''
  
{{icon|wood}}{{icon|metal}}{{icon|plasteel}}{{icon|cloth}}{{icon|devilstrand}}{{icon|synthread}}{{icon|hyperweave}}{{icon|stone}}{{icon|silver}}{{icon|gold}}{{icon|uranium}}{{icon|potato}}{{icon|agave}}{{icon|berries}}{{icon|bmeat}}{{icon|smeat}}{{icon|hmeat}}{{icon|muffalo}}{{icon|npaste}}{{icon|simple}}{{icon|fine}}{{icon|lavish}}{{icon|survival}}{{icon|shell}}{{icon|missile}}{{icon|debris}}{{icon|slag}}{{icon|component}}{{icon|herbal}}{{icon|medicine}}{{icon|glitterworld}}{{icon|corn}}{{icon|hops}}{{icon|rice}}{{icon|milk}}{{icon|rose}}{{icon|dandelions}}{{icon|daylily}}{{icon|buildingmat}}
+
{{icon|wood}}{{icon|metal}}{{icon|plasteel}}{{icon|cloth}}{{icon|devilstrand}}{{icon|synthread}}{{icon|hyperweave}}{{icon|stone}}{{icon|silver}}{{icon|gold}}{{icon|uranium}}{{icon|potato}}{{icon|agave}}{{icon|berries}}{{icon|bmeat}}{{icon|smeat}}{{icon|hmeat}}{{icon|muffalo}}{{icon|npaste}}{{icon|simple}}{{icon|fine}}{{icon|lavish}}{{icon|survival}}{{icon|shell}}{{icon|missile}}{{icon|debris}}{{icon|slag}}{{icon|component}}{{icon|advcomponent}}{{icon|herbal}}{{icon|medicine}}{{icon|glitterworld}}{{icon|corn}}{{icon|hops}}{{icon|rice}}{{icon|milk}}{{icon|rose}}{{icon|dandelions}}{{icon|daylily}}{{icon|buildingmat}}
 
{{collapse|
 
{{collapse|
 
{{icon|alpaca wool||16}}{{icon|alpacahide||16}}{{icon|arctic foxskin||16}}{{icon|arctic wolfskin||16}}{{icon|bearskin||16}}{{icon|beaverskin||16}}{{icon|boomalope leather||16}}{{icon|boomrat leather||16}}{{icon|camelhair||16}}{{icon|capybaraskin||16}}{{icon|carribou leather||16}}{{icon|cassowary leather||16}}{{icon|catskin||16}}{{icon|chinchilla fur||16}}{{icon|cloth||16}}{{icon|cobraskin||16}}{{icon|cougarskin||16}}{{icon|cowskin||16}}{{icon|deerhide||16}}{{icon|devilstrand||16}}{{icon|dromedary leather||16}}{{icon|elephant skin||16}}{{icon|elkhide||16}}{{icon|emu leather||16}}{{icon|fabrics||16}}{{icon|fennec foxskin||16}}{{icon|gazelle leather||16}}{{icon|goathide||16}}{{icon|hare leather||16}}{{icon|human leather||16}}{{icon|husky fur||16}}{{icon|hyperweave||16}}{{icon|iguana skin||16}}{{icon|labrador fur||16}}{{icon|leathers||16}}{{icon|lynxskin||16}}{{icon|megatherium leather||16}}{{icon|megatherium wool||16}}{{icon|monkeyhide||16}}{{icon|muffalo leather||16}}{{icon|muffalo wool||16}}{{icon|ostrich leather||16}}{{icon|pantherskin||16}}{{icon|pigskin||16}}{{icon|polarbearskin||16}}{{icon|raccoon leather||16}}{{icon|rat leather||16}}{{icon|red foxskin||16}}{{icon|rhinohide||16}}{{icon|snowhare leather||16}}{{icon|squirrelskin||16}}{{icon|synthread||16}}{{icon|thrumbofur||16}}{{icon|timber wolfskin||16}}{{icon|tortoise leather||16}}{{icon|turkey leather||16}}{{icon|warg fur||16}}{{icon|yorkieskin||16}}}}
 
{{icon|alpaca wool||16}}{{icon|alpacahide||16}}{{icon|arctic foxskin||16}}{{icon|arctic wolfskin||16}}{{icon|bearskin||16}}{{icon|beaverskin||16}}{{icon|boomalope leather||16}}{{icon|boomrat leather||16}}{{icon|camelhair||16}}{{icon|capybaraskin||16}}{{icon|carribou leather||16}}{{icon|cassowary leather||16}}{{icon|catskin||16}}{{icon|chinchilla fur||16}}{{icon|cloth||16}}{{icon|cobraskin||16}}{{icon|cougarskin||16}}{{icon|cowskin||16}}{{icon|deerhide||16}}{{icon|devilstrand||16}}{{icon|dromedary leather||16}}{{icon|elephant skin||16}}{{icon|elkhide||16}}{{icon|emu leather||16}}{{icon|fabrics||16}}{{icon|fennec foxskin||16}}{{icon|gazelle leather||16}}{{icon|goathide||16}}{{icon|hare leather||16}}{{icon|human leather||16}}{{icon|husky fur||16}}{{icon|hyperweave||16}}{{icon|iguana skin||16}}{{icon|labrador fur||16}}{{icon|leathers||16}}{{icon|lynxskin||16}}{{icon|megatherium leather||16}}{{icon|megatherium wool||16}}{{icon|monkeyhide||16}}{{icon|muffalo leather||16}}{{icon|muffalo wool||16}}{{icon|ostrich leather||16}}{{icon|pantherskin||16}}{{icon|pigskin||16}}{{icon|polarbearskin||16}}{{icon|raccoon leather||16}}{{icon|rat leather||16}}{{icon|red foxskin||16}}{{icon|rhinohide||16}}{{icon|snowhare leather||16}}{{icon|squirrelskin||16}}{{icon|synthread||16}}{{icon|thrumbofur||16}}{{icon|timber wolfskin||16}}{{icon|tortoise leather||16}}{{icon|turkey leather||16}}{{icon|warg fur||16}}{{icon|yorkieskin||16}}}}
Line 140: Line 140:
 
'''32 px:'''
 
'''32 px:'''
  
{{icon|wood||32}}{{icon|metal||32}}{{icon|plasteel||32}}{{icon|cloth||32}}{{icon|devilstrand||32}}{{icon|synthread||32}}{{icon|hyperweave||32}}{{icon|stone||32}}{{icon|silver||32}}{{icon|gold||32}}{{icon|uranium||32}}{{icon|potato||32}}{{icon|agave||32}}{{icon|berries||32}}{{icon|bmeat||32}}{{icon|smeat||32}}{{icon|hmeat||32}}{{icon|muffalo||32}}{{icon|npaste||32}}{{icon|simple||32}}{{icon|fine||32}}{{icon|lavish||32}}{{icon|survival||32}}{{icon|shell||32}}{{icon|missile||32}}{{icon|debris||32}}{{icon|slag||32}}{{icon|component||32}}{{icon|herbal||32}}{{icon|medicine||32}}{{icon|glitterworld||32}}{{icon|corn||32}}{{icon|hops||32}}{{icon|rice||32}}{{icon|milk||32}}{{icon|rose||32}}{{icon|dandelions||32}}{{icon|daylily||32}}{{icon|buildingmat||32}}
+
{{icon|wood||32}}{{icon|metal||32}}{{icon|plasteel||32}}{{icon|cloth||32}}{{icon|devilstrand||32}}{{icon|synthread||32}}{{icon|hyperweave||32}}{{icon|stone||32}}{{icon|silver||32}}{{icon|gold||32}}{{icon|uranium||32}}{{icon|potato||32}}{{icon|agave||32}}{{icon|berries||32}}{{icon|bmeat||32}}{{icon|smeat||32}}{{icon|hmeat||32}}{{icon|muffalo||32}}{{icon|npaste||32}}{{icon|simple||32}}{{icon|fine||32}}{{icon|lavish||32}}{{icon|survival||32}}{{icon|shell||32}}{{icon|missile||32}}{{icon|debris||32}}{{icon|slag||32}}{{icon|component||32}}{{icon|advcomponent||32}}{{icon|herbal||32}}{{icon|medicine||32}}{{icon|glitterworld||32}}{{icon|corn||32}}{{icon|hops||32}}{{icon|rice||32}}{{icon|milk||32}}{{icon|rose||32}}{{icon|dandelions||32}}{{icon|daylily||32}}{{icon|buildingmat||32}}
 
{{collapse|
 
{{collapse|
 
{{icon|alpaca wool||32}}{{icon|alpacahide||32}}{{icon|arctic foxskin||32}}{{icon|arctic wolfskin||32}}{{icon|bearskin||32}}{{icon|beaverskin||32}}{{icon|boomalope leather||32}}{{icon|boomrat leather||32}}{{icon|camelhair||32}}{{icon|capybaraskin||32}}{{icon|carribou leather||32}}{{icon|cassowary leather||32}}{{icon|catskin||32}}{{icon|chinchilla fur||32}}{{icon|cloth||32}}{{icon|cobraskin||32}}{{icon|cougarskin||32}}{{icon|cowskin||32}}{{icon|deerhide||32}}{{icon|devilstrand||32}}{{icon|dromedary leather||32}}{{icon|elephant skin||32}}{{icon|elkhide||32}}{{icon|emu leather||32}}{{icon|fabrics||32}}{{icon|fennec foxskin||32}}{{icon|gazelle leather||32}}{{icon|goathide||32}}{{icon|hare leather||32}}{{icon|human leather||32}}{{icon|husky fur||32}}{{icon|hyperweave||32}}{{icon|iguana skin||32}}{{icon|labrador fur||32}}{{icon|leathers||32}}{{icon|lynxskin||32}}{{icon|megatherium leather||32}}{{icon|megatherium wool||32}}{{icon|monkeyhide||32}}{{icon|muffalo leather||32}}{{icon|muffalo wool||32}}{{icon|ostrich leather||32}}{{icon|pantherskin||32}}{{icon|pigskin||32}}{{icon|polarbearskin||32}}{{icon|raccoon leather||32}}{{icon|rat leather||32}}{{icon|red foxskin||32}}{{icon|rhinohide||32}}{{icon|snowhare leather||32}}{{icon|squirrelskin||32}}{{icon|synthread||32}}{{icon|thrumbofur||32}}{{icon|timber wolfskin||32}}{{icon|tortoise leather||32}}{{icon|turkey leather||32}}{{icon|warg fur||32}}{{icon|yorkieskin||32}}}}
 
{{icon|alpaca wool||32}}{{icon|alpacahide||32}}{{icon|arctic foxskin||32}}{{icon|arctic wolfskin||32}}{{icon|bearskin||32}}{{icon|beaverskin||32}}{{icon|boomalope leather||32}}{{icon|boomrat leather||32}}{{icon|camelhair||32}}{{icon|capybaraskin||32}}{{icon|carribou leather||32}}{{icon|cassowary leather||32}}{{icon|catskin||32}}{{icon|chinchilla fur||32}}{{icon|cloth||32}}{{icon|cobraskin||32}}{{icon|cougarskin||32}}{{icon|cowskin||32}}{{icon|deerhide||32}}{{icon|devilstrand||32}}{{icon|dromedary leather||32}}{{icon|elephant skin||32}}{{icon|elkhide||32}}{{icon|emu leather||32}}{{icon|fabrics||32}}{{icon|fennec foxskin||32}}{{icon|gazelle leather||32}}{{icon|goathide||32}}{{icon|hare leather||32}}{{icon|human leather||32}}{{icon|husky fur||32}}{{icon|hyperweave||32}}{{icon|iguana skin||32}}{{icon|labrador fur||32}}{{icon|leathers||32}}{{icon|lynxskin||32}}{{icon|megatherium leather||32}}{{icon|megatherium wool||32}}{{icon|monkeyhide||32}}{{icon|muffalo leather||32}}{{icon|muffalo wool||32}}{{icon|ostrich leather||32}}{{icon|pantherskin||32}}{{icon|pigskin||32}}{{icon|polarbearskin||32}}{{icon|raccoon leather||32}}{{icon|rat leather||32}}{{icon|red foxskin||32}}{{icon|rhinohide||32}}{{icon|snowhare leather||32}}{{icon|squirrelskin||32}}{{icon|synthread||32}}{{icon|thrumbofur||32}}{{icon|timber wolfskin||32}}{{icon|tortoise leather||32}}{{icon|turkey leather||32}}{{icon|warg fur||32}}{{icon|yorkieskin||32}}}}

Revision as of 04:03, 25 November 2017

A minimalist helper template to quickly create a resource icon.

Usage

{{icon 
| type (metal/plasteel/cloth/etc) <-- determines image displayed and sets alt text
| amount 
| image size (optional, 16px resize by default)
| image position (optional, use default settings)
}}
List of available types
  • wood
  • steel
  • plasteel
  • cloth
  • devilstrand
  • synthread
  • hyperweave
  • stone
  • silver
  • gold
  • uranium
  • potato
  • agave
  • berries
  • bmeat
  • smeat
  • hmeat
  • muffalo
  • npaste
  • simple
  • fine
  • lavish
  • survival
  • shell
  • debris
  • slag
  • component
  • advcomponent
  • herbal
  • medicine
  • glitterworld
  • corn
  • hops
  • rice
  • milk
  • rose
  • dandelions
  • daylily
  • buildingmat (used to represent building materials -- steel, wood, plasteel, etc -- as a group)
Textiles
  • alpaca wool
  • alpacahide
  • arctic foxskin
  • arctic wolfskin
  • bearskin
  • beaverskin
  • boomalope leather
  • boomrat leather
  • camelhair
  • capybaraskin
  • carribou leather
  • cassowary leather
  • catskin
  • chinchilla fur
  • cloth
  • cobraskin
  • cougarskin
  • cowskin
  • deerhide
  • devilstrand
  • dromedary leather
  • elephant skin
  • elkhide
  • emu leather
  • fabrics
  • fennec foxskin
  • gazelle leather
  • goathide
  • hare leather
  • human leather
  • husky fur
  • hyperweave
  • iguana skin
  • labrador fur
  • leathers
  • lynxskin
  • megatherium leather
  • megatherium wool
  • monkeyhide
  • muffalo leather
  • muffalo wool
  • ostrich leather
  • pantherskin
  • pigskin
  • polarbearskin
  • raccoon leather
  • rat leather
  • red foxskin
  • rhinohide
  • snowhare leather
  • squirrelskin
  • synthread
  • thrumbofur
  • timber wolfskin
  • tortoise leather
  • turkey leather
  • warg fur
  • yorkieskin


List of deprecated types
  • metal (superseded by: steel)
  • uran (superseded by: uranium)
  • med (superseded by: medicine)
  • muffalo (superseded by: bmeat)
  • boomrat (superseded by: smeat)
  • squirell (sic) (superseded by:smeat)
  • missile (does not exist in vanilla)

Examples

Just an icon: Steel

{{icon|metal}}

Icon with quantity: Potato 10

{{icon|potato|10}}

Bigger icon with quantity: Silver 250

{{icon|silver|250|32}} (size is in pixels)
Everything Available

16 px (default):

Wood Steel Plasteel Cloth Devilstrand Cloth Synthread Hyperweave Stone Silver Gold Uranium Potato Agave Berries Meat big Meat small Meat human Muffalo meat Nutrient paste meal Simple meal Fine meal Lavish meal Packaged survival meal Shell Missile Rock chunk Steel slag chunk Component Advanced component Herbal medicine Medicine Glitterworld medicine Corn Hops Rice Milk Rose Dandelions Daylily Building Material (steel, wood, plasteel, etc.)


32 px:

Wood Steel Plasteel Cloth Devilstrand Cloth Synthread Hyperweave Stone Silver Gold Uranium Potato Agave Berries Meat big Meat small Meat human Muffalo meat Nutrient paste meal Simple meal Fine meal Lavish meal Packaged survival meal Shell Missile Rock chunk Steel slag chunk Component Advanced component Herbal medicine Medicine Glitterworld medicine Corn Hops Rice Milk Rose Dandelions Daylily Building Material (steel, wood, plasteel, etc.)


Without a parameter

Using the template without any parameters will simply generate a icon, without anything other text.

Render and link

  • Template will not generate a link, and will not be linkable (neither the text, nor the icon).
  • However, mousing over the template will create a hover text with the full English rendering, for readability:
Steel | class="text-right" | Metal
Steel 1 | class="text-right" | 1 Metal
Steel 5 | class="text-right" |5 Metal