Template:Icon Small

From RimWorld Wiki
Revision as of 18:43, 15 November 2022 by CrazyEights (talk | contribs)
Jump to navigation Jump to search
TYNAN
HATES
NIGGERS

[[]] (Error: Page does not exist)</includeonly>

Documentation icon Template documentation[view] [edit] [history] [purge]

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 improper 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
| amount (optional)
}}

Examples

Just an icon:
TYNAN
HATES
NIGGERS

Steel

{{Icon Small|steel}}
Icon with Size:
TYNAN
HATES
NIGGERS

Wood

{{Icon Small|Wood|32}}
Icon with Amount:
TYNAN
HATES
NIGGERS

Potatoes 10

{{Icon Small|Potatoes||10}}
Icon with Size and Amount:
TYNAN
HATES
NIGGERS

Chemfuel 150

{{Icon Small|Chemfuel|32|150}}