本站文本内容除另有声明外,均在知识共享 署名-非商业性使用-相同方式共享 3.0 协议下提供。(详情…本站文本内容除另有声明外,均在知识共享 署名-非商业性使用-相同方式共享 3.0 协议下提供。(详情…中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!Minecraft中文Wiki微博正在更新!或许有兴趣去看看Minecraft中文Wiki微博正在更新!或许有兴趣去看看想与其他用户进行编辑上的沟通?社区专页正是为此创建的。想与其他用户进行编辑上的沟通?社区专页正是为此创建的。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。需要管理员的协助?在管理员告示板留言也许可以帮到您。需要管理员的协助?在管理员告示板留言也许可以帮到您。

Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

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引用的。