Template:Infobox bonuses

Parameters
Note: All parameter values are case insensitive

requirements
The skill level requirements of the equipment; should use Skillclickpic, with multiple skills being separated by a comma. "None" should be used if no skill requirements exist.

class
The item's class, this can be easily found by looking at it in game. The possible values are:

slot
The equipment slot in which the item is equipped. The possible values are:
 * or  or   or
 * or
 * or
 * or  or   or
 * or
 * or
 * or  or   or
 * or
 * or
 * or  or   or
 * or
 * or
 * or
 * or
 * or

Important: The last two sets of values are not interchangeable. Shields and off-hand weapons must have their parameter values defined separately for categorization purposes.

tier
The tier of the item. This is the value used in the formula here to give the item's stats. By default, rely on the armour value of armour and the accuracy of weapons. However, try to make sure the damage lines up too

type
The type of item this is. This accepts a few specific values to define what the item is (all of the following accepted, aliases in the same bullet, comma separated):

In addition to being displayed, this adds a category, and for armour ones, allows damage reduction calculation.

degrades
If this item degrades. If it does, enter the number of charges it has - see equipment degradation for more info on this. If charges are unknown, "Yes" can be used to show it does degrade. If it doesn't degrade, nothing should be entered (will hide it by default).

damage
The damage of the weapon. This applies to all handednesses of weapons - use the same parameter for main-hand, off-hand, and two-handed weapons. Leave blank if this is not applicable.

accuracy
The accuracy of the weapon. This applies to all handednesses of weapons. Leave blank if this is not applicable.

style
The combat style used by a weapon. Fill with the appropriate value or leave it blank / delete the parameter if this is not applicable. This parameter applies to both mainhand and off-hand items. Possible values are:


 * or
 * or
 * or
 * or

armour
The armour rating of a piece of equipment. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

life
The life points boost given by a piece of a equipment. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

prayer
The prayer bonus given by a piece of a equipment. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

strength
The Strength bonus given by the piece of equipment. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

ranged
The Ranged bonus given by the piece of equipment. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

magic
The Magic bonus given by the piece of equipment. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

pvmReduction
The template will attempt to automatically calculate the damage reduction from the tier, type, and class. Use this parameter if the calculated PvM damage reduction is not correct. If it is correct, delete the parameter.

pvpReduction
The template will attempt to automatically calculate the damage reduction from the tier, type, and class. Use this parameter if the calculated PvP damage reduction is not correct. If it is correct, delete the parameter.

attack_range

 * Also accepts attack range (space instead of underscore)

The attack range of the weapon, where melee weapons are range 1, halberds 2, etc. Leave blank/delete if not applicable.

speed

 * Also accepts aspeed

The attack speed of the weapon. Fill with the appropriate value or leave it blank / delete the parameter if this is not applicable. Possible values are:

image
An image of a player with the equipment on. Do not include the "File:" prefix and do not resize it. This size is determined through CSS.
 * image = Abyssal whip equipped.png

If this parameter is missing, a category is added, except for pocket, ring, and ammo slot items. For other slots, setting it to no will prevent the category being added.

altimage
Same usage as image allowing for a second image.

Deprecated parameters
These parameters are still supported by the template, but should ideally be replaced.

mainDamage

 * Replaced by damage

The damage output of a main-hand or two-handed weapon. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

mainAccuracy

 * Replaced by accuracy

The accuracy of a main-hand or two-handed weapon. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

offDamage

 * Replaced by damage

The damage output of an off-hand weapon. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

offAccuracy

 * Replaced by accuracy

The accuracy of an off-hand weapon. Fill with the appropriate number or leave it blank / delete the parameter if this is not applicable.

mainType and offType

 * Replaced by style

The damage type inflicted by that weapon of that hand. Currently does nothing.

image2

 * Replaced by altimage

Same usage as image allowing for a second image. This can cause issue with switch infoboxes and should be replaced as soon as possible.

Displaying multiple infoboxes
Multiple infoboxes can be displayed by identifying  parameters inside the template.

The parameters that apply to every version box are the same as those on the basic bonuses infobox; however, for every parameter there are an additional 20 named. The unnumbered parameters are the defaults, and will only be used for a version of the corresponding numbered param is not defined. For example, there is,  ,  , all the way to.

Parameters are only looked for up to the highest "version" defined. The "version" parameters only come as numbered parameters and they are used to define the text in the switch infobox buttons.

Parameters can be referenced and reused by using a dollar sign ($) followed by the index. For example:  will use whatever image is being used for.


 * Example