Template:Infobox Bonuses: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable smallpadding" {{#if:{{{style|}}}|style="{{{style}}}"}}
{| class="wikitable smallpadding" div style="width:20%" {{#if:{{{style|}}}|style="{{{style}}}"}}
|+ [[Equipment Stats|Bonuses]]
!colspan="12" align="center" width="180"|<small>Hover over image for type</small>
!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="{{#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>]]
|needed={{!}}rowspan="{{#ifeq:{{lc:{{{aspeed|}}}}}|no|16|{{#switch:{{lc:{{{slot|}}}}}|weapon=16|2h=16|16}}}}" width="125" align="center" valign="center"{{!}}[[Special:Upload|<big>'''Please upload an image!'''</big>]]
|#default={{!}}rowspan="{{#ifeq:{{lc:{{{aspeed}}}}}|no|14|{{#switch:{{lc:{{{slot|}}}}}|weapon=15|2h=15|14}}}}" width="125" align="center" valign="center"{{!}}[[File:{{|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>}}}}
|#default={{!}}rowspan="{{#ifeq:{{lc:{{{aspeed}}}}}|no|16|{{#switch:{{lc:{{{slot|}}}}}|weapon=16|2h=16|16}}}}" width="125" align="center" valign="center"{{!}}[[File:{{{image}}}{{#if:{{{caption|}}}|{{!}}{{{caption}}}}}]]{{#if:{{{caption|}}}|<br /><small>{{{caption}}}</small>}}{{#if:{{{image2|}}}|{{!}}{{!}}rowspan="{{#switch:{{lc:{{{slot|}}}}}|weapon=16|2h=16|16}}" width="125" align="center" valign="center"{{!}}[[File:{{rmv|File:|{{{image2}}}}}{{#if:{{{caption2|}}}|{{!}}{{{caption2}}}}}]]{{#if:{{{caption2|}}}|<br /><small>{{{caption2}}}</small>}}}}
}}|}}
}}|}}
|-
|-
Line 41: Line 40:
!width="35" align="center"|[[File:Strength-icon.png|link=Strength]]
!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:RangedStrength-icon.png|link=Ranged Strength]]
!width="35" align="center"|[[File:MagicDamage-icon.png|link=Magic]]
!width="35" align="center"|[[File:MagicDamage-icon.png|link=Magic Strength]]
!width="35" align="center"|[[File:Prayer-icon.png|link=Prayer]]
!width="35" align="center"|[[File:Prayer-icon.png|link=Prayer]]
!rowspan="2" width="35" align="center"|
!rowspan="2" width="35" align="center"|
Line 57: Line 56:
|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 slot items]]}}
|ring=[[File:Ring slot.png|29px|link=Ring slot]]{{mainonly|[[Category:Ring slot items]]}}
|set= <!--empty on purpose-->
|aura=[[File:Aura slot.png|link=Aura slot]]{{mainonly|[[Category:Auras]]}}
|set= [[File:Set slot.png|link=Set slot]]{{mainonly||[[Category:Sets]]}}
|pocket= [[File:Pocket slot.png|link=Pocket slot]]{{mainonly||[[Category:Pocket slot items]]}}
|none= <!--empty on purpose-->
|none= <!--empty on purpose-->
|#default=?
|#default=?
Line 67: Line 68:
|width="30" align="center"|{{#if:{{{prayer|}}}|{{{prayer}}}|?}}
|width="30" align="center"|{{#if:{{{prayer|}}}|{{{prayer}}}|?}}
|-
|-
!colspan="5" align="center"|Bonus Stats
!colspan="4" align="center"|Bonus Stats
!align="center"|Item Class
|-
|-
!Hit Count
!width="35" align="center"|[[File:Hit Count Icon.png|link=Hit Count]]
!AoE
!width="35" align="center"|[[File:AoE Icon.png|link=AoE]]
!Drop Rate
!width="35" align="center"|[[File:Drop Rate Icon.png|link=Drop Rate]]
!Luck
!width="35" align="center"|[[File:Double Drop Rate Icon.png|link=Double Drop Rate]]
!Item Class
!rowspan="4" width="35" align="center"|
|-
|{{#if:{{{Hits|}}}|{{{Hits}}}|1x}}
|{{#if:{{{AoE|}}}|{{{AoE}}}|1x1}}
|{{#if:{{{Droprate|}}}|{{{Droprate}}}|?}}
|{{#if:{{{Luck|}}}|{{{Luck}}}|?}}
!rowspan="3" width="35" align="center"|
{{#switch:{{lc:{{{Class|}}}}}
{{#switch:{{lc:{{{Class|}}}}}
|melee=[[File:Attack.png|x34px|Melee|link=Melee]]{{mainonly|[[Category:Melee Gear]]}}
|melee=[[File:Attack.png|x34px|Melee|link=Melee]]{{mainonly|[[Category:Melee Gear]]}}
Line 89: Line 85:
}}
}}
|-
|-
!Magic Boost
|width="35" align="center"|{{#if:{{{Hits|}}}|{{{Hits}}}|1x}}
!Ranged Boost
|width="35" align="center"|{{#if:{{{AoE|}}}|{{{AoE}}}|1x1}}
!Strength Boost
|width="35" align="center"|{{#if:{{{Droprate|}}}|{{{Droprate}}}|?}}
!Hit Distance
|width="35" align="center"|{{#if:{{{DDR|}}}|{{{DDR}}}|?}}
|-
!width="35" align="center"|[[File:Strength Boost Icon.png|link=Strength Boost]]
!width="35" align="center"|[[File:Ranged Boost Icon.png|link=Ranged Boost]]
!width="35" align="center"|[[File:Magic Boost Icon.png|link=Magic Boost]]
!width="35" align="center"|[[File:Hit Distance Icon.png|link=Hit Distance]]
|-
|-
|{{#if:{{{Strboost|}}}|{{{Strboost}}}|?}}
|width="35" align="center"|{{#if:{{{Strboost|}}}|{{{Strboost}}}|?}}
|{{#if:{{{Rangedboost|}}}|{{{Rangedboost}}}|?}}  
|width="35" align="center"|{{#if:{{{Rangedboost|}}}|{{{Rangedboost}}}|?}}  
|{{#if:{{{Magicboost|}}}|{{{Magicboost}}}|?}}
|width="35" align="center"|{{#if:{{{Magicboost|}}}|{{{Magicboost}}}|?}}
||{{#if:{{{Hitdistance|}}}|{{{Hitdistance}}}|?}}
|width="35" align="center"|{{#if:{{{Hitdistance|}}}|{{{Hitdistance}}}|?}}
|-
|-
{{#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|
Line 105: Line 106:
|}<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]]<templatedata>
{
"params": {},
"description": "{{Infobox Bonuses\n|astab = +\n|aslash = +\n|acrush = +\n|amagic = +\n|arange = +\n|dstab = +\n|dslash = +\n|dcrush = +\n|dmagic = +\n|drange = +\n|str = +\n|rstr = +\n|mdmg = +\n|prayer = +\n|slot = \n|aspeed = \n|attackrange = \n|combatstyle = \n|Hits = ?\n|AoE = ?x?\n|Droprate = %\n|Luck = %\n|Class = ?\n|Strboost = %\n|Rangedboost = %\n|Magicboost = %\n|Hitdistance = 0\n|image = image name.png\n}}"
}
</templatedata></noinclude>

Latest revision as of 21:53, 13 December 2023

Hover over image for type
Error creating thumbnail: Unable to save thumbnail to destination
 Attack bonus
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
? ? ? ? ?
Error creating thumbnail: Unable to save thumbnail to destination
 Defence bonus
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
? ? ? ? ?
Other bonuses Slot
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

?

? 0 ? ?
Bonus Stats Item Class
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

?

1x 1x1 ? ?
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
? ? ? ?

Template:Infobox Bonuses/doc

{{Infobox Bonuses |astab = + |aslash = + |acrush = + |amagic = + |arange = + |dstab = + |dslash = + |dcrush = + |dmagic = + |drange = + |str = + |rstr = + |mdmg = + |prayer = + |slot = |aspeed = |attackrange = |combatstyle = |Hits = ? |AoE = ?x? |Droprate = % |Luck = % |Class = ? |Strboost = % |Rangedboost = % |Magicboost = % |Hitdistance = 0 |image = image name.png }}

Template parameters

ParameterDescriptionTypeStatus
No parameters specified