本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明

全站通知:

模板:Stonecutting

来自我的世界地下城WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索
[查看 | 编辑 | 历史 | 清除缓存]文档页面
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
平滑石头
石砖台阶
石砖楼梯
石砖墙
雕纹石砖
石砖
苔石砖台阶
苔石砖楼梯
苔石砖墙
苔石砖