Template:UI/doc

Overview
UI is a template used to create a generic UI.

Syntax
title

Parameters

 * - The UI title. This can be any form of text.
 * - The UI Slots. This can be a unnamed argument list, where each parameter can be a slot item, or custom html, or a comma-separated list of options.
 * You can use - to force a new UI row. This will make all remaining slots in the row blanks. If the amount of slots on the row exceeds 9, it will automatically go to a new line.
 * The first comma-separated item is the slot item, the second is the slot's optional Go-To id, the third is the custom slot title, the fourth is the custom slot text.
 * You can leave a list argument to be empty, it will not be interpreted.
 * The official syntax for a list entry would be [, [][, [ ][, ]]]|undefined.
 * An example list entry where you wanted to a link to another UI called diamond, where the display item would be an Enchanted Diamond, and it would have custom Text.
 * Enchanted Diamond, diamond, &aCustom Title, &cCustom Text
 * It would produce a custom slot in the UI like this:
 * You can supply a template parameter like 1, 5 to manually set by coordinates. The format for such an argument is , .
 * You can also supply a parameter like row 1 or row1 to set an entire UI row to the value provided. This argument will repersent slots, and is an iteration. The max number for an argument like this is.
 * Source code example: 1, 5=Diamond
 * You can do the same thing for columns by using parameters like column 1 or col 3. The maximum number to start/end is.
 * You can insert $n into the argument to repersent the current iteration number.
 * An option for this argument delimited by a semicolon at the end of the input is the starting/ending number for the iteration. An example of this would be ; 6, 8, which would start the iteration at and end at, and set row 1 to the values provided.
 * This subsitution can be escaped with \$n.


 * - Disables the automatic "Go Back" Arrow in the UI.
 * - Disables the automatic "Close" Barrier in the UI.
 * - The ID of the UI (Without the ui- prefix). This is needed for when UI Tabbers are used.
 * - The text of the "Go Back" Arrow in the UI.
 * - Hides the UI in the mainspace. This is needed for when UI Tabbers are used and if this UI is a child UI.
 * - Wether to fill the blank slots with blank stained glass icons. Default on.
 * - The maximum number of rows for the UI. This may be any number, but it UI's are traditionally 6 rows tall. Defaults to 6.