Template:Infobox accessory/doc

This template is used in articles to create an infobox about an accessory. The infobox shows information about the accessory and will automatically categorize the article. Being an infobox, it should be put at the top right corner of the page (the template should be put before any other content).

Infoboxes should be used to display, in a concise way, relevant and useful information that is common to many pages (in this case, hats). Even if the information is already in the infobox, it should also be in the page's main content.

Usage
The template can be used by filling the parameters, described in the parameters section.

Parameters
The list below explains all parameters and contains important notes.


 * name
 * This parameter controls the title shown at the top of the infobox. It should be the name of the accessory. If no value is provided, the page title will be used.


 * image
 * The thumbnail of the accessory. The simple file name should be used.


 * id
 * The item's ID. Can be found at the end of the URL of the item's page. This parameter is required. If the ID is not known, use “unknown”. If the item has no item page, and therefore has no ID, use “none”, but this should only be used for items that were replaced by a different item or that were never real items (for example, the Epic Katana or the All Season Sword).


 * accessory type
 * This should be the accessory type. Recognized types are “hat”, “hair”, “face”, “neck”, “shoulder”, “front”, “back”, and “waist”. The article will be added to the category relevant to its type. If there is no accessory type, “none” will cause the article to be added directly to Category:Accessories.


 * robux
 * This should be the number of Robux the item costs. It should be omitted if the item is not sold for Robux. If the item was once sold but is now limited, the original price (not the best price) should be used here. The number is formatted automatically.


 * premium robux
 * This should be the number of Robux the item costs for Roblox Premium members only if it has been discounted by its creator.


 * genres
 * This should be a list of the genres of the accessory, separated by commas (example: Building, Fighting, FPS, Horror). If there is only one genre, no comma is needed. Genre names are not case sensitive, can be separated by commas with or without a space after the comma, and can also be separated by slashes. See genre for more information on the accepted genre names. If there are no genres, or the genres are unknown, specify 'none'.


 * membership
 * The level of membership required to purchase the item.


 * creator
 * The name of the user who created the accessory. If the accessory was created by a past or current administrator other than the account, the page will be added to Category:Unofficial items. The UGC items category will be added if the accessory was not made by an administrator.


 * limited
 * Whether the accessory is limited (but not limited unique). Can be “1”, “yes”, “true” if the accessory is limited, “0”, “no”, “false” otherwise. Leave empty if the limited status is not known.


 * limitedu
 * Whether the accessory is limited unique.


 * free
 * Whether the accessory is free. This will make the text “Free” appear on the infobox, and categorize the page appropriately.


 * description
 * This should be the accessory's description. If the accessory does not have a description, write a description that describes the accessory.

TemplateData
{	"params": { "id": { "label": "Item ID", "description": "ID of the accessory; can be found in the URL of the accessory’s page in the catalog; “none” if there is no ID, “unknown” if the ID is not known", "example": "76692709", "type": "number", "required": true },		"name": { "label": "Name", "description": "Name of the accessory; default is same as page title", "example": "Disco Ball", "type": "line", "suggested": true },		"accessory type": { "label": "Accessory type", "description": "Possible values are “hat”, “hair”, “face”, “neck”, “shoulder”, “front”, “back”, “waist”, and “none”", "example": "shoulder", "type": "line", "suggested": true },		"image": { "label": "Image name", "description": "The thumbnail of the accessory; galleries of multiple images are also supported", "type": "wiki-file-name", "suggested": true },		"genres": { "label": "Genres", "description": "List of genres of the accessory, separated by commas", "example": "Town and city, Comedy", "type": "line", "suggested": true },		"creator": { "label": "Creator", "description": "Name of the player or group that created the accessory", "type": "line", "suggested": true },		"creator type": { "label": "Creator type", "description": "Creator type of the accessory: “user” or “group”", "example": "user", "type": "line", "default": "user", "suggested": true },		"description": { "label": "Description", "description": "Description of the accessory", "type": "content", "suggested": true },		"robux": { "label": "Price in Robux", "description": "Price of the accessory in Robux; original price (not lowest resale price) if the accessory is limited", "example": "250", "type": "number", "suggested": true },		"free": { "label": "Free", "description": "Whether the accessory is free", "example": "1", "type": "boolean", "suggested": true },		"limited": { "label": "Limited", "description": "Whether the item is limited", "example": "1", "type": "boolean", "suggested": true },		"limitedu": { "label": "Limited unique", "description": "Whether the item is limited unique", "example": "1", "type": "boolean", "suggested": true },		"membership": { "label": "Membership level", "description": "Level of membership required to purchase the item", "example": "premium", "type": "line", "suggested": true },		"premium robux": { "label": "Discounted Robux price for Premium", "description": "Price of the item for Roblox Premium members, if a discount exists", "example": "225", "type": "number" }	},	"description": "An infobox for articles about accessories", "format": "block" }