Jump to content

Template:BlockInfoBox: Difference between revisions

No edit summary
No edit summary
Line 67: Line 67:
   <tr><th colspan="2" class="game-infobox-header">Tool-Related Attributes:</th></tr>
   <tr><th colspan="2" class="game-infobox-header">Tool-Related Attributes:</th></tr>
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Digging Method</strong></td>
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Digging Method</strong></td>
       <td style="border-left: 0" class="game-infobox-argument">{{{diggingMethod|Hack}}}</td></tr>
       <td style="border-left: 0" class="game-infobox-argument">
    {{#switch: {{{diggingMethod|}}}
    | #default = Hack
    | hack = Hack
    | Hack = Hack
    | axe = Hack
    | Axe = Hack
    | quarry = Quarry
    | Quarry = Quarry
    | pickaxe = Quarry
    | Pickaxe = Quarry
    | shovel = Shovel
    | Shovel = Shovel}}</td></tr>
   {{#if:{{{diggingResilience|}}}|
   {{#if:{{{diggingResilience|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Digging Resilience</strong></td><td style="border-left: 0;" class="game-infobox-argument">{{{diggingResilience|0}}}</td></tr>}} {{#if:{{{requiredToolLevel|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Digging Resilience</strong></td><td style="border-left: 0;" class="game-infobox-argument">{{{diggingResilience|0}}}</td></tr>}} {{#if:{{{requiredToolLevel|}}}|