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 74: Line 74:
 
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-6.gif|19px]] Magic
 
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-6.gif|19px]] Magic
 
</th>
 
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="1"> Degradable
+
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2"> Degradable
 
</th>
 
</th>
 
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2"> Repair
 
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2"> Repair
</th></tr>
+
</th>
 +
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2"> Item slot
 +
</th>
 +
</tr>
 
<tr>
 
<tr>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" rowspan="1" colspan="2"> {{{str|0}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{str|0}}}
 
</td>
 
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" rowspan="1" colspan="2"> {{{rangestr|0}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{rangestr|0}}}
 
</td>
 
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" rowspan="1" colspan="2"> {{{magicstr|0}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{magicstr|0}}}
 
</td>
 
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" rowspan="1" colspan="1"> {{{degradable|No}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{degradable|No}}}
 
</td>
 
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" rowspan="1" colspan="2"> {{{repair|No}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{repair|No}}}
</td></tr>
+
</td>
 +
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{item|0}}}
 +
</td>
 +
</tr>
 
<tr>
 
<tr>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;  colspan="6"> Requirements
+
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;  colspan="7"> Requirements
 
</th>
 
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="4"> Attack speed
+
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="5"> Attack speed
</th>
+
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2"> Item slot
+
 
</th>
 
</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="6"> {{{requirements|None}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="7"> {{{requirements|None}}}
 
</td>
 
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="4"> {{{speed|Unknown}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="5"> {{{speed|Unknown}}}
</td>
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{item|0}}}
+
 
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 17:31, 28 October 2020

Usage

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

{{ItemBonuses|image=[[File:|127x106px]]|id=}}

Template example with Abyssal Whip

ItemBonuses
Skill-0.gif Attack Bonus Weapon Image
Skill-2.gif Melee Skill-4.gif Range Skill-6.gif Magic
0 0 0
Skill-1.gif Defence Bonus
Skill-2.gif Melee Skill-4.gif Range Skill-6.gif Magic Skill-5.gif Prayer Skill-5.gif HP Skill-5.gif Block
0 0 0 0 0 0
Skill-2.gif Strength bonus Maintenance
Skill-2.gif Melee Skill-4.gif Range Skill-6.gif Magic Degradable Repair Item slot
0 0 0 No No 0
Requirements Attack speed
None Unknown