Template:ItemFrame

  |

Item Frame
A simple template for inserting linked images of items.

The frame/border is a separate image so item images should be added without a background. It also allows for the border to be changed independently.

The image is linked from the item name without spaces. If the image file contains spaces a redirect will be needed for that image to work correctly.

Images for specific item types also have diffrent prefixes. While most images will be prefixed by `Item_` not all are. At the time of writing the prefixes are the following:


 * Item
 * Weapon
 * Armour
 * Jewelry
 * Jewel
 * Gem
 * Head
 * Cloak

For additional/future images current files should be checked.

Examples
{	"params": { "1": {			"description": "Item name, used for image/page link. When used as the image name all spaces will be stripped.", "type": "wiki-page-name", "required": true },		"2": {			"description": "The amount of the item you want to be displayed next to the image.", "example": "18", "type": "number", "suggested": true },		"discountable": { "description": "Flag to hide discount quantity for recipes with no discount bonus", "example": "N", "type": "string", "suggested": true },		"type": { "description": "The type of item in question. Defaults to Item if undefined.", "example": "Item, Structure, Weapon, Armour, Cloak, Head, Jewelry, Jewel, Gem", "type": "string", "default": "Item" },		"bgSize": { "description": "The size of the image and its borders in pixels", "type": "number", "default": "30", "suggested": true }	},	"paramOrder": [ "1",		"2",		"discountable", "type", "bgSize" ] }