This is a documentation subpage for Template:Infotable Bonuses.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Infotable Bonuses invokes function main in Module:Infotable Bonuses using Lua.
Template:Infotable Bonuses invokes Module:Infotable Bonuses using Lua.

Template for inserting a table of item bonuses on a page. This lists a number of equippable game items, that has some kind of relation to each other, along with their associated stats in a table layout for an easy overview. This could be items that are part of an armour set or items that fall into the same category.

Pages this template is suitable for is disambiguation pages for item categories, and also for pages dedicated to an armour set. It can also be useful for item pages where its desireable to compare an item against other similar items, although the latter should probably be reserved for top-tier items. This template is not suitable for comparing weapons though, but it can nevertheless be used on disambiguation pages for weapons to provide an overview.

Usage

{{Infotable Bonuses|item1|item2|item3 ...}}

Items listed needs to match the name of a wiki page that uses Template:Infobox Bonuses. In case an item has multiple variants, one of the subvariants has to be specified by appending a '#' sign and the sub-variant's name.

If you are unsure as to which variant to list, you can use the base name of the item and turn off sorting temporary, this should present you with a list of variants to chose from. The one you want is ususally the undamaged item or otherwise the item with the highest stats. For items that can be charged, you can pick the uncharged version if the stats are the same, otherwise chose the charged one.

Pages which erroneously lists multi-variant items will be added to Category:Infotable Bonuses with multi-variant items allowing maintainers to find and fix lists with errors in them.

Examples

