Difference between revisions of "Template:ItemBonuses"
From Emps-World Wiki
(→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=" | + | <th style="border-color: rgb(170, 170, 170); text-align: center;" colspan="10"><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=" | + | <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=" | + | <th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" rowspan="4" colspan="4">{{{image|Weapon Image}}} |
</th></tr> | </th></tr> | ||
<tr> | <tr> | ||
− | <th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan=" | + | <th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-2.gif|17px]] Melee |
</th> | </th> | ||
− | <th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan=" | + | <th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-4.gif|21px]] Range |
</th> | </th> | ||
− | <th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan=" | + | <th style="border-color: rgb(170, 170, 170); width: 20px; text-align: center;" colspan="2">[[File:Skill-6.gif|20px]] Magic |
</th> | </th> | ||
</tr> | </tr> |
Revision as of 17:18, 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=}}