Difference between revisions of "Template:ItemDrops"

From Emps-World Wiki
Jump to: navigation, search
Line 8: Line 8:
 
</td>
 
</td>
 
<td {{#switch: {{{rarity}}}
 
<td {{#switch: {{{rarity}}}
  | Always = style="background-color:lightblue;
+
  | Always = style="background-color:lightblue;{{!}}
  | Common = style="background-color:palegreen;
+
  | Common = style="background-color:palegreen;{{!}}
 
  | Common
 
  | Common
 
  | Common
 
  | Common
Line 15: Line 15:
 
  | Common
 
  | Common
 
  | Common
 
  | Common
  | Uncommon = style="background-color:khaki;
+
  | Uncommon = style="background-color:khaki;{{!}}
 
  | Uncommon  
 
  | Uncommon  
 
  | Uncommon  
 
  | Uncommon  
Line 21: Line 21:
 
  | Uncommon  
 
  | Uncommon  
 
  | Uncommon  
 
  | Uncommon  
  | Rare = style="background-color:lightsalmon;
+
  | Rare = style="background-color:lightsalmon;{{!}}
 
  | Rare (2.4%)
 
  | Rare (2.4%)
 
  | Rare (5.0%)
 
  | Rare (5.0%)
Line 29: Line 29:
 
  | Rare (5.0%)
 
  | Rare (5.0%)
 
  | Rare (5.0%)
 
  | Rare (5.0%)
  | Very rare = style="background-color:lightcoral; {{!}}
+
  | Very rare = style="background-color:lightcoral;{{!}}
 
  | Very rare (0.1%)
 
  | Very rare (0.1%)
 
  | Very rare (0.2%)
 
  | Very rare (0.2%)

Revision as of 17:38, 15 October 2017


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