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
 * Gem
 * Head
 * Cloak

For additional/future images current files should be checked.

Examples
{	"params": { "itemName": { "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 },		"bgSize": { "description": "The size of the image and its borders in pixels", "type": "number", "default": "32", "suggested": true },		"imageType": { "description": "Namespace for non Item_ images", "example": "Item, Weapon, Armour, Jewelry, Gem, Head, Cloak", "type": "string", "default": "Item" }	},	"paramOrder": [ "itemName", "bgSize", "imageType" ] }