Template:Infobox BonusesClassic/doc

Credits go to the RuneScape wiki for providing this template. Original template page.

The Template:Infobox BonusesClassic template adds an infobox to display Attack and Defence bonuses, used before the Evolution of Combat, for weapons and equipment. Other bonuses such as runescape:Strength, runescape:Prayer and runescape:Ranged Strength bonuses may also be included. Two optional image and caption(s) may be added to the right of the infobox to show players wielding the weapon, or wearing the equipment. Image and caption parameters need to be listed last in the template for the compare link to work properly.

Attack speed
The aspeed parameter is an optional number that represents speed for weapons. The lower the number, the slower the weapon (see Attack speed).


 * {| class="wikitable"

!Speed!!Speed bar
 * align="center"|10||
 * align="center"|9||
 * align="center"|8||
 * align="center"|7||
 * align="center"|6||
 * align="center"|5||
 * align="center"|4||
 * align="center"|3||
 * align="center"|2||
 * align="center"|1||
 * align="center"|0||
 * align="center"|anim||
 * }
 * align="center"|4||
 * align="center"|3||
 * align="center"|2||
 * align="center"|1||
 * align="center"|0||
 * align="center"|anim||
 * }
 * align="center"|0||
 * align="center"|anim||
 * }
 * align="center"|anim||
 * }

Slot
The Worn Equipment interface slot where the item is worn. One of the following:
 * head
 * ammo
 * neck
 * cape
 * weapon
 * body
 * shield
 * 2h
 * legs
 * hands
 * feet
 * ring

Anything else (including undefined) is added to Category:Missing slot information.

Image and caption
NOTE: Currently, the image and caption parameters only work for two images. Due to technical limitations, adding more than two images with captions is not supported.

The "image" parameter may be used to add an image to the right of the infobox. The possible values are:
 * image=no - disables the parameter
 * image=needed - adds the page to Category:Needs image and displays a "Please upload an image!" message with a link to Special:Upload
 * image=[blank] or image is ignored - adds the page to Category:Needs image placement
 * image=filename (i.e. without File: or Image:) - adds the image to the infobox
 * caption=text - optional; adds the caption

For the second image, simply use:
 * image2=filename (i.e. without File: or Image:) - adds the second image to the infobox
 * caption2=text - optional; adds the caption for the second image

Resizing an image
If the image is too big and does not fit the infobox properly, simply resize the image by adding this:
 * - at the end of the image (or image2) parameter

For example, to resize an image to a width of 200 pixels, use:
 * image=filename 200px

And, to resize an image to a maximum width of 100 pixels or a maximum height of 150 pixels, use:
 * image=filename 100x150px