Template:LootTable

Template:LootTable is a template used for displaying information regarding loot tables.

It is recommended to generate these templates using the AoAWikiHelperMod, which is less tedious and error prone than adding them manually.

Parameters
The available parameters are listed below:


 * title – sets the title displayed at the top of the table. If not specified or left blank, the default title depends on the type parameter (described below).
 * otherlooting - changes the title of the third column from the left. If not specified or left blank, the default column title depends on the type parameter.


 * type – determines which loot table the table is representing. Set this to either mob or chest, or leave it blank to have it default to mob.
 * If set to mob, will cause the following to occur:
 * The title of the table will read Unique drops (if the "title" parameter isn't set).
 * The third column from the left will be titled Looting.
 * If set to chest, the following will occur:
 * The title of the table will read Chest loot.
 * The third column from the left will be titled Luck.
 * If the type parameter is not set, it defaults to mob.

Adding loot
To add loot, add a parameter pool1 followed by a series of text with the below formatting, which represents a row in the table: item:text; quantity:text; looting:text; weight:text; notes:text; level:text; xp:text; image:text; imagesize:text


 * specifies the name of the item being represented (e.g. ).
 * This can also be set to "nothing" if the table row represents the chance of dropping no item.
 * specifies how many of this item gets dropped (e.g. ). This should not be specified if the item is nothing or another loot table.
 * describes what effect the Looting enchantment has on the drop (e.g. ).
 * specifies the weight of this item in the pool (e.g. ). This should be a positive integer, and will be used to calculate the values shown in the "Chance" column in the table.
 * specifies the text to display in the "Notes" column (e.g. ).
 * specifies the skill level required for that item drop (for skill tables).
 * specifies the skill XP given.
 * specifies a filename without the "File:", but with the extension (e.g. ). Usually this is not needed if the filename is the same as the article name and has a '.png' extension.
 * It can also be set to  to prevent an image from displaying, such as when the "item" is another loot table.
 * specifies the size of the image, which defaults to 32px. This option is usually not needed either.

It's recommended to specify at least the item, quantity (when applicable) and weight; the rest of the above options can be left out if not applicable.

The above options should be separated by a semicolon, though one isn't needed after the last item in the line. The number of spaces immediately around the semicolon and the colon after the option name has no effect on the output.

Multiple items can be added to the table by adding each text string on a separate line. To add a new pool, add  (or pool3, pool4 etc) followed by the items in the new pool.

Specifying number of rolls
To specify the number of rolls in a pool, add a parameter  (replacing 1 with the number of the pool specified above). Bonus rolls can be specified with, though it can be left out if the pool doesn't have any bonus rolls. This will create a new table cell at the bottom of the pool saying "The above pool is rolled X times, with an additional X rolls per point of Luck."

Specifying additional notes about the pool
Additional text can be added under the pool by specifying. This will put the specified text in the same cell as the rolls info on a separate line. You can also choose to leave out the  parameter and specify the number of rolls here if it needs to be phrased differently.

Example usage
The above text will produce the following table: