More actions
Template documentation
Inserts an icon into the Cargo item_icon database. Enables use of Template:ItemIcon.
Usage:{{ItemIcon Insert |icon=filename of the icon to use, without the File: prefix |image=(optional) filename of the image to use as an icon, without the File: prefix. Overridden if "icon" is defined. Used for item template pages which may have an image configured but not an icon. |rarity=the rarity of the item. One of (common,uncommon,rare, very rare,legendary,story). Defaults to common if not specified. }}
This template adds rows to the table "item_icon", which is declared by the template Itemicon insert. View table.
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
icon | icon | The icon file name, without the File: namespace. | Unknown | required |
image | image | An image for the item. This is usually a faded image. Unfaded images should be put into "icon". Is overridden by "icon". | Unknown | optional |
rarity | rarity | The rarity of the item. Defaults to common.
| Unknown | suggested |
uid | uid | The unique id for the item. Can be used to query items that have multiple of the same display name. | Unknown | suggested |