Template:Grid/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
All inputs are optional (however Amount, Mod, Link and Title won't do anything without Name): 

Examples
To display this image File:Grid Raw Porkchop.png with an amount of 20 you would put:
 * shows

An amount of 2 - 999 is supported, anything else will not be displayed. Note, the automatic link is removed if is the same as the item name. This is to help prevent self-links, use the link parameter to re-add the link if you need it.

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

A mod image is specified with the Mod: section of the name (or by setting a default mod using 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 by uploaded as Grid  ().png 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 File:Grid Bronze Sword (IndustrialCraft).png:  (or  )
 * shows

Grids can be animated with a theoretically unlimited amount of frames, between mod items and vanilla items. Frames are separated by semi-colons.
 * shows

As you can see, the mod had to be specified for each mod frame, this is where the default mod parameter is useful.
 * shows

To use a vanilla minecraft item when a default mod is set, use vanilla (shortcut v) as the mod.
 * shows

Multiple mods and vanilla minecraft items can be combined in a single animation.

Align uses the vertical-align CSS property. For example to align to the middle: Smells like in here!
 * shows

Default is always shown and is placed under the image.
 * shows

To change the link from the image name put:
 * shows

To remove the link, set link to none:
 * shows

Note that this retains the title.

To add a different title, put:
 * shows

To remove the title, set title to none:
 * shows

Note that setting title will remove the link, due to a limitation in the software.

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.