Šablona:Inventory Table/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 create an interface that looks similar to the crafting square in the Inventory.

See Template:Inventory slot for basic slot usage, this documentation page will cover additional or different functions.

Usage[editovat zdroj]

{{Inventory Table
|A1=  |B1= Oak Wood Planks
|A2=  |B2= Oak Wood Planks
|Output= Stick,4
}}
produces

Shapeless[editovat zdroj]

If a recipe is shapeless, add shapeless=1 to the template, which will display an icon which when hovered over explains what a shapeless recipe is.

{{Inventory Table
|shapeless= 1
|A1= Leather|B1= Paper
|A2= Paper|B2= Paper
|Output= Book,1
}}
produces







The shapeless parameter does not support animation, so shapeless and non-shapeless recipes cannot be combined.

Animated[editovat zdroj]

To make the slots animate, you make a list of blocks and objects you want to show, separated by semi-colons.

{{Inventory Table
|A1= Oak Wood Planks; Spruce Wood Planks; Birch Wood Planks; Jungle Wood Planks
|B1= Oak Wood Planks; Spruce Wood Planks; Birch Wood Planks; Jungle Wood Planks
 |A2= Oak Wood Planks; Spruce Wood Planks; Birch Wood Planks; Jungle Wood Planks
 |B2= Oak Wood Planks; Spruce Wood Planks; Birch Wood Planks; Jungle Wood Planks
|Output= Crafting Table
}}
produces


















Mods[editovat zdroj]

Mod images and normal images can be combined just like in a single slot.

When uploading mod images, they must have the mod page name in parenthesis at the end. For example Fancystone (FancyPack).

The Mod parameter can be used to set a default used for all parameters, this is best used when all items in the crafting table are modded items, or if the mod name is long and using the vanilla (v) parameter for the vanilla items in the table would be quicker.

Note the links of the vanilla Minecraft items, compared to the IndustrialCraft items.

Animation is fully supported between mod and vanilla items.

See also[editovat zdroj]