{{Infotable Bonuses|Verac's brassard#Undamaged|Verac's flail#Undamaged|Verac's helm#Undamaged|Verac's plateskirt#Undamaged}}

ItemAttack BonusesDefence BonusesOther
Stab attackSlash attackCrush attackMagic attackRanged attackStab defenceSlash defenceCrush defenceMagic defenceRanged defenceMelee strengthMagic damageRanged strengthPrayer bonusWeightMembers
Verac's brassardVerac's brassard000-6-281958508100%054.989Members
Verac's flailVerac's flail68-2820000000720%062.267Members
Verac's helmVerac's helm000-6-255585405600%031.36Members
Verac's plateskirtVerac's plateskirt000-21-1185828308400%044.535Members
Totals68-282-33-152212352220221720%01813.151N/A

{{Infotable Bonuses|Bronze axe|Iron axe|Steel axe|Black axe|Mithril axe|Adamant axe|Rune axe|Dragon axe|Crystal axe#Active|order=asc|nototals=yes|sort=str|attackspeed=yes}}

ItemAttack BonusesDefence BonusesOther
Stab attackSlash attackCrush attackMagic attackRanged attackStab defenceSlash defenceCrush defenceMagic defenceRanged defenceMelee strengthMagic damageRanged strengthPrayer bonusWeightMembersAttack speed
Bronze axeBronze axe-242000100050%001.36Free-to-play5
Iron axeIron axe-253000100070%001.36Free-to-play5
Steel axeSteel axe-286000100090%001.36Free-to-play5
Black axeBlack axe-21080001000120%001.36Free-to-play5
Mithril axeMithril axe-212100001000130%001.133Free-to-play5
Adamant axeAdamant axe-217150001000190%001.587Free-to-play5
Rune axeRune axe-226240001000290%001.36Free-to-play5
Dragon axeDragon axe-238320001000420%001.36Members5
Crystal axeCrystal axe-238320001000420%000.907Members5

Split totals

{{Infotable Bonuses|Lunar helm|Lunar torso|Lunar legs|Lunar gloves|Lunar boots|Lunar cape|colwidth=30px|itemwidth=110px}}

{{Infotable Bonuses|Lunar amulet|Lunar ring|Lunar staff|itemwidth=110px|colwidth=30px|noheader=yes}}

ItemAttack BonusesDefence BonusesOther
Stab attackSlash attackCrush attackMagic attackRanged attackStab defenceSlash defenceCrush defenceMagic defenceRanged defenceMelee strengthMagic damageRanged strengthPrayer bonusWeightMembers
Lunar helmLunar helm0003-287102000%000.907Members
Lunar torsoLunar torso00010-1034224012000%004.535Members
Lunar legsLunar legs0007-72019239000%003.628Members
Lunar glovesLunar gloves0004-12112000%000.907Members
Lunar bootsLunar boots0002-11222000%000.907Members
Lunar capeLunar cape000000110200%000.453Members
Totals00026-2165527727200%0011.337N/A
Lunar amuletLunar amulet000100001000%000.01Members
Lunar ringLunar ring000200002000%000.006Members
Lunar staffLunar staff3216130232131150%032.267Members
Totals3216160232161150%032.283N/A

Row comments

Useful when using the infotable for a tier comparison of a single equipment slot, and commentary per item is helpful.

{{Infotable Bonuses|sort=dslash
|Leather gloves |comment1 = Although their crush defence bonus is better than that of [[leather vambraces]], the difference is minimal - and slash attack type is significantly more common due to scimitars and 2-handed swords.
|Leather vambraces |comment2 = Considered the best free-to-play gloves without any level requirements. Since they have no attack penalties, mages can safely use these gloves and are encouraged to do so.
|Green d'hide vambraces |comment3 = The best gloves available for both ranged and melee combat.
}}
ItemAttack BonusesDefence BonusesOtherComment
Stab attackSlash attackCrush attackMagic attackRanged attackStab defenceSlash defenceCrush defenceMagic defenceRanged defenceMelee strengthMagic damageRanged strengthPrayer bonusWeightMembers
Leather glovesLeather gloves000000120000%000.226Free-to-playAlthough their crush defence bonus is better than that of leather vambraces, the difference is minimal - and slash attack type is significantly more common due to scimitars and 2-handed swords.
Green d'hide vambracesGreen d'hide vambraces000-1081222000%000.283Free-to-playConsidered the best free-to-play gloves without any level requirements. Since they have no attack penalties, mages can safely use these gloves and are encouraged to do so.
Leather vambracesLeather vambraces000042210000%000.226Free-to-playThe best gloves available for both ranged and melee combat.
Totals000-10123552000%000.735N/A

Parameters

Numbered parameters

Parameter Description Default Required
item1, item2, item3 ... Items to list. Items listed needs to match the name of a wiki page that uses Template:Infobox Bonuses. In case an item has multiple variants, one of the subvariants has to be specified by appending a '#' sign and the sub-variant's name. N/A required

Pages which erroneously lists multi-variant items will be added to Category:Infotable Bonuses with multi-variant items allowing maintainers to find and fix lists with errors in them.

Filters

Providing a page name containing two colons will use that as a filter instead; e.g. {{Infotable Bonuses|combat_style::Polearm}} will instead search for combat_style = Polearm in the infobox bonuses bucket ([1]). However, this will throw Lua errors if you don't include sort and nototals arguments (ex. {{Infotable Bonuses|combat_style::Polearm|sort=acrush|nototals=yes}})

Named parameters

Parameter Description Default Required
comment1
commentN
Comment for the respective item at index 1 through N. If no comments are specified, the comments column is not shown. N/A optional
noheader Set to 'yes' to omit table header. 'no' optional
nototals Set to 'yes' to omit totals. 'no' optional
sort Sorting key. Set to one or more of: 'astab', 'aslash', 'acrush', 'amagic', 'arange', 'dstab', 'dslash', 'dcrush', 'dmagic', 'drange', 'str', 'mdmg', 'rstr' and 'prayer'. Use comma as a separator between the sorting keys. (alphabetical) optional
order Sorting order. Set to one or more of: 'ascending', 'asc', 'descending', 'desc', 'reverse', 'random' and 'rand'. Use comma as a separator between the sorting orders. 'ascending' optional
colwidth Default column width intended for the split-totals mode. N/A optional
itemwidth Default item column width intended for the split-totals mode. N/A optional
expensive Exists only to help maintainers locate errors on wiki pages, and can be enabled site-wide by changing a default in the Lua module. Should be disabled unless doing maintenance. false optional, debug
attackspeed Include a column with the attack speed of each item
attackrange Include a column with the attack range of each item

See also