Difference between revisions of "Template:Breaking"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

(Created page with "{| class="wikitable breaking-table" ! colspan="8"| Breaking times |- ! Tool | Default {{#if: {{{Wood|}}} {{!}} {{I|Wooden {{{Tool|}}}}} }}<!-- -->{{#if: {{{Stone|}}} {{!}} {{I...")
 
m (Removed obsidian pickaxe)
 
(20 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{| class="wikitable breaking-table"
 
{| class="wikitable breaking-table"
! colspan="8"| Breaking times
+
! colspan="8"| Breaking time: {{I|{{{Item|{{BASEPAGENAME}}}}}}} {{{Item|{{BASEPAGENAME}}}}}
 
|-
 
|-
 
! Tool
 
! Tool
| Default
+
! Default
{{#if: {{{Wood|}}}
+
{{#if: {{{Wood|}}}|
{{!}} {{I|Wooden {{{Tool|}}}}}
+
! {{I|Wooden {{{Tool|}}}}}
}}<!--
+
}}
-->{{#if: {{{Stone|}}}
+
{{#if: {{{Stone|}}}|
{{!}} {{I|Stone {{{Tool|}}}}}
+
! {{I|Stone {{{Tool|}}}}}
}}<!--
+
}}
-->{{#if: {{{Iron|}}}
+
{{#if: {{{Iron|}}}|
{{!}} {{I|Iron {{{Tool|}}}}}
+
! {{I|Iron {{{Tool|}}}}}
}}<!--
+
}}
-->{{#if: {{{Gold|}}}
+
{{#if: {{{Golden|}}}|
{{!}} {{I|Gold {{{Tool|}}}}}
+
! {{I|Golden {{{Tool|}}}}}
}}<!--
+
}}
-->{{#if: {{{Diamond|}}}
+
{{#if: {{{Diamond|}}}|
{{!}} {{I|Diamond {{{Tool|}}}}}
+
! {{I|Diamond {{{Tool|}}}}}
}}<!--
 
-->{{#if: {{{Obsidian|}}}
 
{{!}} {{I|Obsidian {{{Tool|}}}}}
 
 
}}
 
}}
 
|-
 
|-
 
! Time
 
! Time
| {{{Default time|}}}
+
| class="cell-neg"| {{{Default|}}}s
{{#if: {{{Wood|}}}
+
{{#if: {{{Wood|}}}|
{{!}} {{{Wood|}}}
+
{{!}} {{#ifeq:{{{Wood}}}|{{{Default}}}|class="cell-eq"|{{#ifexpr: {{{Wood}}} < {{{Default}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Wood}}}s
}}<!--
+
}}
-->{{#if: {{{Stone|}}}
+
{{#if: {{{Stone|}}}|
{{!}} {{{Stone|}}}
+
{{!}} {{#ifeq:{{{Stone}}}|{{{Wood}}}|class="cell-eq"|{{#ifexpr: {{{Stone}}} < {{{Wood}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Stone}}}s
}}<!--
+
}}
-->{{#if: {{{Iron|}}}
+
{{#if: {{{Iron|}}}|
{{!}} {{{Iron|}}}
+
{{!}} {{#ifeq:{{{Iron}}}|{{{Stone}}}|class="cell-eq"|{{#ifexpr: {{{Iron}}} < {{{Stone}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Iron}}}s
}}<!--
+
}}
-->{{#if: {{{Gold|}}}
+
{{#if: {{{Golden|}}}|
{{!}} {{{Gold|}}}
+
{{!}} {{#ifeq:{{{Golden}}}|{{{Iron}}}|class="cell-eq"|{{#ifexpr: {{{Golden}}} < {{{Iron}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Golden}}}s
}}<!--
+
}}
-->{{#if: {{{Diamond|}}}
+
{{#if: {{{Diamond|}}}|
{{!}} {{{Diamond|}}}
+
{{!}} {{#ifeq:{{{Diamond}}}|{{{Golden}}}|class="cell-eq"|{{#ifexpr: {{{Diamond}}} < {{{Golden}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Diamond}}}s
}}<!--
 
-->{{#if: {{{Obsidian|}}}
 
{{!}} {{{Obsidian|}}}
 
 
}}
 
}}
 
|}<noinclude>
 
|}<noinclude>
Line 47: Line 41:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Breaking
 
{{Breaking
| Default time =  
+
| Item =
 +
| Item-name =  
 
| Tool =  
 
| Tool =  
 +
| Default =
 
| Wood =  
 
| Wood =  
| Wood time =
 
 
| Stone =  
 
| Stone =  
| Stone time =
 
 
| Iron =  
 
| Iron =  
| Iron time =
+
| Golden =  
| Gold =
 
| Gold time =  
 
 
| Diamond =  
 
| Diamond =  
| Diamond time =
 
| Obsidian =
 
| Obsidian time =
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 67: Line 56:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Breaking
 
{{Breaking
| Default time = 1.5s
 
 
| Tool = Pickaxe
 
| Tool = Pickaxe
| Wood = 1.25s
+
| Default = 1.5
| Stone = 1s
+
| Wood = 1.25
| Iron = 0.75s
+
| Stone = 1
| Gold = 0.5s
+
| Iron = 0.75
| Diamond = 0.25s
+
| Golden = 0.5
| Obsidian = 0.1s
+
| Diamond = 0.25
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 81: Line 69:
  
 
{{Breaking
 
{{Breaking
| Default time = 1.5s
 
 
| Tool = Pickaxe
 
| Tool = Pickaxe
| Wood = 1.25s
+
| Default = 1.5
| Stone = 1s
+
| Wood = 1.25
| Iron = 0.75s
+
| Stone = 1
| Gold = 0.5s
+
| Iron = 0.75
| Diamond = 0.25s
+
| Golden = 0.5
| Obsidian = 0.1s
+
| Diamond = 0.25
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:13, 8 July 2022

Breaking time: Breaking Breaking
Tool Default



Time s



Usage

{{Breaking
| Item = 
| Item-name = 
| Tool = 
| Default = 
| Wood = 
| Stone = 
| Iron = 
| Golden = 
| Diamond = 
}}

Example

{{Breaking
| Tool = Pickaxe
| Default = 1.5
| Wood = 1.25
| Stone = 1
| Iron = 0.75
| Golden = 0.5
| Diamond = 0.25
}}

Results in:

Breaking time: Breaking Breaking
Tool Default Wooden Pickaxe Stone Pickaxe Iron Pickaxe Golden Pickaxe Diamond Pickaxe
Time 1.5s 1.25s 1s 0.75s 0.5s 0.25s