Jump to content

Template:BlockInfoBox: Difference between revisions

No edit summary
No edit summary
Line 42: Line 42:
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Fuel Value</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{fuelValue|0}}}</td></tr>}} {{#if:{{{fuelValue|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Fuel Value</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{fuelValue|0}}}</td></tr>}} {{#if:{{{fuelValue|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Fire Duration</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{fireDuration|0}}}</td></tr>}} {{#if:{{{foodType|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Fire Duration</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{fireDuration|0}}}</td></tr>}} {{#if:{{{foodType|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Food Type</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{foodType}}</td></tr>}} {{#if:{{{nutritionalValue|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Food Type</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{foodType}}}</td></tr>}} {{#if:{{{nutritionalValue|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Food Type</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{nutritionalValue|0}}</td></tr>}} {{#if:{{{emittedLightAmount|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Food Type</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{nutritionalValue|0}}}</td></tr>}} {{#if:{{{emittedLightAmount|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Emitted Light Amount</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{emittedLightAmount|0}}</td></tr>}}
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Emitted Light Amount</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{emittedLightAmount|0}}</td></tr>}}
   <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>
   {{#if:{{{lightAttenuation|}}}|
   {{#if:{{{lightAttenuation|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Light Attenuation</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{lightAttenuation|0}}</td></tr>}} {{#if:{{{explosivePower|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Light Attenuation</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{lightAttenuation|0}}}</td></tr>}} {{#if:{{{explosivePower|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Explosive Power</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{explosivePower|0}}</td></tr>}} {{#if:{{{explosionResilience|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Explosive Power</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{explosivePower|0}}}</td></tr>}} {{#if:{{{explosionResilience|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Explosion Resilience</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{explosionResilience|0}}</td></tr>}} {{#if:{{{projectileResilience|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Explosion Resilience</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{explosionResilience|0}}}</td></tr>}} {{#if:{{{projectileResilience|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Projectile Resilience</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{projectileResilience|0}}</td></tr>}} {{#if:{{{density|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Projectile Resilience</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{projectileResilience|0}}}</td></tr>}} {{#if:{{{density|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Density</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{density|0}}</td></tr>}}
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Density</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{density|0}}}</td></tr>}}
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Fluid Blocker</strong></td>
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Fluid Blocker</strong></td>
       <td style="border-left: 0" class="game-infobox-argument">
       <td style="border-left: 0" class="game-infobox-argument">
Line 61: Line 61:
     | No = [[File:no.webp|22x22px]]}}</td></tr>
     | No = [[File:no.webp|22x22px]]}}</td></tr>
   {{#if:{{{projectileStickProbability|}}}|
   {{#if:{{{projectileStickProbability|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Projectile Stick Probability</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{projectileStickProbability|0}}</td></tr>}}
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Projectile Stick Probability</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{projectileStickProbability|0}}}</td></tr>}}
   <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>
Line 74: Line 74:
     | Shovel = [[File:iron_shovel.webp|22x22px]]}}</td></tr>
     | Shovel = [[File:iron_shovel.webp|22x22px]]}}</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|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Required Tool Level</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{requiredToolLevel|0}}</td></tr>}} {{#if:{{{experienceGiven|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Required Tool Level</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{requiredToolLevel|0}}}</td></tr>}} {{#if:{{{experienceGiven|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Experience Given</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{experienceGiven|0}}</td></tr>}} {{#if:{{{toolDurabilityImpact|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Experience Given</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{experienceGiven|0}}}</td></tr>}} {{#if:{{{toolDurabilityImpact|}}}|
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Tool Durability Impact</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{toolDurabilityImpact|0}}</td></tr>}}
   <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Tool Durability Impact</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{toolDurabilityImpact|0}}}</td></tr>}}
</table>
</table>
</includeonly>
</includeonly>