Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement
[查看 | 编辑 | 历史 | 清除缓存]文档页面
Lua logo.svg

此模板使用了模块:Stonecutting,此脚本使用Lua编写。
更多详情,请参阅维基百科:LuaMediaWiki:扩展:Scribunto

Using this template, you can create tables like those commonly used in the “Stonecutting” and “Stonecutting ingredient” sections of articles about blocks. It can be used similarly to {{Stonecutter}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Stonecutter}}. You can set the parameter {{{showname=1}}} or {{{showname=0}}} in the first template of the table to show or hide the Name column. To group multiple stonecutting templates into one table, you also need to set {{{head=1}}} in the first template of the table, and {{{foot=1}}} in the last.

Example usage:

{{Stonecutting
  |head=1
  |Stone
  |Stone Slab, 2; Stone Stairs; Stone Bricks; Stone Brick Slab, 2; Stone Brick Stairs; Stone Brick Wall; Chiseled Stone Bricks
}}
{{Stonecutting
  |Smooth Stone
  |Smooth Stone Slab, 2
  |upcoming=1.14
}}
{{Stonecutting
  |Stone Bricks
  |Stone Brick Slab, 2; Stone Brick Stairs; Stone Brick Wall; Chiseled Stone Bricks
}}
{{Stonecutting
  |Mossy Stone Bricks
  |Mossy Stone Brick Slab, 2; Mossy Stone Brick Stairs; Mossy Stone Brick Wall
  |foot=1
}}

produces:

名称 材料 切石配方
石台阶
石楼梯
石砖
石砖台阶
石砖楼梯
石砖墙
錾制石砖
石头
平滑石台阶
1.14
平滑石头
石砖台阶
石砖楼梯
石砖墙
錾制石砖
石砖
苔石砖台阶
苔石砖楼梯
苔石砖墙
苔石砖
Advertisement