Template:MobDrops/doc
Jump to navigation
Jump to search
This template creates a table for the item drops of a mob. Can also be used without naming any items. When called without any items, the template will state the mob has no ingredient drops and categorize it under Category:Has no ingredient drops.
Usage
{{MobDrops |{{MDRow|item= |is_guaranteed= }} |{{MDRow|item= |is_guaranteed= }} |{{MDRow|item= |is_guaranteed= }} ... }}
Each parameter should call Template:MDRow and provide the name of the item and whether it is guaranteed. The title of the table will always be the page name.
item
- the name of the item the mob can dropis_guaranteed
- 0 or 1: whether the mob is guaranteed to drop this item
Examples
Example | Result | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{MobDrops |{{MDRow|item=Rotten Flesh|is_guaranteed=0}} |{{MDRow|item=Sturdy Flesh|is_guaranteed=0}} }} |
| |||||||||||||||||||||||||
{{MobDrops}} |
This mob has no ingredient drops. | |||||||||||||||||||||||||
{{MobDrops|mob = Nesting Spider}} |{{MDRow|item=Forest Web|is_guaranteed=0}} |{{MDRow|item=Spider Fang|is_guaranteed=0}} |{{MDRow|item=Poisonous Spider Eye|is_guaranteed=0}} |{{MDRow|item=Lucky Spider Egg|is_guaranteed=0}} |{{MDRow|item=Luxurious Silk|is_guaranteed=0}} }} |
|
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.