More actions
See also: Template:RarityItem
This template is similar to RarityItem except it places the icon above the link to the item.
The default size is 50px (width and height).
Examples
Markup | Renders as |
---|---|
{{Image rarity item|Moondrop Pendant}} | Moondrop Pendant |
{{Image rarity item|Moondrop Pendant|Moon Pendant}} | Moon Pendant |
{{Image rarity item|Moondrop Pendant|w=80}} | Moondrop Pendant |
Template Data Section
Inserts an item's icon automatically. Can also display a link to the item.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the icon. Identical to the item's page name.
| Page name | required |
uid | uid | If specified, will instead search by UID. | String | optional |
size | size | The height of the item icon.
| Number | optional |
show_name | show_name | If non-empty, will link the icon as well. | Boolean | optional |
no_padding | no_padding | Whether to remove exterior padding. Advanced use. | Unknown | optional |
show_rarity | show_rarity | If non-empty, will display an icon border corresponding to the rarity. | Boolean | optional |
override_icon | override_icon | If provided, will override the icon with the provided one. | String | optional |
override_rarity | override_rarity | If provided, will replace the fetched rarity. | String | optional |
alias | alias | An alias for the item. | String | optional |
wrap | wrap | If non-empty, will allow the item icon to wrap. | Boolean | optional |