Template:Breaking row/doc: Difference between revisions

From BTA-Mirror
imported>Ttv pedro270707
mNo edit summary
imported>Denatidum
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 17: Line 17:
|<code>tool</code>
|<code>tool</code>
|
|
|The minimum tool tier needed to harvest the block. Leave blank if a tool is not required to harvest the block.
|The minimum tool tier needed to harvest the block.
|-
|-
|<code>wooden</code>
|<code>wood</code>
|''Unknown''
|''Unknown''
|Breaking time for a wooden tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by a wooden tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a wooden tier tool, but does not harvest anything, use template {{tl|Maybe}}.
|Breaking time for a wooden tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by a wooden tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a wooden tier tool, but does not harvest anything, use template {{tl|Maybe}}.
Line 25: Line 25:
|<code>stone</code>
|<code>stone</code>
|''Unknown''
|''Unknown''
|Breaking time for a stone tier tool to break the block. Use template {{Yes}} if the block can be harvested by a stone tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a stone tier tool, but does not harvest anything, use template {{tl|Maybe}}.
|Breaking time for a stone tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by a stone tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a stone tier tool, but does not harvest anything, use template {{tl|Maybe}}.
|-
|-
|<code>iron</code>
|<code>iron</code>
Line 39: Line 39:
|Breaking time for a steel tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by a steel tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a steel tier tool, but does not harvest anything, use template {{tl|Maybe}}.
|Breaking time for a steel tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by a steel tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a steel tier tool, but does not harvest anything, use template {{tl|Maybe}}.
|-
|-
|<code>golden</code>
|<code>gold</code>
|''Unknown''
|''Unknown''
|Breaking time for a golden tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by a golden tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a golden tier tool, but does not harvest anything, use template {{tl|Maybe}}.
|Breaking time for a golden tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by a golden tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a golden tier tool, but does not harvest anything, use template {{tl|Maybe}}.
|}
|}
== Usage ==
The template should generally be used in the 'obtaining' section.
<code><nowiki>{{Breaking row |block=Block of Steel |hardness=50 |tool=Iron Pickaxe |default={{No|30}} |wood={{No|20}} |stone={{No|10}} |iron={{Yes|5}} |diamond={{Yes|2.5}} |steel={{Yes|5}} |gold={{Yes|7.5}}}}</nowiki></code> gives:
{{Breaking row |block=Block of Steel |hardness=50 |tool=Iron Pickaxe |default={{No|30}} |wood={{No|20}} |stone={{No|10}} |iron={{Yes|5}} |diamond={{Yes|2.5}} |steel={{Yes|5}} |gold={{Yes|7.5}}}}

Latest revision as of 23:30, 31 August 2023

This template adds a table listing breaking times for each tier of tools of a given block.

Arguments[edit source]

Argument Defaults to Note
block {{PAGENAME}} The block of the template. Leave blank if using the page title for the block.
hardness Unknown The hardness value of the block.
tool The minimum tool tier needed to harvest the block.
wood Unknown Breaking time for a wooden tier tool to break the block. Use template {{Yes}} if the block can be harvested by a wooden tier tool. If not, use template {{No}}. If the block can be broken faster with a wooden tier tool, but does not harvest anything, use template {{Maybe}}.
stone Unknown Breaking time for a stone tier tool to break the block. Use template {{Yes}} if the block can be harvested by a stone tier tool. If not, use template {{No}}. If the block can be broken faster with a stone tier tool, but does not harvest anything, use template {{Maybe}}.
iron Unknown Breaking time for an iron tier tool to break the block. Use template {{Yes}} if the block can be harvested by an iron tier tool. If not, use template {{No}}. If the block can be broken faster with an iron tier tool, but does not harvest anything, use template {{Maybe}}.
diamond Unknown Breaking time for a diamond tier tool to break the block. Use template {{Yes}} if the block can be harvested by a diamond tier tool. If not, use template {{No}}. If the block can be broken faster with a diamond tier tool, but does not harvest anything, use template {{Maybe}}.
steel Unknown Breaking time for a steel tier tool to break the block. Use template {{Yes}} if the block can be harvested by a steel tier tool. If not, use template {{No}}. If the block can be broken faster with a steel tier tool, but does not harvest anything, use template {{Maybe}}.
gold Unknown Breaking time for a golden tier tool to break the block. Use template {{Yes}} if the block can be harvested by a golden tier tool. If not, use template {{No}}. If the block can be broken faster with a golden tier tool, but does not harvest anything, use template {{Maybe}}.

Usage[edit source]

The template should generally be used in the 'obtaining' section.

{{Breaking row |block=Block of Steel |hardness=50 |tool=Iron Pickaxe |default={{No|30}} |wood={{No|20}} |stone={{No|10}} |iron={{Yes|5}} |diamond={{Yes|2.5}} |steel={{Yes|5}} |gold={{Yes|7.5}}}} gives:

Block Block of Steel
Hardness 50
Tool
Breaking time
Default 30
Wooden 20
Stone 10
Iron 5
Diamond 2.5
Steel 5
Golden 7.5