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