本站文本内容除另有声明外,转载时均必须注明出处。(详情…本站文本内容除另有声明外,转载时均必须注明出处。(详情…中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!Minecraft中文Wiki微博正在更新!或许有兴趣去看看Minecraft中文Wiki微博正在更新!或许有兴趣去看看想与其他用户进行编辑上的沟通?社区专页正是为此创建的。想与其他用户进行编辑上的沟通?社区专页正是为此创建的。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。需要管理员的协助?在管理员告示板留言也许可以帮到您。需要管理员的协助?在管理员告示板留言也许可以帮到您。
各位用户:为了让我们能更好了解您的需求,提供更优良的服务,请帮助我们填写一份问卷。编者问卷读者问卷(需要花费7分钟左右)

Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Template:Inventory Table

来自Minecraft Wiki
跳转至: 导航搜索






[查看 | 编辑 | 历史 | 清除缓存]文档页面

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[编辑源代码]

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

Shapeless[编辑源代码]

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[编辑源代码]

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


















另见[编辑源代码]

[查看 | 编辑 | 历史 | 清除缓存]上述文档是从Template:Inventory Table/doc引用的。