Template:ItemIcon

From Quasimorph Wiki
Jump to navigation Jump to search
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:ItemIcon/doc to edit this documentation. (How does this work?)

Usage

Template for displaying item icons.

This template redirects {{II}}.

Syntax

{{ItemIcon|<name>|<size>}}

Parameter

Parameter Description
name Which item's icon should be displayed.
size Specifies the size of the icon. Can either be set to one of the presets below or directly given as a px value (same syntax as for setting the image size of a normal file link).

Sample

Input

Normal:

{{ItemIcon|9mm}}

With custom size:

{{ItemIcon|9mm|small}} or {{ItemIcon|9mm|33px}}

Output

Normal:
Inv 9mm.png

With custom size:

Inv 9mm.png or Inv 9mm.png