Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Grinding

Template page
Revision as of 12:11, 14 June 2019 by minecraft>ItsPlantseed (ItsPlantseed moved page Template:Grindstone repairing to Template:Grinding without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] [history] [purge]Documentation
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
Invicon Damaged Wooden Sword.png: Inventory sprite for Damaged Wooden Sword in Minecraft as shown in-game linking to Wooden Sword with description: Wooden Sword When in Main Hand:  4 Attack Damage  1.6 Attack SpeedInvicon Damaged Stone Sword.png: Inventory sprite for Damaged Stone Sword in Minecraft as shown in-game linking to Stone Sword with description: Stone Sword When in Main Hand:  5 Attack Damage  1.6 Attack SpeedInvicon Damaged Iron Sword.png: Inventory sprite for Damaged Iron Sword in Minecraft as shown in-game linking to Iron Sword with description: Iron Sword When in Main Hand:  6 Attack Damage  1.6 Attack SpeedInvicon Damaged Golden Sword.png: Inventory sprite for Damaged Golden Sword in Minecraft as shown in-game linking to Golden Sword with description: Golden Sword When in Main Hand:  4 Attack Damage  1.6 Attack SpeedInvicon Damaged Diamond Sword.png: Inventory sprite for Damaged Diamond Sword in Minecraft as shown in-game linking to Diamond Sword with description: Diamond Sword When in Main Hand:  7 Attack Damage  1.6 Attack SpeedInvicon Damaged Wooden Sword.png: Inventory sprite for Damaged Wooden Sword in Minecraft as shown in-game linking to Wooden Sword with description: Wooden Sword When in Main Hand:  4 Attack Damage  1.6 Attack SpeedInvicon Damaged Stone Sword.png: Inventory sprite for Damaged Stone Sword in Minecraft as shown in-game linking to Stone Sword with description: Stone Sword When in Main Hand:  5 Attack Damage  1.6 Attack SpeedInvicon Damaged Iron Sword.png: Inventory sprite for Damaged Iron Sword in Minecraft as shown in-game linking to Iron Sword with description: Iron Sword When in Main Hand:  6 Attack Damage  1.6 Attack SpeedInvicon Damaged Golden Sword.png: Inventory sprite for Damaged Golden Sword in Minecraft as shown in-game linking to Golden Sword with description: Golden Sword When in Main Hand:  4 Attack Damage  1.6 Attack SpeedInvicon Damaged Diamond Sword.png: Inventory sprite for Damaged Diamond Sword in Minecraft as shown in-game linking to Diamond Sword with description: Diamond Sword When in Main Hand:  7 Attack Damage  1.6 Attack SpeedInvicon Wooden Sword.png: Inventory sprite for Wooden Sword in Minecraft as shown in-game linking to Wooden Sword with description: Wooden Sword When in Main Hand:  4 Attack Damage  1.6 Attack SpeedInvicon Stone Sword.png: Inventory sprite for Stone Sword in Minecraft as shown in-game linking to Stone Sword with description: Stone Sword When in Main Hand:  5 Attack Damage  1.6 Attack SpeedInvicon Iron Sword.png: Inventory sprite for Iron Sword in Minecraft as shown in-game linking to Iron Sword with description: Iron Sword When in Main Hand:  6 Attack Damage  1.6 Attack SpeedInvicon Golden Sword.png: Inventory sprite for Golden Sword in Minecraft as shown in-game linking to Golden Sword with description: Golden Sword When in Main Hand:  4 Attack Damage  1.6 Attack SpeedInvicon Diamond Sword.png: Inventory sprite for Diamond Sword in Minecraft as shown in-game linking to Diamond Sword with description: Diamond Sword When in Main Hand:  7 Attack Damage  1.6 Attack Speed
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.

See also

de:Vorlage:Schleifsteinrezept es:Plantilla:Afiladora fr:Modèle:Meulage it:Template:Macinazione ja:テンプレート:Grinding lzh:模板:Grinding pt:Predefinição:Esmerilhamento th:แม่แบบ:Grinding uk:Шаблон:Точення zh:Template:Grinding

[view] [edit] [history] [purge]The above documentation is transcluded from Template:Grinding/doc.
Contents