Template:DropTable/doc
Jump to navigation
Jump to search
[purge]
This is the documentation page. It should be transcluded into Template:DropTable. See Template:Documentation for more information.Usage
|name=: The mob name. The default is the page name.|image=: EntitySprite ID. The default is|name=.|link=: The link to the mob page. The default is|name=.|displayname=: The display name of the mob. The default is|name=.|edition=: Only shows table for one edition. Should bejavaorbedrock.|nosource=: Specify this parameter to not display in{{Drop sources}}.- An parameters array of
{{DropLine}}separated by|. |notes=: Notes, one per line. The format isnote_id = content.note_id.java = contentdefines a note that is only displayed in Java Edition.note_id.bedrock => target_note_iddefines a note that displays the contents of another note in Bedrock Edition. The predefined notes are as follows:
player_only = Only when killed by a [[player]]. player_or_pet = Only when killed by a [[player]] or a tamed [[wolf]]. player.java => player_or_pet player.bedrock => player_only burn_only = Only when on fire. burn_or_fire_aspect = Only when on fire or killed with weapon enchanted [[Fire Aspect]]. burn.java => burn_or_fire_aspect burn.bedrock => burn_only not_burn_only = Only when ''not'' on fire. not_burn_or_fire_aspect = Only when ''not'' on fire and ''not'' killed with weapon enchanted [[Fire Aspect]]. not_burn.java => not_burn_or_fire_aspect not_burn.bedrock => not_burn_only
Example
The following example shows drop tables for Creeper.
Source
{{DropTable|name=Creeper
|{{DropLine|name=Gunpowder|quantity=0-2|lootingquantity=0-1}}
|{{DropLine|name=Music Disc|image=Music Disc Cat|notes=random_disc,killed_by_skeleton}}
|{{DropLine|name=Creeper Head|notes=charged_creeper}}
|notes=
charged_creeper = Only when killed by a [[charged creeper]].
random_disc = The disc is randomly selected from [[Music Disc 13|13]], [[Music Disc cat|cat]], [[Music Disc blocks|blocks]], [[Music Disc chirp|chirp]], [[Music Disc far|far]], [[Music Disc mall|mall]], [[Music Disc mellohi|mellohi]], [[Music Disc stal|stal]], [[Music Disc strad|strad]], [[Music Disc ward|ward]], [[Music Disc 11|11]], and [[Music Disc wait|wait]].
killed_by_skeleton.java = Only when killed by a [[skeleton]], [[stray]], [[bogged]], or [[wither skeleton]].
killed_by_skeleton.bedrock = Only when killed by a [[skeleton]], [[stray]], or [[bogged]].
}}
Output
Lua error: expandTemplate: template "Simplecalc label" does not exist.
fr:Modèle:TableauButin/doc
pt:Predefinição:Tabela de drops/doc
th:แม่แบบ:DropTable/doc
uk:Шаблон:ТаблицяДропу/док
zh:Template:DropTable/doc
Cite error: <ref> tags exist for a group named "FN", but no corresponding <references group="FN"/> tag was found