User:KnightMiner/Sandbox/Blue

{{

{{#vardefineecho: diggingheader | ! rowspan="2" | Block {{#ifeq: {{{simple|}}} | 1 |{{#vardefine: simplecell|1}}| ! rowspan="2" {{#if: | data-sort-type="number" }} | Hardness ! rowspan="2" | Tool }} ! colspan="{{#ifeq: {{{simple|}}} | 1 | 6 | 8 }}" | Breaking time (seconds) ! {{#if: | data-sort-type="number" {{!}} }} Bare hands ! {{#if: | data-sort-type="number" {{!}} }} Wooden ! {{#if: {{#var: $sortable }} | data-sort-type="number" {{!}} }} Stone ! {{#if: {{#var: $sortable }} | data-sort-type="number" {{!}} }} Iron ! {{#if: {{#var: $sortable }} | data-sort-type="number" {{!}} }} Diamond ! {{#if: {{#var: $sortable }} | data-sort-type="number" {{!}} }} Golden {{#ifeq: {{{simple|}}} | 1 || ! {{#if: {{#var: $sortable }} | data-sort-type="number" {{!}} }} Shears ! {{#if: {{#var: $sortable }} | data-sort-type="number" {{!}} }} Sword }}
 * 1) ifeq: {{#var: digginghead }} | 1
 * {{#vardefine: digginghead | 1 }}{| class="wikitable {{#if: {{#vardefineecho: $sortable | {{{sort|}}} }} | sortable }}" style="text-align:center"
 * {{#vardefine: digginghead | 1 }}{| class="wikitable {{#if: {{#vardefineecho: $sortable | {{{sort|}}} }} | sortable }}" style="text-align:center"

}}}}{{ #ifeq:  | 1 | |  }} }} !style="text-align:left"| {{#ifeq: | 1 | #ifeq: | -1 | {{#if: {{#var: $sortable }} | data-sort-value="999" {{!}} }} ∞ |  }} {{!}} {{  #switch: |#default = — |Pickaxe|Shovel|Axe = {{#if: {{#var: $sortable }} | data-sort-value="" {{!}} }} }} }} #if: |{{#if: {{#var: $sortable }} | data-sort-value="999" }} |{{tc |{{     #switch: |None|Diamond|Iron|Stone|Wood = no     |#default = }}	|{{breaking time|drop=|var=hardness}} }} }} }}  #if: |? ?  ?  ?  ?  |{{    #if: |           |{{tc |	 |{{breaking time||Wood|drop=|var=hardness}} }} {{tc |	 |{{breaking time||Stone|drop=|var=hardness}} }} {{tc |	 |{{breaking time||Iron|drop=|var=hardness}} }} {{tc |	 |{{breaking time||Diamond|drop=|var=hardness}} }} {{tc |	 |{{breaking time||Golden|drop={{{3|}}}|var=hardness}} }}   }}  }} }}{{ {{!}}  {{!}} }}{{#if: {{{foot|}}} {{#ifeq: {{{foot|}}} | 2 {{#var: diggingheader }} }} {{!}}}{{ #vardefine: digginghead |}}{{ #vardefine: simplecell|0}} }}
 * 1) vardefine:mine|{{
 * {{!}} {{
 * if:
 * if:
 * 1) switch: {{#ifeq: {{#var: simplecell}} | 1 | Axe | {{{2|}}} }}
 * default = — —  —  —  —
 * Pickaxe|Shovel|Axe = {{
 * Pickaxe|Shovel|Axe = {{
 * 1) ifeq: | 1 |
 * {{!}}-