Template:Table/Stonecutting

From Aether Project Wiki
Jump to navigation Jump to search
[view | edit | history | purge]Documentation
Lua.svg
This template uses Module:Stonecutting, a script written in Lua.

Using this template, you can create tables like those commonly used in the “Stonecutting” and “Stonecutting ingredient” sections of articles about blocks.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Stonecutting}}. 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.

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 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:Table/Stonecutting/doc.