Jump to content

Template:ItemBonuses: Difference between revisions

From Emps-World Wiki
Created page with "<noinclude> === Usage === Just copy the following and select the parameter with the correct answer:<br> <nowiki>{{Bonuses|image=|id=}}</nowiki> ===Template=== </noinclude..."
 
Tulrak (talk | contribs)
max size that shouldn't stretch the table (doesn't for me at least), feel free to copy and paste that size value any time the template is used
 
(115 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
=== Usage ===
=== Usage ===
Just copy the following and select the parameter with the correct answer:<br>
Just copy the following and select the parameter with the correct item id and link to item image:<br>


<nowiki>{{ItemBonuses|image=[[File:|248x112px]]|id=}}</nowiki>


 
===Template example with Abyssal Whip===
 
<nowiki>{{Bonuses|image=|id=}}</nowiki>
 
===Template===
</noinclude>
</noinclude>


<table class="wikitable item-bonus-table" 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:480px; border-color: rgb(229, 205, 190); color: rgb(0, 0, 0); background-color: rgb(205, 161, 114); white-space:nowrap;">
<tr>
<tr>
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="12"><span style="font-size: 18px;">{{PAGENAME}} </span>
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="12"><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">http://emps-world.net/w/images/7/79/Attackicon.png 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="6">{{{image|Weapon Image}}}
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="4" colspan="6">{{{image|Weapon Image}}}
</th></tr>
</th></tr>
<tr>
<tr>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">http://emps-world.net/w/images/b/bd/Str.png Melee
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-2.gif|15px]] Melee
</th>
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">http://emps-world.net/w/images/a/a3/Range.gif Range
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-4.gif|20px]] Range
 
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">http://emps-world.net/w/images/f/f7/Magic.png Magic
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-6.gif|19px]] Magic
</th>
</th>
</tr>
</tr>
Line 35: Line 32:
</td></tr>
</td></tr>
<tr>
<tr>
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="6">http://emps-world.net/w/images/c/cf/Defenceicon.png Defence Bonus  
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="6">[[File:Skill-1.gif|18px]] Defence Bonus  
</th></tr>
</th></tr>
<tr>
<tr>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">http://emps-world.net/w/images/b/bd/Str.png Melee
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-2.gif|15px]] Melee
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-4.gif|20px]] Range
</th>
<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="2">http://emps-world.net/w/images/a/a3/Range.gif Range
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-5.gif|17px]] Prayer
</th>
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">http://emps-world.net/w/images/f/f7/Magic.png Magic
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-3.gif|17px]] Hitpoints
</th>
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="1">http://emps-world.net/w/images/9/9f/Prayer1.png Prayer
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">Block
</th>
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2"> Item slot
</tr>
</th></tr>
<tr>
<tr>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{def|0}}}
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{def|0}}}
Line 55: Line 55:
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{mdef|0}}}
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{mdef|0}}}
</td>
</td>
<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="2"> {{{prayer|0}}}
</td>
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{item|Unknown slot}}}
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{hp|0}}}
</td></tr>
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{block|0}}}
</td>
</tr>
<tr>
<tr>
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="6"> Strength bonus
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="6"> [[File:Skill-2.gif|18px]] Strength bonus
</th>
</th>
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="13"> Maintenance
<th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="6"> Maintenance
</th></tr>
</th></tr>
<tr>
<tr>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="1" colspan="2">http://emps-world.net/w/images/b/bd/Str.png Melee
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-2.gif|15px]] Melee
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-4.gif|20px]] Range
</th>
<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;" rowspan="1" colspan="2">http://emps-world.net/w/images/a/a3/Range.gif Range
<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;" rowspan="1" colspan="2">http://emps-world.net/w/images/f/f7/Magic.png Magic
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2"> Repair
</th>
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="1" colspan="1"> Degradable
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2"> Item slot
</th>
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="1" colspan="2"> Repair
</tr>
</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 style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{rangestr|0}}}
</td>
<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="2"> {{{rangestr|0}}}
<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"> {{{magicstr|0}}}
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{repair|No}}}
</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"> {{{item|0}}}
</td>
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" rowspan="1" colspan="2"> {{{repair|No}}}
</tr>
</td></tr>
<tr>
<tr>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="1" colspan="6"> Requirements
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; colspan="7"> Requirements
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="5"> Attack speed
</th>
</th>
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="1" colspan="4"> Attack speed
</tr>
</th></tr>
<tr>
<tr>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" rowspan="1" 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;" rowspan="1" colspan="12"> {{{speed|Unknown}}}
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="5"> {{{speed|Unknown}}}
</td></tr></table>
</td>
</tr>
</table>

Latest revision as of 23:14, 25 November 2021

Usage

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

{{ItemBonuses|image=[[File:|248x112px]]|id=}}

Template example with Abyssal Whip

ItemBonuses
Attack Bonus Weapon Image
Melee Range Magic
0 0 0
Defence Bonus
Melee Range Magic Prayer Hitpoints Block
0 0 0 0 0 0
Strength bonus Maintenance
Melee Range Magic Degradable Repair Item slot
0 0 0 No No 0
Requirements Attack speed
None Unknown