Template:Item infobox/doc

The Item infobox is used within Item pages to convey an item's function, cost, and place of purchase. The template will automatically hide any unused parameters.

Usage
To implement the infobox, you simply add  to the top of a page, and define the item's cost and recipe cost (if any) in   and   respectively. However, there are several attributes you should define, otherwise the infobox will have no useful information.

To set attributes, you simply add a few lines before closing the template call (before the closing squiggly brackets - ), and add each attribute and it's values with.

Below is the code you should add to each Item page. Remember to add additional attributes to the infobox depending on the item's properties.

Availability
Identify an item's primary shop with the following parameter. "Secret Shop" and "Drop Only" are valid shops. | shop =

If an item is available at the Secret Shop or Side Lane Shop, identify this with the following parameters. | secret = true | side lane shop = true

Availability
If an item has lore, provide it with following parameter. | lore =

Items with Bonuses
Because unused attributes are hidden, if you do not specify one of the  parameters, the infobox will not display one. Use the following code for items with a bonus: | bonus strength = | bonus agility = | bonus intelligence = | bonus health = | bonus mana = | bonus health regeneration flat = | bonus mana regeneration percent = | bonus damage = | bonus armor = | bonus evasion = | bonus magic resistance = | bonus movement speed flat = | bonus movement speed percent = | bonus attack speed =

Passive Items
Because unused attributes are hidden, if you do not specify an  parameter, the infobox will not display one. Use the following code for items with passive abilities: | passive = | passive2 =

Active Items and Consumables
Because unused attributes are hidden, if you do not specify an  parameter, the infobox will not display one. Use the following code for consumables and items with active abilities: | active = | charges =

The charges parameter will show the number of charges the item has underneath the active ability. Disregarding it will only show the active ability.

You can combine this with the above section for items that provide a bonus and have an active ability.

Recipes
If an item is used to craft another item, identify the recipes it's used in with the  parameter. | used in 1 = | used in 2 = | used in 3 = ...

If an item is made of other items in a recipe, you can identify the other items that are used to make it with the   parameter. | recipe 1 = | recipe 2 = | recipe 3 = ...