Template:Infobox accessory/doc

This template is used in articles to create an infobox about a hat. It contains information about the hat and will automatically categorize the page as a hat page (unless the nocat parameter is used). 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 copying the code below, pasting it into the article and filling the parameters. The only required parameters are the description and the item's ID, the others can be ignored. However, placing an image is very recommended and as much data as is available regarding the parameters should be put in the infobox. The parameters are described in the parameters section.

Only the most common parameters are in the code below. Other parameters are available and can be found in the parameters section mentioned in the previous paragraph.

Parameters
The list below explains all parameters and contains important notes.
 * name
 * This parameter controls the title shown at the top of the infobox. Do not fill this parameter if the name of the page is already the name of the item (which should be the case).


 * image
 * The thumbnail of the item. Extended image syntax should be used. If no image is given, the page will be categorized in Category:Pages with infoboxes needing an image. If the image is too big for the infobox resize it to 150 pixels. (example: Name.png )


 * caption
 * This caption will show under the image. Captions should not usually be added unless there is a reason to add them (most of the time, there isn't).


 * id
 * The item's ID. Can be found at the end of the URL of the item's page. This parameter is required.


 * tickets
 * This should be the number of tickets the item costs. It should be omitted if the item is not sold for tickets. The number is formatted automatically. It should therefore not be formatted manually. (example: 1000000, not 1,000,000)


 * 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. It should therefore not be formatted manually. (example: 1000000, not 1,000,000)


 * genres
 * This should be a list of the genres of the hat, separated by slashes (example: Building/Fighting/FPS/Horror). If there is only one genre, no slash is needed. If the format is not respected exactly, the template will throw an error. Also, note that genre names must be respected exactly. See genre enumerator for more information on the separation with slash and see genre for more information on the accepted genre names. Again, the template will throw an error if this is not respected exactly.


 * membership
 * The level of membership required to purchase the item. Please avoid abbreviations such as BC, TBC or OBC and use the full name (Builders Club, Turbo Builders Club or Outrageous Builders Club).


 * 13plus
 * If the hat is restricted to members 13 years old or older, specify this parameter. The value doesn't matter, as long as one is given. This will make a small 13+ icon ([[File:13plus.png]]) appear next to the name of the item.


 * limited
 * If the hat is limited, specify this parameter. The value doesn't matter, as long as one is given. This will make the 'Limited' label appear on top of the hat's thumbnail.


 * limitedu
 * If the hat is limited and unique, specify this parameter. The value doesn't matter, as long as one is given. This will make the 'LimitedU' label appear on top of the hat's thumbnail.


 * description
 * This should be a concise description of the player explaining, for example, what made him popular or what he does on ROBLOX. This parameter is required.


 * nocat
 * If this parameter is specified (if it has a value, whatever that value is), the page will not be put in the hats category. This parameter does not need to be specified if the page is not in the main namespace.