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 10: Line 10:
 
<table class="wikitable item-bonus-table" data-item-id="{{{id|4151}}}" style="width:440px;border-color: rgb(229, 205, 190); color: rgb(0, 0, 0); background-color: rgb(205, 161, 114);">
 
<table class="wikitable item-bonus-table" data-item-id="{{{id|4151}}}" style="width:440px;border-color: rgb(229, 205, 190); color: rgb(0, 0, 0); background-color: rgb(205, 161, 114);">
 
<tr>
 
<tr>
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="10"><span style="font-size: 18px;">{{PAGENAME}} </span>
+
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="9"><span style="font-size: 18px;">{{PAGENAME}} </span>
 
</th></tr>
 
</th></tr>
 
<tr>
 
<tr>
 
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="6">[[File:Skill-0.gif|24px]] Attack Bonus </th>
 
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="6">[[File:Skill-0.gif|24px]] Attack Bonus </th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="4" colspan="4">{{{image|Weapon Image}}}
+
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="4" colspan="3">{{{image|Weapon Image}}}
 
</th></tr>
 
</th></tr>
 
<tr>
 
<tr>

Revision as of 17:13, 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 Item slot
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
0 0 0 No No
Requirements Attack speed
None Unknown