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.

You can also specify the vertical alignment of the text with the image.

Examples
To display this image you would put:
 * which will result in:

If no image is specified, the background will be added on its own, allowing you to do layouts like so: 


 * which will result in:

To align text to the middle on the same line as the image you would put: Smells like in here!
 * which will result in:

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

If |link= is left blank, the link will be removed which in turn removes the title automatically added by links.

To re-add the title, put:
 * which will result in:

Note that if a link is present, its title will override whatever title is specified.

Other templates
These templates implement the grid template into a GUI screen which mimics how it would look in Minecraft with CSS.