Minecraft Wiki
Minecraft Wiki
[view | edit | history | purge]Documentation
Lua logo.png
This template uses Module:BlockGrid, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.

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

It uses the IDs from BlockSprite to define single-character-abbrevations for blocks, which can be used in a Table-like fashion

Icons can be rotated by adding -rot<number> on the end of the sprite ID (e.g. Red Glazed Terracotta-rot90 for a red glazed terracotta rotated 90 degrees).

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


|g=Grass Block|s=stone|S=sand|m=magenta-glazed-terracotta|M=magenta-glazed-terracotta-rot90
|s g

Note that undefined prefixes or prefixes assigned to block names unknown to the BlockSprite template are replaced by

See also

[view | edit | history | purge]The above documentation is transcluded from Šablona:BlockGrid/doc.