Template:Icon/doc
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
- advanced component
- 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:
{{icon|metal}}
Icon with quantity: 10
{{icon|potato|10}}
Bigger icon with quantity: 250
{{icon|silver|250|32}} (size is in pixels)
Everything Available
16 px (default):
<span style="white-space:nowrap;" title=" File:Emu leather.png File:Fennec foxskin.png File:Gazelle leather.png File:Husky fur.png File:Labrador fur.png File:Lynxskin.png <span style="white-space:nowrap;" title=" File:Megatherium wool.png File:Pantherskin.png File:Raccoon leather.png File:Rat leather.png File:Red foxskin.png File:Snowhare leather.png File:Timber wolfskin.png
32 px:
<span style="white-space:nowrap;" title=" File:Emu leather.png File:Fennec foxskin.png File:Gazelle leather.png File:Husky fur.png File:Labrador fur.png File:Lynxskin.png <span style="white-space:nowrap;" title=" File:Megatherium wool.png File:Pantherskin.png File:Raccoon leather.png File:Rat leather.png File:Red foxskin.png File:Snowhare leather.png File:Timber wolfskin.png
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:
| class="text-right" | Metal | |
1 | class="text-right" | 1 Metal | |
5 | class="text-right" |5 Metal |