Difference between revisions of "Template:ItemDrops"
From Emps-World Wiki
Line 5: | Line 5: | ||
|| {{#ifexpr: {{{rarity}}} = 100.0 | || {{#ifexpr: {{{rarity}}} = 100.0 | ||
| data-sort-value={{{rarity}}} style="background-color:lightblue" {{!}} Always | | data-sort-value={{{rarity}}} style="background-color:lightblue" {{!}} Always | ||
− | | {{ifexpr: {{{rarity}}} > 10.0 | + | | {{#ifexpr: {{{rarity}}} > 10.0 |
| data-sort-value={{{rarity}}} style="background-color:palegreen" {{!}} Common ({{{rarity}}}%) | | data-sort-value={{{rarity}}} style="background-color:palegreen" {{!}} Common ({{{rarity}}}%) | ||
− | | {{ifexpr: {{{rarity}}} > 5.0 | + | | {{#ifexpr: {{{rarity}}} > 5.0 |
| 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:lightcoral" {{!}} Rare ({{{rarity}}}%) | | data-sort-value={{{rarity}}} style="background-color:lightcoral" {{!}} Rare ({{{rarity}}}%) | ||
| data-sort-value={{{rarity}}} style="background-color:lightsalmon" {{!}} Very rare ({{{rarity}}}%) | | data-sort-value={{{rarity}}} style="background-color:lightsalmon" {{!}} Very rare ({{{rarity}}}%) |
Revision as of 15:08, 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 |