Jump to content

Template:ItemBonuses: Difference between revisions

From Emps-World Wiki
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
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
Just copy the following and select the parameter with the correct item id and link to item image:<br>
Just copy the following and select the parameter with the correct item id and link to item image:<br>


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


===Template example with Abyssal Whip===
===Template example with Abyssal Whip===
</noinclude>
</noinclude>


<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); white-space:nowrap;">
<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>
Line 43: Line 43:
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-5.gif|17px]] Prayer
<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">[[File:Skill-3.gif|17px]] HP
<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="2">Block
<th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">Block

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