Difference between revisions of "Template:ItemDrops"
From Emps-World Wiki
Line 7: | Line 7: | ||
| data-sort-value={{{rarity}}} style="background-color:khaki" {{!}} Uncommon ({{{rarity}}}%) | | data-sort-value={{{rarity}}} style="background-color:khaki" {{!}} Uncommon ({{{rarity}}}%) | ||
| {{#ifexpr: {{{rarity}}} > 1.0 | | {{#ifexpr: {{{rarity}}} > 1.0 | ||
− | | data-sort-value={{{rarity}}} style="background-color: | + | | data-sort-value={{{rarity}}} style="background-color:lightsalmon" {{!}} Rare ({{{rarity}}}%) |
− | | data-sort-value={{{rarity}}} style="background-color: | + | | data-sort-value={{{rarity}}} style="background-color:lightcoral" {{!}} Very rare ({{{rarity}}}%) |
}} | }} | ||
}} | }} |
Revision as of 15:34, 3 September 2019
This template can be used to display which monsters drop a specific item.
{{ItemDropsTableHead}} {{ItemDrops|monster=Monster|combat=Combat level|quantity=Quantity|rarity=Rarity }} {{TableEnd}}
This line of code displays such table.
Monster | Combat level | Quantity | Rarity |
---|---|---|---|
Monster | Combat level | Quantity | Uncommon |