Template:Icon Small

From RimWorld Wiki
Revision as of 21:48, 7 September 2018 by PieTau (talk | contribs) (First character is now always uppercase, also added some checks that will give back info whats gone wrong. so it's easier to use)
Jump to navigation Jump to search

[[]](Page does not exist)

Description

Will give a small icon (16px default)
Image is taken from the page, so all pages that have a image should be able to display an icon of it.

There are checks that will give some feedback when inproper used

Usage

{{Icon Small
| name <-- determines image displayed, is a Pagename that has an image
| image size (optional, 16px resize by default) has to be an integer
}}

Examples

Just an icon: Steel c.png

{{Icon Small|steel}}

Icon with Size: Woodlog c.png

{{Icon Small|Wood|32}}