Template:Breaking row/doc: Difference between revisions
imported>Denatidum (Created page with "This template adds a table listing breaking times for each tier of tools of a given block. == Arguments == {| class="wikitable" ! Argument ! Defaults to ! Note |- |<code>block</code> |<nowiki>{{PAGENAME}}</nowiki> |The block of the template. Leave blank if using the page title for the block. |- |<code>hardness</code> |''Unknown'' |The hardness value of the block. |- |<code>tool</code> | |The minimum tool tier needed to harvest the block. Leave blank if a tool is not req...") |
imported>Denatidum No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
|<code>tool</code> | |<code>tool</code> | ||
| | | | ||
|The minimum tool tier needed | |The minimum tool tier needed to harvest the block. | ||
|- | |- | ||
|<code> | |<code>wood</code> | ||
|''Unknown'' | |''Unknown'' | ||
|Breaking time for a wooden tier tool to break the block. Use template | |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}}. | ||
|- | |- | ||
|<code>stone</code> | |<code>stone</code> | ||
|''Unknown'' | |''Unknown'' | ||
|Breaking time for a stone tier tool to break the block. Use template | |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> | ||
|''Unknown'' | |''Unknown'' | ||
|Breaking time for an iron tier tool to break the block. Use template | |Breaking time for an iron tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by an iron tier tool. If not, use template {{tl|No}}. If the block can be broken faster with an iron tier tool, but does not harvest anything, use template {{tl|Maybe}}. | ||
|- | |- | ||
|<code>diamond</code> | |<code>diamond</code> | ||
|''Unknown'' | |''Unknown'' | ||
|Breaking time for a diamond tier tool to break the block. Use template | |Breaking time for a diamond tier tool to break the block. Use template {{tl|Yes}} if the block can be harvested by a diamond tier tool. If not, use template {{tl|No}}. If the block can be broken faster with a diamond tier tool, but does not harvest anything, use template {{tl|Maybe}}. | ||
|- | |- | ||
|<code>steel</code> | |<code>steel</code> | ||
|''Unknown'' | |''Unknown'' | ||
|Breaking time for a steel tier tool to break the block. Use template | |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> | |<code>gold</code> | ||
|''Unknown'' | |''Unknown'' | ||
|Breaking time for a golden tier tool to break the block. Use template | |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
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
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 |