Difference between revisions of "Template:ItemDrops"

From Emps-World Wiki
Jump to: navigation, search
 
(61 intermediate revisions by 4 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 = style="background-color:palegreen;{{!}}
+
}}
| Common
+
}}
| Common
+
}}
| Common
+
}}
| Common
+
|-
| Common
+
| Uncommon = style="background-color:khaki;{{!}}
+
| Uncommon  
+
| Uncommon
+
| Uncommon
+
| Uncommon
+
| Uncommon
+
| Rare = style="background-color:lightsalmon;{{!}}
+
| Rare (2.4%)
+
| Rare (5.0%)
+
| Rare (5.0%)
+
| Rare (5.0%)
+
| Rare (5.0%)
+
| Rare (5.0%)
+
| Rare (5.0%)
+
| 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