Template:DropsInfo

Usage
Template:DropsInfo is a template used for displaying information regarding loot tables. There are two parts to using Template:DropsInfo: setting the main parameters, and adding the rows.

Main parameters
To start using Template:DropsInfo, you must decide if you want to set the main parameters. The main parameters change a few things about the table as a whole, such as the table's title.

Template:DropsInfo has the following main parameters, the list below shows a description for how each parameter is used. For most practical purposes, only the type and dimension parameters will be used.
 * type - determines which loot table the table is representing. Set this to either mob, chest, or custom.
 * If set to mob, will cause the following to occur:
 * The title of the table will read Unique drops.
 * An extra row will be placed at the bottom of the table. The row contains the following sentence: This mob also drops items from the Loot Table. is replaced with whatever is set by the dimension parameter. If the dimension parameter is not set, it will default to saying Overworld.
 * 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 bottom row of the table mentioning the dimension loot table will not be present.
 * The third column from the left will be titled Luck.
 * If set to custom, the following will occur:
 * The title of the table will be set to whatever the custom parameter is set to. If the custom parameter is not set, defaults to nothing.
 * The extra row on the bottom of the table for the world loot tables will not be present.
 * The third column from the left will display whatever is set in the otherlooting parameter. If the otherlooting parameter is not set, defaults to nothing.
 * If the type parameter is not set, defaults to mob.
 * dimension - when set, will change the name of the dimension in the sentence on the bottom of the table. If not set, the parameter defaults to Overworld. Note that this parameter is only used when the type parameter is set to mob.
 * custom - this parameter is only usable when the type parameter is set to custom. When set, this parameter changes the title of the table to match what the parameter is set to. If the type parameter is set to custom, but the custom parameter is not set, defaults to nothing.
 * otherlooting - this parameter is only usable when the type parameter is set to custom. When set, this parameter changes the title of the third column from the left to what the parameter is set to. If the type parameter is set to custom, but the otherlooting parameter is not set, defaults to nothing.

Main parameter usage
As most loot tables in the mod come in the form of mob drops, the only main parameter that you will likely need to set is the dimension parameter. In the case that a loot table is not being used for mob drops, the other parameters can be utilized to tweak the table to fit your needs.

Adding loot
Once the main parameters are set, you can start adding loot to the template. Loot is handled by inserting another template (called Template:DropsInfo/Drop) into the Template:DropsInfo. How you would do this is shown below.

In order to add a drop in Template:DropsInfo, you have to insert Template:DropsInfo/Drop like so:

You can add as many Template:DropInfo/Drop into the Tmplate:DropsInfo as you want. Do not add more | after the first one. The parameters of Template:DropsInfo/Drop can be filled out to fill in the columns/rows on the bigger Template:DropsInfo.

The parameters for Template:DropsInfo/Drop are like so:

{	"params": { "item": { "description": "Setting this parameter will fill the box in the \"Item\" column of Template:DropsInfo. Only put the name of the item (and not code for a picture or link), a picture and link will be generated automatically based on the input.", "example": "|item=Carrot", "default": "N/A", "suggested": true },		"quantity": { "description": "Setting this parameter fills the box in the \"Quantity\" column of Template:DropsInfo..", "example": "|quantity=2-5", "default": "N/A" },		"weight": { "description": "Setting this parameter will fix the box in the \"Weight\" column of Template:DropsInfo.", "example": "|weight=1", "default": "N/A" },		"chance": {}, "looting": {}, "notes": { "description": "Setting this parameter will display what the parameter is set to in the \"Notes\" column in the Template:DropsInfo. ", "example": "|notes=This mob can drop more then one of these.", "type": "string", "default": "N/A" },		"group": { "description": "Changes the color of the background of the row. Set this to a number from 1 to 10.", "example": "group=1", "type": "number", "default": "If not set, or set to a number besides 1-10, defaults to no color." }	},	"description": "Parameter information for Template:DropsInfo/Drops." } An example of how this template works is below.

The following code produces the below template: