Difference between revisions of "Template:ItemDrops"
From Emps-World Wiki
Line 7: | Line 7: | ||
| data-sort-value={{{rarity}}} style="background-color:khaki" {{!}} Uncommon | | data-sort-value={{{rarity}}} style="background-color:khaki" {{!}} Uncommon | ||
| {{#ifexpr: {{{rarity}}} < 100 | | {{#ifexpr: {{{rarity}}} < 100 | ||
− | | data-sort-value={{{rarity}}} style="background-color:lightsalmon" {{!}} Rare ({{{rarity}}} | + | | data-sort-value={{{rarity}}} style="background-color:lightsalmon" {{!}} Rare (1 in {{{rarity}}} kills) |
− | | data-sort-value={{{rarity}}} style="background-color:lightcoral" {{!}} Very rare ({{{rarity}}} | + | | data-sort-value={{{rarity}}} style="background-color:lightcoral" {{!}} Very rare (1 in {{{rarity}}} kills) |
}} | }} | ||
}} | }} |
Revision as of 11:40, 12 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 |