Template:Infobox Bonuses: Difference between revisions

From Darkan
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
Line 4: Line 4:
{{#if:{{{image|}}}|{{#switch:{{{image}}}
{{#if:{{{image|}}}|{{#switch:{{{image}}}
|no=
|no=
|needed={{!}}rowspan="{{#expr:3{{#if:{{{mainStyle|}}}{{{mainDamage|}}}{{{mainBonus|}}}|+3}}{{#if:{{{offStyle|}}}{{{offDamage|}}}{{{offBonus|}}}|+3}}{{#if:{{{defence|}}}{{{life|}}}{{{prayer|}}}|+3}}{{#if:{{{meleecrit|}}}{{{rangedcrit|}}}{{{magiccrit|}}}|+2}}{{#ifeq:{{lc:{{{aspeed|}}}}}|no||+2}}}}" width="125" {{ctr}} valign="center"{{!}}[[Special:Upload|<big>'''Please upload an image!'''</big>]]{{mainonly|[[Category:Needs image]]}}
|needed={{!}}rowspan="{{#expr:3{{#if:{{{mainType|}}}{{{mainDamage|}}}{{{mainAccuracy|}}}|+3}}{{#if:{{{offType|}}}{{{offDamage|}}}{{{offAccuracy|}}}|+3}}{{#if:{{{defence|}}}{{{life|}}}{{{prayer|}}}|+3}}{{#if:{{{meleecrit|}}}{{{rangedcrit|}}}{{{magiccrit|}}}|+2}}{{#ifeq:{{lc:{{{aspeed|}}}}}|no||+2}}}}" width="125" {{ctr}} valign="center"{{!}}[[Special:Upload|<big>'''Please upload an image!'''</big>]]{{mainonly|[[Category:Needs image]]}}
|#default={{!}}rowspan="{{#expr:4{{#if:{{{mainStyle|}}}{{{mainDamage|}}}{{{mainBonus|}}}|+3}}{{#if:{{{offStyle|}}}{{{offDamage|}}}{{{offBonus|}}}|+3}}{{#if:{{{defence|}}}{{{life|}}}{{{prayer|}}}|+3}}{{#if:{{{meleecrit|}}}{{{rangedcrit|}}}{{{magiccrit|}}}|+2}}{{#ifeq:{{lc:{{{aspeed|}}}}}|no||+1}}}}" width="125" {{ctr}} valign="center"{{!}}[[File:{{rmv|File:|{{{image}}}}}{{#if:{{{caption|}}}|{{!}}{{{caption}}}}}{{!}}x{{#expr:309{{#if:{{{aspeed|}}}|+66}}}}px]]{{#if:{{{caption|}}}|<br /><small>{{{caption}}}</small>}}{{#if:{{{image2|}}}|{{!!}}rowspan="{{#expr:4{{#if:{{{mainStyle|}}}{{{mainDamage|}}}{{{mainBonus|}}}|+3}}{{#if:{{{offStyle|}}}{{{offDamage|}}}{{{offBonus|}}}|+3}}{{#if:{{{defence|}}}{{{life|}}}{{{prayer|}}}|+3}}{{#if:{{{meleecrit|}}}{{{rangedcrit|}}}{{{magiccrit|}}}|+2}}{{#ifeq:{{lc:{{{aspeed|}}}}}|no||+2}}}}" width="125" align="center" valign="center"{{!}}[[File:{{rmv|File:|{{{image2}}}}}{{#if:{{{caption2|}}}|{{!}}{{{caption2}}}}}{{!}}x{{#expr:309{{#if:{{{aspeed|}}}|+66}}}}px]]{{#if:{{{caption2|}}}|<br /><small>{{{caption2}}}</small>}}}}
|#default={{!}}rowspan="{{#expr:4{{#if:{{{mainType|}}}{{{mainDamage|}}}{{{mainAccuracy|}}}|+3}}{{#if:{{{offType|}}}{{{offDamage|}}}{{{offAccuracy|}}}|+3}}{{#if:{{{defence|}}}{{{life|}}}{{{prayer|}}}|+3}}{{#if:{{{meleecrit|}}}{{{rangedcrit|}}}{{{magiccrit|}}}|+2}}{{#ifeq:{{lc:{{{aspeed|}}}}}|no||+1}}}}" width="125" {{ctr}} valign="center"{{!}}[[File:{{rmv|File:|{{{image}}}}}{{#if:{{{caption|}}}|{{!}}{{{caption}}}}}{{!}}x{{#expr:309{{#if:{{{aspeed|}}}|+66}}}}px]]{{#if:{{{caption|}}}|<br /><small>{{{caption}}}</small>}}{{#if:{{{image2|}}}|{{!!}}rowspan="{{#expr:4{{#if:{{{mainType|}}}{{{mainDamage|}}}{{{mainAccuracy|}}}|+3}}{{#if:{{{offType|}}}{{{offDamage|}}}{{{offAccuracy|}}}|+3}}{{#if:{{{defence|}}}{{{life|}}}{{{prayer|}}}|+3}}{{#if:{{{meleecrit|}}}{{{rangedcrit|}}}{{{magiccrit|}}}|+2}}{{#ifeq:{{lc:{{{aspeed|}}}}}|no||+2}}}}" width="125" align="center" valign="center"{{!}}[[File:{{rmv|File:|{{{image2}}}}}{{#if:{{{caption2|}}}|{{!}}{{{caption2}}}}}{{!}}x{{#expr:309{{#if:{{{aspeed|}}}|+66}}}}px]]{{#if:{{{caption2|}}}|<br /><small>{{{caption2}}}</small>}}}}
}}|{{mainonly|[[Category:Needs image placement]]}}}}
}}|{{mainonly|[[Category:Needs image placement]]}}}}
|-
|-
{{#if:{{{mainStyle|}}}{{{mainDamage|}}}{{{mainBonus|}}}|!colspan="3"{{!}}Main Hand Info
{{#if:{{{mainType|}}}{{{mainDamage|}}}{{{mainAccuracy|}}}|!colspan="3"{{!}}Main Hand Info
{{!}}-
{{!}}-
!Type!!Damage!!Hit Bonus
!Type!!Damage!!Accuracy
{{!}}-
{{!}}-
{{!}}{{ctr}}{{!}}{{#if:{{{mainStyle|}}}|{{{mainStyle}}}|?}}{{!!}}{{ctr}}{{!}}{{#if:{{{mainDamage|}}}|{{{mainDamage}}}|?}}{{!!}}{{ctr}}{{!}}{{#if:{{{mainBonus|}}}|{{{mainBonus}}}|?}}
{{!}}{{ctr}}{{!}}{{#if:{{{mainType|}}}|{{{mainType}}}|?}}{{!!}}{{ctr}}{{!}}{{#if:{{{mainDamage|}}}|{{{mainDamage}}}|?}}{{!!}}{{ctr}}{{!}}{{#if:{{{mainAccuracy|}}}|{{{mainAccuracy}}}|?}}
{{!}}-
{{!}}-
}}
}}


{{#if:{{{offStyle|}}}{{{offDamage|}}}{{{offBonus|}}}|!colspan="3"{{!}}Offhand Info
{{#if:{{{offType|}}}{{{offDamage|}}}{{{offAccuracy|}}}|!colspan="3"{{!}}Offhand Info
{{!}}-
{{!}}-
!Type!!Damage!!Hit Bonus
!Type!!Damage!!Accuracy
{{!}}-
{{!}}-
{{!}}{{ctr}}{{!}}{{#if:{{{offStyle|}}}|{{{offStyle}}}|?}}{{!!}}{{ctr}}{{!}}{{#if:{{{offDamage|}}}|{{{offDamage}}}|?}}{{!!}}{{ctr}}{{!}}{{#if:{{{offBonus|}}}|{{{offBonus}}}|?}}
{{!}}{{ctr}}{{!}}{{#if:{{{offType|}}}|{{{offType}}}|?}}{{!!}}{{ctr}}{{!}}{{#if:{{{offDamage|}}}|{{{offDamage}}}|?}}{{!!}}{{ctr}}{{!}}{{#if:{{{offAccuracy|}}}|{{{offAccuracy}}}|?}}
{{!}}-
{{!}}-
}}
}}
Line 63: Line 63:
|-
|-
|colspan="2" rowspan="1" {{ctr}} class="cioCompareLinkBeta"|<span style="font-size:smaller">Item compare not supported</span>
|colspan="2" rowspan="1" {{ctr}} class="cioCompareLinkBeta"|<span style="font-size:smaller">Item compare not supported</span>
|}<span style="margin-top:-10px; font-size:xx-small; clear:left; float:left;">[[Template:Infobox Bonuses Beta|[view]]] &bull; [[Template talk:Infobox Bonuses Beta|[talk]]]</span></div>{{clear|left}}
|}<span style="margin-top:-10px; font-size:xx-small; clear:left; float:left;">[[Template:Infobox Bonuses Beta|[view]]] &bull; [[Template talk:Infobox Bonuses Beta|[talk]]]</span></div>{{clear|left}}<noinclude>{{/doc}}[[Category:Infobox templates]]</noinclude>

Revision as of 20:18, 10 January 2024

Equipment Bonuses
Class: Unknown edit ?
Item compare not supported
[view][talk]

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