Template:Stonecutting

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation
Lua logo.svg
This template uses Module:Stonecutting, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.

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=Java Edition 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:

Name Ingredients Cutting recipe
Stone Slab or
Stone Stairs or
Stone Bricks or
Stone Brick Slab or
Stone Brick Stairs or
Stone Brick Wall or
Chiseled Stone Bricks
Stone
Smooth Stone Slab
(Java Edition 1.14)
Smooth Stone
Stone Brick Slab or
Stone Brick Stairs or
Stone Brick Wall or
Chiseled Stone Bricks
Stone Bricks
Mossy Stone Brick Slab or
Mossy Stone Brick Stairs or
Mossy Stone Brick Wall
Mossy Stone Bricks
[view | edit | history | purge]The above documentation is transcluded from Template:Stonecutting/doc.