Template:Infobox Bonuses: Difference between revisions
Jump to navigation
Jump to search
imported>The Fizzbuzzler No edit summary |
Jawarrior1 (talk | contribs) No edit summary Tag: Manual revert |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable smallpadding" {{#if:{{{style|}}}|style="{{{style}}}"}} | |||
{|class="wikitable" {{#if:{{{style|}}}|style="{{{style}}}"}} | |+ [[Equipment Stats|Bonuses]] | ||
!colspan="12" align="center" width="180"|<small>Hover over image for type</small> | |||
{{#if:{{{image|}}}|{{#switch:{{{image}}} | {{#if:{{{image|}}}|{{#switch:{{{image}}} | ||
|no= | |no= | ||
|needed={{!}}rowspan="{{# | |needed={{!}}rowspan="{{#ifeq:{{lc:{{{aspeed|}}}}}|no|14|{{#switch:{{lc:{{{slot|}}}}}|weapon=15|2h=15|14}}}}" width="125" align="center" valign="center"{{!}}[[Special:Upload|<big>'''Please upload an image!'''</big>]] | ||
|#default={{!}}rowspan="{{# | |#default={{!}}rowspan="{{#ifeq:{{lc:{{{aspeed}}}}}|no|14|{{#switch:{{lc:{{{slot|}}}}}|weapon=15|2h=15|14}}}}" width="125" align="center" valign="center"{{!}}[[File:{{rmv|File:|{{{image}}}}}{{#if:{{{caption|}}}|{{!}}{{{caption}}}}}]]{{#if:{{{caption|}}}|<br /><small>{{{caption}}}</small>}}{{#if:{{{image2|}}}|{{!}}{{!}}rowspan="{{#switch:{{lc:{{{slot|}}}}}|weapon=15|2h=15|14}}" width="125" align="center" valign="center"{{!}}[[File:{{rmv|File:|{{{image2}}}}}{{#if:{{{caption2|}}}|{{!}}{{{caption2}}}}}]]{{#if:{{{caption2|}}}|<br /><small>{{{caption2}}}</small>}}}} | ||
}}|{{ | }}|}} | ||
|- | |||
!colspan="5" align="center"|{{skill clickpic|Attack}} [[Attack|Attack bonus]] | |||
|- | |||
!width="35" align="center"|[[File:White dagger.png|link=Stab]] | |||
!width="35" align="center"|[[File:White scimitar.png|link=Slash]] | |||
!width="35" align="center"|[[File:White warhammer.png|link=Crush]] | |||
!width="35" align="center"|[[File:Magic-icon.png|link=Magic]] | |||
!width="35" align="center"|[[File:Ranged-icon.png|link=Ranged]] | |||
|- | |||
|width="35" align="center"|{{#if:{{{astab|}}}|{{{astab}}}|?}} | |||
|width="35" align="center"|{{#if:{{{aslash|}}}|{{{aslash}}}|?}} | |||
|width="35" align="center"|{{#if:{{{acrush|}}}|{{{acrush}}}|?}} | |||
|width="35" align="center"|{{#if:{{{amagic|}}}|{{{amagic}}}|?}} | |||
|width="35" align="center"|{{#if:{{{arange|}}}|{{{arange}}}|?}} | |||
|- | |||
!colspan="5" align="center"|{{skill clickpic|Defence}} [[Defence|Defence bonus]] | |||
|- | |||
!width="35" align="center"|[[File:White dagger.png|link=Stab]] | |||
!width="35" align="center"|[[File:White scimitar.png|link=Slash]] | |||
!width="35" align="center"|[[File:White warhammer.png|link=Crush]] | |||
!width="35" align="center"|[[File:Magic-icon.png|link=Magic]] | |||
!width="35" align="center"|[[File:Ranged-icon.png|link=Ranged]] | |||
|- | |||
|width="35" align="center"|{{#if:{{{dstab|}}}|{{{dstab}}}|?}} | |||
|width="35" align="center"|{{#if:{{{dslash|}}}|{{{dslash}}}|?}} | |||
|width="35" align="center"|{{#if:{{{dcrush|}}}|{{{dcrush}}}|?}} | |||
|width="35" align="center"|{{#if:{{{dmagic|}}}|{{{dmagic}}}|?}} | |||
|width="35" align="center"|{{#if:{{{drange|}}}|{{{drange}}}|?}} | |||
|- | |||
!colspan="4" align="center"|Other bonuses | |||
!Slot | |||
|- | |- | ||
!width="35" align="center"|[[File:Strength-icon.png|link=Strength]] | |||
!width="35" align="center"|[[File:RangedStrength-icon.png|link=Ranged Strength]] | |||
!width="35" align="center"|[[File:MagicDamage-icon.png|link=Magic]] | |||
!width="35" align="center"|[[File:Prayer-icon.png|link=Prayer]] | |||
!rowspan="2" width="35" align="center"| | |||
{{#switch:{{lc:{{{slot|}}}}} | |||
!rowspan="2" | |||
|head=[[File:Head slot.png|29px|link=Head slot]]{{mainonly|[[Category:Head slot items]]}} | |head=[[File:Head slot.png|29px|link=Head slot]]{{mainonly|[[Category:Head slot items]]}} | ||
|ammo=[[File:Ammo slot.png|29px|link=Ammunition slot]]{{mainonly|[[Category:Ammunition slot items]]}} | |ammo=[[File:Ammo slot.png|29px|link=Ammunition slot]]{{mainonly|[[Category:Ammunition slot items]]}} | ||
Line 49: | Line 50: | ||
|cape=[[File:Cape slot.png|29px|link=Cape slot]]{{mainonly|[[Category:Cape slot items]]}} | |cape=[[File:Cape slot.png|29px|link=Cape slot]]{{mainonly|[[Category:Cape slot items]]}} | ||
|weapon=[[File:Weapon slot.png|29px|link=Weapon slot]]{{mainonly|[[Category:Weapon slot items]]}} | |weapon=[[File:Weapon slot.png|29px|link=Weapon slot]]{{mainonly|[[Category:Weapon slot items]]}} | ||
|2h=[[File:2h slot.png|29px|link=Two-handed slot]]{{mainonly| | |2h=[[File:2h slot.png|29px|link=Two-handed slot]]{{mainonly|[[Category:Two-handed slot items]]}} | ||
|body=[[File:Torso slot.png|29px|link=Body slot]]{{mainonly|[[Category:Body slot items]]}} | |body=[[File:Torso slot.png|29px|link=Body slot]]{{mainonly|[[Category:Body slot items]]}} | ||
|shield=[[File:Shield slot.png|29px|link=Shield slot]]{{mainonly|[[Category:Shield slot items]]}} | |shield=[[File:Shield slot.png|29px|link=Shield slot]]{{mainonly|[[Category:Shield slot items]]}} | ||
|legs=[[File:Legs slot.png|29px|link=Legwear slot]]{{mainonly|[[Category:Legwear slot items]]}} | |legs=[[File:Legs slot.png|29px|link=Legwear slot]]{{mainonly|[[Category:Legwear slot items]]}} | ||
|hands=[[File:Gloves slot.png|29px|link=Hands slot]]{{mainonly|[[Category: | |hands=[[File:Gloves slot.png|29px|link=Hands slot]]{{mainonly|[[Category:Hands slot items]]}} | ||
|feet=[[File:Boots slot.png|29px|link=Feet slot]]{{mainonly|[[Category:Feet slot items]]}} | |feet=[[File:Boots slot.png|29px|link=Feet slot]]{{mainonly|[[Category:Feet slot items]]}} | ||
|ring=[[File:Ring slot.png|29px|link=Ring slot]]{{mainonly|[[Category: | |ring=[[File:Ring slot.png|29px|link=Ring slot]]{{mainonly|[[Category:Ring slot items]]}} | ||
|set= <!--empty on purpose--> | |||
|set=<!--empty on purpose--> | |none= <!--empty on purpose--> | ||
|none=<!--empty on purpose--> | |#default=? | ||
|#default=? | |||
}} | }} | ||
|- | |- | ||
| | |width="30" align="center"|{{#if:{{{str|}}}|{{{str}}}|?}} | ||
| | |width="30" align="center"|{{#if:{{{rstr|}}}|{{{rstr}}}|0}} | ||
|width="30" align="center"|{{#if:{{{mdmg|}}}|{{{mdmg}}}%|0%}} | |||
|width="30" align="center"|{{#if:{{{prayer|}}}|{{{prayer}}}|?}} | |||
{{#ifeq:{{lc:{{{aspeed|}}}}}|no||{{#ifeq:{{#switch:{{lc:{{{slot|}}}}}|weapon=1|2h=1|0}}|1| | |||
{{!}}- | |||
!colspan="5" height="55px" align="center"{{!}}{{#if:{{{aspeed|}}}|{{Speed Bar|{{{aspeed}}}}}|''{{Unknown_Attack_Speed}}'' {{mainonly|[[Category:Missing attack speed]]}}}} | |||
}}}} | |||
|}<includeonly> | |||
{{#ifexpr: ({{#if:{{{astab|}}}|0|1}} + {{#if:{{{aslash|}}}|0|1}} + {{#if:{{{acrush|}}}|0|1}} + {{#if:{{{amagic|}}}|0|1}} + {{#if:{{{arange|}}}|0|1}} + {{#if:{{{dstab|}}}|0|1}} + {{#if:{{{dslash|}}}|0|1}} + {{#if:{{{dcrush|}}}|0|1}} + {{#if:{{{dmagic|}}}|0|1}} + {{#if:{{{drange|}}}|0|1}})=0||[[Category:Incomplete bonuses]]}}</includeonly> | |||
<noinclude>{{/doc}}[[Category:Infobox templates|Bonuses]]</noinclude> |
Latest revision as of 06:18, 23 January 2024
Hover over image for type | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Attack bonus | |||||||||||
? | ? | ? | ? | ? | |||||||
Defence bonus | |||||||||||
? | ? | ? | ? | ? | |||||||
Other bonuses | Slot | ||||||||||
? | |||||||||||
? | 0 | 0% | ? |
This documentation is transcluded from Template:Infobox Bonuses/doc.
{{Infobox Bonuses Beta | slot = Which slot(s) the item occupies? Options:Head/Ammo/Neck/Cape/Weapon/2h/Body/Shield/Legs/Hands/Feet/Ring/Aura | mainDamage = The damage caused by a mainhand weapon. Type N/A if not available. | mainAccuracy = The accuracy of a mainhand weapon. Type N/A if not available. | maintype = The style/type of the weapon, e.g. Slashing for whip. Type N/A if not available. | offDamage = The damage caused by an offhand weapon. Type N/A if not available. | offAccuracy = The accuracy of an offhand weapon. Type N/A if not available. | offType = The style/type of the weapon, e.g. Slashing for whip. Type N/A if not available. | defence = The armour rating of a piece of armour. | life = The amount of life points boosted by the equipment. | prayer = The prayer bonus given by the equipment. | aspeed = Attack speed of the main or offhand weapon. DELETE THIS LINE for armour. Options:Average/Fast/Fastest | class = The class of the equipment. Type N/A if there is no class. Options:Melee/Magic/Ranged/All | meleecrit = The critical bonus given to a melee weapon and armour. | rangedcrit = The critical bonus given to a ranged weapon and armour. | magiccrit = The critical bonus given to a magic weapon and armour. | style = Extra styling. }}
Empty template
{{Infobox Bonuses Beta | slot = | mainDamage = | mainAccuracy = | mainType = | offDamage = | offAccuracy = | offType = | defence = | life = | prayer = | aspeed = | class = | meleecrit = | rangedcrit = | magiccrit = | style = | image = | caption = }}