Πρότυπο:Drop/doc

Από Minecraft Wiki
Μετάβαση σε: πλοήγηση, αναζήτηση
This is the documentation page, it should be transcluded into the main template page. See Πρότυπο:Documentation for more information

This 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 Pocket
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

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}}
{{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}}
  • Console Edition only
    [[Glowstone Dust|]]
    (0–2) when killed by the player