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.
 * 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 .invslot
 * (optional) - Adds styling to the stack number

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