Template:Infotable Bonuses row/doc

From Darkan
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Infotable Bonuses row.
It contains usage information, categories, and other content that is not part of the original template page.

Usage

This template was designed to be used in conjunction with {{Infotable Bonuses header}} and {{Infotable Bonuses totals}}, however it can be used with any table that has 16 columns, or 17 if an image is desired. It produces a row of item stats data and is followed by a table row start ( |- ). These templates can be stacked on top of eachother to quickly and effectively make a table of item stat information complete with a total at the bottom, primarily used for armour sets. Positive and negative values should be indicated with a + and - respectively, such as "+4" or "-3". Zero values should simplly be "0".

Syntax

{{Infotable Bonuses row
|image = Optional. An image including the [[File:]] (usually an inventory image, but any image will work)
|astab = Attack stab bonus
|aslash = Attack slash bonus
|acrush = Attack crush bonus
|amagic = Attack magic bonus
|arange = Attack ranged bonus
|dstab = Defence stab bonus
|dslash = Defence slash bonus
|dcrush = Defence crush bonus
|dmagic = Defence magic bonus
|drange = Defence ranged bonus
|dsummon = Defence summoning bonus
|str = Strength bonus
|rangestr = Ranged strength bonus
|prayer = Prayer bonus
|magicdamage = Magic damage %
|absorbmelee = Melee absorb %
|absorbmagic = Magic absorb %
|absorbranged = Ranged absorb %
}}

For copying and pasting:

{{Infotable Bonuses row
|image= |astab= |aslash= |acrush= |amagic= |arange=
|dstab= |dslash= |dcrush= |dmagic= |drange= |dsummon=
|str= |rangestr= |prayer= |magicdamage=
|absorbmelee= |absorbmagic= |absorbranged=
}}


Example

{{Infotable Bonuses row
|image=File:Rune full helm.png |astab=0 |aslash=0 |acrush=0 |amagic=-6 |arange=-2
|dstab=+30 |dslash=+32 |dcrush=+27 |dmagic=-1 |drange=+30 |dsummon=+7
|str=0 |rangestr=0 |prayer=0 |magicdamage=0
}}
{{Infotable Bonuses row
|image=File:Rune-platebody-inv.png |astab=0 |aslash=0 |acrush=0 |amagic=-30 |arange=-10
|dstab=+82 |dslash=+80 |dcrush=+72 |dmagic=-6 |drange=+80 |dsummon=+40
|str=0 |rangestr=0 |prayer=0 |magicdamage=0
}}
{{Infotable Bonuses row
|image=File:Rune-platelegs-inv.png |astab=0 |aslash=0 |acrush=0 |amagic=-21 |arange=-7
|dstab=+51 |dslash=+49 |dcrush=+47 |dmagic=-4 |drange=+49 |dsummon=+15
|str=0 |rangestr=0 |prayer=0 |magicdamage=0
}}
{{Infotable Bonuses row
|image=File:Rune-kiteshield-inv.png |astab=0 |aslash=0 |acrush=0 |amagic=-8 |arange=-2
|dstab=+44 |dslash=+48 |dcrush=+46 |dmagic=-1 |drange=+46 |dsummon=+40
|str=0 |rangestr=0 |prayer=0 |magicdamage=0
}}
{{Infotable Bonuses totals
|astab=0 |aslash=0 |acrush=0 |amagic=-65 |arange=-21
|dstab=+207 |dslash=+209 |dcrush=+192 |dmagic=-12 |drange=+102 |dsummon=+102
|str=0 |rangestr=0 |prayer=0 |magicdamage=0
}}
|}
Item Attack bonuses Defence bonuses Other Absorption
A player wearing full rune.
A player wearing full rune.
File:Rune full helm.png ? 0 0 0 -6 -2 +30 +32 +27 -1 +30 +7 0 0 0 0 ? ? ?
File:Rune-platebody-inv.png ? 0 0 0 -30 -10 +82 +80 +72 -6 +80 +40 0 0 0 0 ? ? ?
File:Rune-platelegs-inv.png ? 0 0 0 -21 -7 +51 +49 +47 -4 +49 +15 0 0 0 0 ? ? ?
File:Rune-kiteshield-inv.png ? 0 0 0 -8 -2 +44 +48 +46 -1 +46 +40 0 0 0 0 ? ? ?
Totals 0 0 0 -65 -21 +207 +209 +192 -12 +102 +102 0 0 0 0