Difference between revisions of "Template:ItemBonuses"
From Emps-World Wiki
(→Template example with Abyssal Whip) |
(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) |
||
(4 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:| | + | <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: | + | <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> |
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=}}