Minecraft Wiki
Advertisement
[view | edit | history | purge]Documentation
Lua logo
This template uses Module:Grinding, a script written in Lua.

Using this template, you can create tables like those commonly used in the “Repairing” section of articles about items. It can be used similarly to {{Grindstone}}, except it creates the table for you.

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

{{Grinding
  |head=1
  |showdescription=1
  |ingredients=2x Damaged [[Wooden Sword]] or<br>2x Damaged [[Stone Sword]] or<br>2x Damaged [[Iron Sword]] or<br>2x Damaged [[Golden Sword]] or<br>2x Damaged [[Diamond Sword]]
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword
  |Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword
  |description=The durability of the two swords is added together, plus an extra 5% durability.
}}
{{Grinding
  |ingredients=2x Damaged [[Elytra]]
  |Damaged Elytra
  |Damaged Elytra
  |Elytra
  |description=The durability of the two elytra pairs are added together, plus an extra 5% durability.
  |foot=1
}}

produces:

Name Ingredients Grinding recipe Description
Wooden Sword or
Stone Sword or
Iron Sword or
Golden Sword or
Diamond Sword
2x Damaged Wooden Sword or
2x Damaged Stone Sword or
2x Damaged Iron Sword or
2x Damaged Golden Sword or
2x Damaged Diamond Sword
The durability of the two swords is added together, plus an extra 5% durability.
Elytra 2x Damaged Elytra
The durability of the two elytra pairs are added together, plus an extra 5% durability.
[view | edit | history | purge]The above documentation is transcluded from Template:Grinding/doc.
Advertisement