Template:Infobox Bonuses
From the RuneScape Wiki, the wiki for all things RuneScape
| Bonuses Hover over image for type | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ? | ? | ? | ? | ? | |||||||
| ? | ? | ? | ? | ? | ? | ||||||
| Other bonuses | |||||||||||
| ? | ? | ? | ? | ||||||||
| Item compare not supported | |||||||||||
This documentation is transcluded from Template:Infobox Bonuses/doc.
The Infobox Bonuses template adds an infobox to display Attack and Defence bonuses for weapons and equipment. Other bonuses such as Strength, Prayer and 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.
Contents |
Usage
{{Infobox Bonuses
| astab = The value with a +ve or -ve sign. Use 0 if no bonuses. (i.e. +90, -45, 0)
| aslash =
| acrush =
| amagic =
| arange =
| dstab =
| dslash =
| dcrush =
| dmagic =
| drange =
| dsummon =
| str =
| rangestr =
| prayer =
| magicdamage = include the % sign after positive bonuses
| aspeed = optional; for weapons
| image = see below
| caption = optional; see below
}}
|
Attack speed
The aspeed parameter is an optional number that represents speed for weapons. The lower the number, the slower the weapon (see Official Weapon Types page).
Image and caption
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 a image
If the image is too big and does not fit the infobox properly, simply resize the image by adding this:
-
{{!}}size- 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
