Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:ItemImage/doc to edit this documentation. (How does this work?)

Description

This template is used to display a 32x32 (default) sprite of any item.

Syntax

{{ItemImage|<item name>}}


You can also scale up or down the sprite using the <scale> parameter. Note: Use this parameter sparingly!

{{ItemImage|<item name>|scale=<value>}}


The link parameter can be used to redirect the image link to another existing page. By default, the image link will be the item image, thus it is not compulsory to use the link parameter unless needed.

{{ItemImage|<item name>|link=<page>}}
{{ItemImage|<item name>|scale=<value>|link=<page>}}

Parameters

Parameter Function Value Default Value
scale Scale the image to either larger or smaller 0.5 1
0.75
2
3
4
link Redirect the image to the specified link when clicked. If set to false, there won't be any redirect. Any available page / false <item name>

Examples

Code Result
{{ItemImage|Soil Block}}
{{ItemImage|Pink Block|scale=2}}
{{ItemImage|Quantum Safe|scale=4}}
{{ItemImage|Dracula Cape|scale=2|link=Soil Block}}
{{ItemImage|Katana|scale=2|link=false}}


Community content is available under CC-BY-SA unless otherwise noted.