Template:Icon/doc

From RimWorld Wiki
< Template:Icon
Revision as of 11:20, 22 February 2015 by ElStrages (talk | contribs)
Jump to navigation Jump to search

A minimalist helper template to quickly create a resource icon.

Usage

{{icon 
| type (metal/plasteel/devilstrand/synthread/hyperweave/stone/silver/potato/agave/berries/bmeat/smeat/hmeat/herbal/medicine/glitterworld...) - used for icon 
| amount 
| image size (optional, 16px resize by default)
| image position (optional, use default settings)
}}

Steel Plasteel Devilstrand Cloth Synthread Hyperweave Stone Silver Potato Agave Berries Meat big Meat small Meat human Nutrient paste meal Simple meal Fine meal Lavish meal Herbal medicine Medicine Glitterworld medicine

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