Template:Collection UI/doc

Overview
Collection UI is a template used to create a collection rewards UI.

Syntax
collection

Parameters

 * - The collection to use. This will be an unenchanted version of any input item. Accepts inputs like "Diamond".
 * - The rewards for the collection. Accepts a bullet list of collection tier requirements, and rewards (Maximum of 27 tiers). Level one of the list represents the collection tier requirements, followed by an optional go-to ID linking it to another UI to show the collection rewards, separated by a comma. Level 2 of the list represents the rewards for that collection tier, followed by an optional reward type, followed by an optional item rarity, all separated by commas. See below for examples.
 * The template will attempt to get the rarity of the item from Module:Inventory slot/Tooltips. The default rarity is.
 * - The ID of the UI (without the ui- prefix). This is needed if Multiple UI's are used (See here for further info). This parameter is optional.
 * - The ID of the UI to go to when the back button is pressed (without the goto- prefix).
 * - The alternate text to use for the back button tooltip.

List Syntax
The collection rewards use a bullet list syntax to make writing collection UI's alot easier. The list syntax has two parts to it:
 * The first level, which is the collection requirement, followed by an optional go-to ID, separated by a comma.
 * The second level, which is the collection rewards, followed by an optional reward type, followed by an optional reward rarity, all separeted by a comma.

Examples
For example, if you wanted to create a collection tier that required Diamonds, and rewarded Perfect Armor recipes, and linked to the rewards UI named perfect-rewards, you would use the following syntax:
 * 50k, perfect-rewards
 * Perfect Helmet - Tier I
 * Perfect Chestplate - Tier I
 * Perfect Leggings - Tier I
 * Perfect Boots - Tier I

Diamond Collection

 * Produces

Redstone Collection

 * Produces