Template:Infobox Bonuses: Difference between revisions

From Darkan
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
Line 68: Line 68:
{{#ifeq:{{lc:{{{aspeed|}}}}}|no||{{#ifeq:{{#switch:{{lc:{{{slot|}}}}}|weapon=1|2h=1|0}}|1|
{{#ifeq:{{lc:{{{aspeed|}}}}}|no||{{#ifeq:{{#switch:{{lc:{{{slot|}}}}}|weapon=1|2h=1|0}}|1|
{{!}}-
{{!}}-
!colspan="5" height="55px" align="center"{{!}}{{#if:{{{aspeed|}}}|{{Attack speed bar|{{{aspeed}}}}}|''{{Unknown_Attack_Speed}}'' {{mainonly|[[Category:Missing attack speed]]}}}}
!colspan="5" height="55px" align="center"{{!}}{{#if:{{{aspeed|}}}|{{Speed Bar|{{{aspeed}}}}}|''{{Unknown_Attack_Speed}}'' {{mainonly|[[Category:Missing attack speed]]}}}}
}}}}
}}}}
|}<includeonly>
|}<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>
{{#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>
<noinclude>{{/doc}}[[Category:Infobox templates|Bonuses]]</noinclude>

Revision as of 06:06, 23 January 2024

Bonuses
Hover over image for type
 Attack bonus
? ? ? ? ?
 Defence bonus
? ? ? ? ?
Other bonuses Slot

?

? 0 0% ?

[view] [edit] [purge] Template documentation

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      = 
}}