本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知)
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明)
模板:Stonecutting
此模板使用了模块:Stonecutting,此脚本使用Lua编写。
更多详情,请参阅维基百科:Lua和MediaWiki:扩展: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) |
平滑石头 | |
石砖台阶或 石砖楼梯或 石砖墙或 雕纹石砖 |
石砖 | |
苔石砖台阶或 苔石砖楼梯或 苔石砖墙 |
苔石砖 |