Šablona:RedstoneCircuitGrid/doc

Z Minecraft Wiki
Přejít na: navigace, hledání
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

This Template is used to draw 2D redstone circuits.

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

Example[editovat zdroj]

{{RedstoneCircuitGrid
|d=dirt|t=r-torch-on-w|c=rw-on-sw|r=repeater-on-n0|_=air
|dtc
|__r
}}
produces







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

Also, the space character (“ ”) can be used as key, but will be removed at the beginning and end of rows.