Difference between revisions of "Template:ItemDrops"

From Emps-World Wiki
Jump to: navigation, search
m
 
(47 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<tr>
+
| [[{{{monster|Monster}}}]] || {{{combat|Combat level}}} || {{{quantity|Quantity}}} || {{#ifexpr: {{{rarity}}} = 100
<td colspan="1"> [[{{{monster|Monster}}}]]
+
| data-sort-value={{{rarity}}} style="background-color:lightblue" {{!}} Always
</td>
+
| {{#ifexpr: {{{rarity}}} > 10
<td  colspan="1"> {{{combat|Combat level}}}
+
| data-sort-value={{{rarity}}} style="background-color:palegreen" {{!}} Common
</td>
+
| {{#ifexpr: {{{rarity}}} > 5
<td  colspan="1"> {{{quantity|Quantity}}}
+
| data-sort-value={{{rarity}}} style="background-color:khaki" {{!}} Uncommon
</td>
+
| {{#ifexpr: {{{rarity}}} > 1
<td {{#switch: {{{rarity}}}
+
| data-sort-value={{{rarity}}} style="background-color:lightsalmon" {{!}} Rare (1 in {{#expr: 1/{{{rarity}}}*100 round 0 }} kills)  
| Always = style="background-color:lightblue;
+
| data-sort-value={{{rarity}}} style="background-color:lightcoral" {{!}} Very rare (1 in {{#expr: 1/{{{rarity}}}*100 round 0 }} kills)
| Common (90%)
+
}}
| Common (80%)
+
}}
| Common (75%)
+
}}
| Common (70%)
+
}}
| Common (60%)
+
|-
| Common (50%)
+
| Common (49%)
+
| Common (45.0%)
+
| Common (40.0%)
+
| Common (35.0%)
+
| Common (33.3%)
+
| Common (30.0%)
+
| Common (27.5%)
+
| Common (25%)
+
| Common (24.0%)
+
| Common (23%)
+
| Common (22.5%)
+
| Common (22%)
+
| Common (21%)
+
| Common (20.8%)
+
| Common (20%)
+
| Common (19%)
+
| Common (18.6%)
+
| Common (18.2%)
+
| Common (18.0%)
+
| Common (17.0%)
+
| Common (16.2%)
+
| Common (15.9%)
+
| Common (15.1%)
+
| Common (15.0%)
+
| Common (14.9%)
+
| Common (14.4%)
+
| Common (14.0%)
+
| Common (13.0%)
+
| Common (12.5%)
+
| Common (12.0%)
+
| Common (11.0%)
+
| Common (10.1%)
+
| Common (10.0%)
+
| Common = style="background-color:palegreen;
+
| Uncommon (9.9%)
+
| Uncommon (9.4%)
+
| Uncommon (9.2%)
+
| Uncommon (9.1%)
+
| Uncommon (9.0%)
+
| Uncommon (8.8%)
+
| Uncommon (8.4%)
+
| Uncommon (8.2%)
+
| Uncommon (8.1%)
+
| Uncommon (8.0%)
+
| Uncommon (7.8%)
+
| Uncommon (7.6%)
+
| Uncommon (7.5%)
+
| Uncommon (7.4%)
+
| Uncommon (7.3%)
+
| Uncommon (7.1%)
+
| Uncommon (7.0%)
+
| Uncommon (6.5%)
+
| Uncommon (6.4%)
+
| Uncommon (6.0%)
+
| Uncommon (5.8%)
+
| Uncommon (5.6%)
+
| Uncommon (5.5%)
+
| Uncommon (5.4%)
+
| Uncommon (5.3%)
+
| Uncommon (5.2%)
+
| Uncommon (5.1%)
+
| Uncommon = style="background-color:khaki;
+
| Rare (5.0%)
+
| Rare (4.9%)
+
| Rare (4.8%)
+
| Rare (4.7%)
+
| Rare (4.6%)
+
| Rare (4.5%)
+
| Rare (4.4%)
+
| Rare (4.3%)
+
| Rare (4.2%)
+
| Rare (4.1%)
+
| Rare (4.0%)
+
| Rare (3.9%)
+
| Rare (3.8%)
+
| Rare (3.7%)
+
| Rare (3.6%)
+
| Rare (3.5%)
+
| Rare (3.4%)
+
| Rare (3.3%)
+
| Rare (3.2%)
+
| Rare (3.1%)
+
| Rare (3.0%)
+
| Rare (2.9%)
+
| Rare (2.8%)
+
| Rare (2.7%)
+
| Rare (2.6%)
+
| Rare (2.5%)
+
| Rare (2.4%)
+
| Rare (2.3%)
+
| Rare (2.2%)
+
| Rare (2.1%)
+
| Rare (2.0%)
+
| Rare (1.9%)
+
| Rare (1.8%)
+
| Rare (1.7%)
+
| Rare (1.6%)
+
| Rare (1.5%)
+
| Rare (1.4%)
+
| Rare (1.2%)
+
| Rare (1.1%)
+
| Rare = style="background-color:lightsalmon;
+
| Very rare (1.0%)
+
| Very rare (0.9%)
+
| Very rare (0.8%)
+
| Very rare (0.7%)
+
| Very rare (0.6%)
+
| Very rare (0.5%)
+
| Very rare (0.4%)
+
| Very rare (0.3%)
+
| Very rare (0.2%)
+
| Very rare (0.1%)
+
| Very rare = style="background-color:lightcoral;
+
}} " colspan="1"> {{{rarity|Rarity}}}
+
</td>
+
</tr>
+
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
{{Template:ItemDrops/doc}}
 
{{Template:ItemDrops/doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:16, 27 December 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