[purgar]
Esta é a página de documentação, ela deverá ser transcluída na página principal da predefinição. Veja Predefinição:Documentação para mais informações.This is a single row of ID table. It should't be used outside of that template.
Parameter | Function | Default value |
---|---|---|
icon |
Block/item icon. If empty, icon will not be displayed | empty |
id |
Decimal ID of block/item. Leading 0's are not removed | 00 |
idcolor |
If non-empty, color of IDs | empty |
name |
Name of a block/item. If such page exists, will be used as link. Can contain [[...]] |
empty |
Examples
Regular block:
{{ID table | align = none | rows = {{ID table row | icon = Stone.png | id = 01 | idcolor = | name = Stone}} }}
Block, that cannot be legitimately obtained:
{{ID table | align = none | rows = {{ID table row | icon = Grass.png | id = 02 | idcolor = red | name = Grass}} }}
Removed block:
{{ID table | align = none | rows = {{ID table row | icon = Sponge.png | id = 19 | idcolor = green | name = Sponge}} }}
Block without icon:
{{ID table | align = none | rows = {{ID table row | icon = | id = 00 | idcolor = red | name = Air}} }}
Only part of the name is a link:
{{ID table | align = none | rows = {{ID table row | icon = Redstone (Torch, Active).png | id = 76 | idcolor = | name = [[Redstone Torch]] ("on" state)}} }}
Superscript letters after block names (e.g. D for blocks that have additional data) are not supported yet. You must manually add <sup>...</sup>
after this template:
{{ID table | align = none | rows = {{ID table row | icon = Leaves.png | id = 18 | idcolor = red | name = Leaves}} <sup>[[#Wood|D]]</sup> }}
More complex example (note additianal spaces):
{{ID table | align = none | name = Block type | rows = {{ID table row | icon = | id = 00 | idcolor = red | name = Air}} {{ID table row | icon = Stone.png | id = 01 | idcolor = | name = Stone}} {{ID table row | icon = Grass.png | id = 02 | idcolor = red | name = Grass}} {{ID table row | icon = Dirt.png | id = 03 | idcolor = | name = Dirt}} {{ID table row | icon = Cobblestone.png | id = 04 | idcolor = | name = Cobblestone}} {{ID table row | icon = Wooden Plank.png | id = 05 | idcolor = | name = Wooden Plank}} {{ID table row | icon = Sapling.png | id = 06 | idcolor = | name = Sapling}} <sup>[[#Saplings|D]]</sup> {{ID table row | icon = Bedrock.png | id = 07 | idcolor = red | name = Bedrock}} {{ID table row | icon = Water.png | id = 08 | idcolor = red | name = Water}} <sup>[[#Water and Lava|D]]</sup> {{ID table row | icon = Water.png | id = 09 | idcolor = red | name = Stationary [[Water]]}} <sup>[[#Water and Lava|D]]</sup> {{ID table row | icon = Lava.png | id = 10 | idcolor = red | name = Lava}} <sup>[[#Water and Lava|D]]</sup> {{ID table row | icon = Lava.png | id = 11 | idcolor = red | name = Stationary [[Lava]]}} <sup>[[#Water and Lava|D]]</sup> {{ID table row | icon = Sand.png | id = 12 | idcolor = | name = Sand}} {{ID table row | icon = Gravel.png | id = 13 | idcolor = | name = Gravel}} {{ID table row | icon = Gold (Ore).png | id = 14 | idcolor = | name = Gold Ore}} {{ID table row | icon = Iron (Ore).png | id = 15 | idcolor = | name = Iron Ore}} {{ID table row | icon = Minério de carvão.png | id = 16 | idcolor = red | name = Coal Ore}} {{ID table row | icon = Wood.png | id = 17 | idcolor = | name = Wood}} <sup>[[#Wood|D]]</sup> <sup>[[#Wood|B]]</sup> {{ID table row | icon = Leaves.png | id = 18 | idcolor = red | name = Leaves}} <sup>[[#Wood|D]]</sup> {{ID table row | icon = Sponge.png | id = 19 | idcolor = green | name = Sponge}} }}
Nome | ID de espaço de nome |
---|---|
? | ? |
? | ? |
? | ? |
? | ? |
? | ? |
? | ? |
? | ? |