Toggle menu
45
232
3
1.3K
EmrysSMP Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Grinding/doc

Template page

Script error: The function "docPage" does not exist.

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:

Lua error: callParserFunction: function "#dplvar" was not found. Lua error: callParserFunction: function "#dplvar" was not found.


pt:Predefinição:Esmerilhamento/doc zh:Template:Grinding/doc