Template:Sprite grid/doc

This Template is used to draw simple 2D-spritegraphics.

It uses the IDs from sprite sheets to define single-character-abbreviations for sprites, which can be used in a Table-like fashion

The sprite sheet used can be defined by adding the sprite template name before the ID, followed by a colon. The default sprite sheet can be provided using, and defaults to BlockSprite.

Icons can have their link removed, by starting the sprite ID with +. Alternatively, if the default link is not correct, you can add  (where   is the name of a page) at the end (after the optional rotation).

Icons can be rotated by adding  on the end of the sprite ID (e.g.   for a red glazed terracotta rotated 90 degrees).

sets the pixels of spacing between each cell,  by default.

Example

 * produces

Undefined prefixes or prefixes assigned to names unknown to the sprite template are replaced by.