Difference between revisions of "Template:ItemBonuses"

From Emps-World Wiki
Jump to: navigation, search
(Template example with Abyssal Whip)
(Template example with Abyssal Whip)
Line 54: Line 54:
 
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="1"> {{{prayer|0}}}
 
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="1"> {{{prayer|0}}}
 
</td>
 
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{item}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{item|0}}}
 
</td></tr>
 
</td></tr>
 
<tr>
 
<tr>

Revision as of 13:29, 30 August 2018

Usage

Just copy the following and select the parameter with the correct item id and link to item image:

{{ItemBonuses|image=|id=}}

Template example with Abyssal Whip

ItemBonuses
Attackicon.png Attack Bonus Weapon Image
Str.png Melee Range.gif Range Magic.png Magic
0 0 0
Defenceicon.png Defence Bonus
Str.png Melee Range.gif Range Magic.png Magic Prayer1.png Prayer Item slot
0 0 0 0 0
Strength bonus Maintenance
Str.png Melee Range.gif Range Magic.png Magic Degradable Repair
0 0 0 No No
Requirements Attack speed
None Unknown