FANDOM


Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:Infotable Bonuses row/doc.

This template was designed to be used in conjunction with {{InfoHeader}} and {{Infotable Bonuses totals}}, however it can be used with any table that has 12 columns, or 13-18 if additional parameters are used.

It produces a row of item stats data and is followed by a table row start ( |- ). These templates can be stacked on top of each other to quickly and effectively make a table of item stat information complete with a total at the bottom, primarily used for armour sets. However, for readability it may be wise to separate them with ( |- ), even though they are included in the template.

Usage

If a required parameter is not set, it will default to N/A or zero. Other parameters such as name and image which will simply not show up.

type should only be used if the table has more than one type (otherwise it should be set in the header template). You can have the "Type" column appear on a table header by setting the type/class = Mixed.

level and level2 should only be used if skill and skill2 are set in the table header.

price should only be used if price is set in the table header. This is not intended for calculating set costs. To calculate set costs, use {{GE Set Cost Table}}.

{{Infotable Bonuses row
| ge         = Name of the GE object. Automatically sets the GEIcon, as well as a link to the item's page. Note: this cannot be used with name/image.
---OR---
| name       = Name of the item. Doesn't automatically create a link.
| image      = An image, including [[File:]] (usually an inventory image).

| type       = Will specify an item's type. Melee/Ranged/Magic/All/None/[custom]
| level      = Level of "skill" identified on info header.
| level2     = Level of "skill2" identified on info header.
| mstyle     = The style of the mainhand weapon, e.g. Slashing for whip.
| mdmg       = The damage caused by a mainhand weapon.
| macc       = The accuracy of a mainhand weapon.
| ostyle     = The style of the offhand weapon, e.g. Slashing for dagger.
| odmg       = The damage caused by an offhand weapon.
| oacc       = The accuracy of an offhand weapon.
| armour     = The amount of armour of a piece of armour has.
| life       = The amount of life points boosted by the equipment.
| prayer     = The prayer bonus given by the equipment.
| strength  = The damage bonus given to a melee weapon and armour.
| ranged = The damage bonus given to a ranged weapon and armour.
| magic  = The damage bonus given to a magic weapon and armour.
| price      = Price of the item. If "ge" was used earlier, price=ge will fetch the price for you. For the totals row, use price=total.
}}

Quick Copy

For copying and pasting:

Tradable

Header
{{InfoHeader|type=melee|price=yes}}
Main-hand
{{InfoRow|ge=Bronze dagger|price=ge|mstyle=|mdmg=|macc=}}
Off-hand
{{InfoRow|ge=Off-hand bronze dagger|price=ge|ostyle=|odmg=|oacc=}}
Armour
{{InfoRow|ge=Bronze platebody|price=ge|armour=|life=}}
Damage Bonuses
{{InfoRow|ge=Amulet of fury|price=ge|strength=|ranged=|magic=}}
Summary
{{InfoRow|price=total|mstyle=|mdmg=|macc=|ostyle=|odmg=|oacc=|armour=|life=|strength=|ranged=|magic=}}

Untradable

Header
{{InfoHeader|type=melee}}
Main-hand
{{InfoRow|name=[[itemName]]|image=[[File:itemName.png]]
|mstyle=|mdmg=|macc=}}
Off-hand
{{InfoRow|name=[[itemName]]|image=[[File:itemName.png]]
|ostyle=|odmg=|oacc=}}
Armour
{{InfoRow|name=[[itemName]]|image=[[File:itemName.png]]
|armour=|life=}}
Damage Bonuses
{{InfoRow|name=[[itemName]]|image=[[File:itemName.png]]
|strength=|ranged=|magic=}}
Summary
{{InfoRow|mstyle=|mdmg=|macc=|ostyle=|odmg=|oacc=|armour=|life=|strength=|ranged=|magic=}}

Other parameters should be added as you go along for readability (if they aren't entered, N/A or 0 will be entered for consistency of unused values).

Example

For the last row (for totals), you must not assign a name or image or ge.

With GE

{{InfoHeader|type=Melee|price=yes}}
{{InfoRow|ge=Rune full helm|price=ge
|armour=170}}
{{InfoRow|ge=Rune platebody|price=ge
|armour=195}}
{{InfoRow|ge=Rune platelegs|price=ge
|armour=187}}
{{InfoRow|ge=Rune kiteshield|price=ge
|armour=170}}
{{InfoRow|ge=Rune longsword|price=ge
|mstyle=slash|mdmg=612|macc=850}}
{{Infotable Bonuses totals}}
{{InfoRow|armour=722|mstyle=slash|mdmg=612|macc=850|price=total}}
{{InfoTableEnd}}
Attack
Item
Main-handOff-hand Attributes Style bonus
Style Dmg Acc Style Dmg Acc Defence Constitution Prayer Attack-icon Ranged-icon Magic-icon
Rune full helmRune full helm - - - - - - 170 0 0 - - -20,892
Rune platebodyRune platebody - - - - - - 195 0 0 - - -37,480
Rune platelegsRune platelegs - - - - - - 187 0 0 - - -37,002
Rune kiteshieldRune kiteshield - - - - - - 170 0 0 - - -30,650
Rune longswordRune longsword Slash 612 850 - - - 0 0 0 - - -17,883
Totals Slash 612 850 - - - 722 0 0 - - -143,907

Without GE

{{InfoHeader|type=Melee}}
{{InfoRow|name=[[Rune full helm]]|image=[[File:Rune full helm.png]]
|armour=170}}
{{InfoRow|name=[[Rune platebody]]|image=[[File:Rune platebody.png]]
|armour=195}}
{{InfoRow|ge=Rune platelegs
|armour=187}}
{{InfoRow|ge=Rune kiteshield
|armour=170}}
{{InfoRow|name=[[Rune longsword]]|image=[[File:Rune longsword.png]]
|mstyle=slash|mdmg=612|macc=850}}
{{Infotable Bonuses totals}}
{{InfoRow|armour=722|mstyle=slash|mdmg=612|macc=850}}
{{InfoTableEnd}}
Attack
Item
Main-handOff-hand Attributes Style bonus
Style Dmg Acc Style Dmg Acc Defence Constitution Prayer Attack-icon Ranged-icon Magic-icon
Rune full helmRune full helm - - - - - - 170 0 0 - - -
Rune platebodyRune platebody - - - - - - 195 0 0 - - -
Rune platelegsRune platelegs - - - - - - 187 0 0 - - -
Rune kiteshieldRune kiteshield - - - - - - 170 0 0 - - -
Rune longswordRune longsword Slash 612 850 - - - 0 0 0 - - -
Totals Slash 612 850 - - - 722 0 0 - - -

See also

Community content is available under CC-BY-SA unless otherwise noted.