Template:DropTable/doc

Template for displaying a drop table (for enemies, merchants, loot containers, and gatherables).

Items defined with this template will be found by the ItemSources template.

Invokes the DropTable Module.

Usage
For Enemies and Loot Containers, the drop table should be defined as a template - see the existing format in Category:Droptable Templates. For Merchants and Gatherables, the drop table should be defined directly on their page.


 * = the title displayed above the drop table
 * = For Merchants and Loot Containers, location where this drop table is found
 * = One of: Merchant, Enemy, LootContainer, Gatherable
 * = Define with anything to show recipes, or leave blank to hide (default)
 * = Define with anything for this to be treated as a random droptable. Leave undefined for guaranteed tables.
 * = Minimum number of rolls
 * = Maximum number of rolls
 * = Empty drop chance per roll

The unnamed arguments are used for the drop table entries. Each entry must have 4 unnamed arguments.


 * note: guaranteed drops still need to define the chance with something!
 * eg,  for a guaranteed Iron Sword drop
 * eg,  for a 25% chance of receiving 2-3 Salt per drop
 * eg,  for a 25% chance of receiving 2-3 Salt per drop

For formatting, each drop table entry should be on a new line, as shown in the examples below.

Random Table

 * is defined to treat this as a random droptable
 * is defined to show recipes

Guaranteed Table

 * is undefined to treat this as a guaranteed droptable
 * is undefined to hide recipes
 * The "chance" arguments (every 4th unnamed argument for the drop table entries) are still defined. Leaving them undefined breaks the table.