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 the minecraft gamepedia template of same name. Note that this version is more limited than the original at this time.

The tooltips use JavaScript found here.

Usage
All inputs are optional (note: some of these may not work):

Parts
The first parameter is a special parameter consisting of various "parts" grouped together in frames (delimited by ) which will be display one after another if JavaScript is enabled. Every part is optional, but without "name", won't do anything.

Simple example
To display an inventory item of "Raw Porkchop" with an stack size of 20 you would put: "Raw Porkchop,20"
 * shows

An amount of 2–999 is supported, anything else will not be displayed.