Template:ItemDrops: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
| [[{{{monster| | | [[{{{monster|Monster}}}]] || {{{combat|Combat level}}} || {{{quantity|Quantity}}} || {{#ifexpr: {{{rarity}}} = 100.0 | ||
| data-sort-value= | | data-sort-value={{{rarity}}} style="background-color:lightblue" {{!}} Always | ||
| {{#ifexpr: | | {{#ifexpr: {{{rarity}}} > 10.0 | ||
| data-sort-value= | | data-sort-value={{{rarity}}} style="background-color:palegreen" {{!}} Common ({{{rarity}}}%) | ||
| {{#ifexpr: | | {{#ifexpr: {{{rarity}}} > 5.0 | ||
| data-sort-value= | | data-sort-value={{{rarity}}} style="background-color:khaki" {{!}} Uncommon ({{{rarity}}}%) | ||
| {{#ifexpr: | | {{#ifexpr: {{{rarity}}} > 1.0 | ||
| data-sort-value= | | data-sort-value={{{rarity}}} style="background-color:lightcoral" {{!}} Rare ({{{rarity}}}%) | ||
| data-sort-value= | | data-sort-value={{{rarity}}} style="background-color:lightsalmon" {{!}} Very rare ({{{rarity}}}%) | ||
}} | }} | ||
}} | }} |
Revision as of 15:33, 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 (10.0%) |