Template:Inventory slot/doc

The grid template is a singular grid cell, which has the ability to display any image (usually a block or item) that is uploaded as Grid .png, within it.

Usage
Put  where you want the image.

All inputs are optional (however Amount, Mod, Link and Title won't do anything without Name):

Examples
To display this image with an amount of 20 you would put:
 * which will result in:

Amount supports from 2 - 999, anything else will not be displayed.

If no image is specified, the background will be added on its own, this could be used to do layouts like so: 
 * which will result in:

A mod image is specified with the mod parameter. The image link will then link to the mod sub-page allowing correct linking of mod images. The uploaded image name should also have () at the end and should be added to the Grid mods category, which prevents them from being confused with official Minecraft items. For example, to display this mod image :
 * which will result in:

Animation is fully supported up to 16 frames, frames are separated by commas. However, mod and normal items cannot be combined in a single animation.
 * which will result in:

If more than 16 frames are added then the page will be added to the Too many frames category and the extra frames will not be displayed. If you don't know how to add more frames, request for them to be added on the talk page.

Align supports anything vertical-align supports, for example to align to the middle: Smells like in here!
 * which will result in:

Default is always shown and is placed under the image.
 * which will result in:

To change the link from the image name put:
 * which will result in:

To remove the link, set link to none:
 * which will result in:

Note that this will retain the title.

To add a different title, put:
 * which will result in:

To remove the title, set title to none:

Note that setting title will remove the link, this is due to the automatic titling of a link overwriting what title is set to.

Other templates
These templates implement this template into a GUI screen which mimics how it would look in Minecraft. Thus, they have mostly the same features as this template.

fr:Modèle:Grille/doc