Template:Inventory slot/doc

The inventory slot template creates an interface element which looks and acts like an in-game inventory slot.

This template / documentation taken from w:c:Minecraft:Template:Inventory slot. Note that this version is more limited than the original at this time.

The tooltips use JavaScript found MediaWiki:Common.js/minetip.js.

Syntax
item1[; item2; ...]


 * - The first parameter is the name of the item(s) or item declaration(s) using Inventory Slot Special Item Syntax (ISSIS).
 * The item name, link, title, text and image can be displayed accordingly to what is predefined (See ).
 * All of the above can be overridden with calling Slot with additional parameters.
 * Additional information, Amount can be appended to the name of the item. The number will be displayed at the bottom-right corner of a slot.
 * Multi-frame slot can be typed in display sequence and delimited by ;; they will be display one after another if JavaScript is enabled.
 * Inventory Slot Special Item Syntax (ISSIS)
 * Besides the name of the item, user can also use the ISSIS to declare an item more flexibly.
 * Newlines maybe used in the description as an alternative to /.
 * Syntax Detail:
 * Every part in the ISSIS is optional, with the exception that  must be present.
 * (optional) - Image always shown under the main image
 * (optional) - Sets the vertical alignment
 * (optional) - Overrides the link
 * (optional) - Title to show on mouseover
 * (optional) - Text to show on mouseover
 * (optional) - Adds additional classes to the .invslot class
 * (optional) - Adds styling to the .invslot
 * (optional) - Adds styling to the .invitem
 * (optional) - Adds styling to the stack number

Tooltip Formatting
The title and text accepts Color/Formatting Codes specified in w:c:minecraft:Formatting codes with Java version behaviour, with the following rules:
 * Use & followed by a letter representing a Color/Formatting Code. The specified color/formatting(s) will affect the rest of the string. For example, &c starts a string colored in red, and &a&l starts a string colored in green and in bold font.
 * When going into a new line or when &r is used, all previous Color/Formatting Codes are discarded.
 * When using a color code (-, -), all previous formatting code are discarded.
 * A new line can be inserted with /.
 * In title and text, the ampersand and the forward slash & / must be escaped as \& \/ to be treated correctly as normal text.

Tooltips Definitions
The following modules manages all predefined tooltips:
 * General Tooltip Definition - Module:Inventory slot/Tooltips
 * Item Templates Definition - Module:Inventory slot/Templates
 * Item Variants - Module:Item/Variants
 * Other Aliases/Final Processor - Module:Inventory slot/Aliases

Some special usage convensions for Slot:
 * Pet Tooltips with Rarity: ' ' (Example 'Monkey Pet (R)')
 * Potion/Enchantment Tooltips: ' ' or 'Enchanted Book ', where can be an arabic or roman number

Example 1

 * Produces

Example 2

 * Produces

Example 3

 * Produces