[purge]
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more informationThis template is used to add drop information to infoboxes.
Usage
The minimum drop number should always be filled in for common drops, even if it is always a single drop. Uncommon drops are always a single drop, however have different chances to drop, so the chance (in percentage) should be used instead. Rare drops are also always a single drop, but all have the same drop chance, so no drop number should be added.
Each drop is a list item, and so multiple can be entered on separate lines with no need for line breaks. In infoboxes, the drop fields have the list-style-none
class, which hides the bullet point.
Parameters
Parameter | Usage | Example |
---|---|---|
1 |
Drop type | Block |
2 |
Drop name | Wool |
3 |
Minimum drop number, or drop chance | |
4 |
Maximum drop number | |
when |
A condition that must be true for the drop to happen | on fire |
edition |
The edition that the drop is exclusive to | |
upcoming |
The upcoming release version that drop will occur in | 1.8 |
note |
Any additional text to add after the drop | |
text |
Different text to display instead of the drop name | |
id |
Different ID to use for the drop sprite instead of the drop name | grass-block-top |
nocat |
If present, doesn't put the page into categories shown below. |
Depending on the edition(s) indicated, if any, this template will put the page into:
- Category:Java Edition specific information
- Category:Pocket Edition specific information
- Category:Console Edition specific information
Examples
{{Drop|Block|Wool|1}}
- Wool (1)
{{Drop|Item|Spider Eye|33.3%|when=killed by the player}}
- Spider Eye (33.3%) when killed by the player
{{Drop|Item|id=chestplate|Armor|text=Random Armor}}
- Random Armor
{{Drop|Item|Raw Mutton|1|2|upcoming=1.8}}
- 1.8: Raw Mutton (1–2)
{{Drop|Item|Glowstone Dust|0|2|when=killed by the player|edition=console}}