Template:BlockInfoBox: Difference between revisions
Appearance
m Protected "Template:BlockInfoBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
No edit summary |
||
Line 1: | Line 1: | ||
<span> | |||
<includeonly> | |||
<table id="BlockInfoBox" class="game-infobox"> | |||
<tr><th colspan="2" class="game-infobox-title">{{{title|}}}</th></tr> | |||
<tr><td colspan="2">{{{model|}}}</td></tr> | |||
<tr><th colspan="2" class="game-infobox-header">General Attributes:</th></tr> | |||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Stackable</strong></td> | |||
<td style="border-left: 0" class="game-infobox-argument"> | |||
{{#switch: {{{isStackable|}}} | |||
| #default = [[File:yes.webp|22x22px]] | |||
| yes = [[File:yes.webp|22x22px]] | |||
| Yes = [[File:yes.webp|22x22px]] | |||
| no = [[File:no.webp|22x22px]] | |||
| No = [[File:no.webp|22x22px]]}} ({{{maxStackSize|0}}})</td></tr> | |||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Flammable</strong></td> | |||
<td style="border-left: 0" class="game-infobox-argument"> | |||
{{#switch: {{{isFlammable|}}} | |||
| #default = [[File:no.webp|22x22px]] | |||
| yes = [[File:yes.webp|22x22px]] | |||
| Yes = [[File:yes.webp|22x22px]] | |||
| no = [[File:no.webp|22x22px]] | |||
| No = [[File:no.webp|22x22px]]}}</td></tr> | |||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Edible</strong></td> | |||
<td style="border-left: 0" class="game-infobox-argument"> | |||
{{#switch: {{{isEdible|}}} | |||
| #default = [[File:no.webp|22x22px]] | |||
| yes = [[File:yes.webp|22x22px]] | |||
| Yes = [[File:yes.webp|22x22px]] | |||
| no = [[File:no.webp|22x22px]] | |||
| No = [[File:no.webp|22x22px]]}}</td></tr> | |||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Sleep Suitability</strong></td> | |||
<td style="border-left: 0" class="game-infobox-argument"> | |||
{{#switch: {{{isSleepable|}}} | |||
| #default = [[File:no.webp|22x22px]] | |||
| yes = [[File:yes.webp|22x22px]] | |||
| Yes = [[File:yes.webp|22x22px]] | |||
| no = [[File:no.webp|22x22px]] | |||
| No = [[File:no.webp|22x22px]]}}</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>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>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> | |||
{{#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>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>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>Fluid Blocker</strong></td> | |||
<td style="border-left: 0" class="game-infobox-argument"> | |||
{{#switch: {{{isFluidBlocker|}}} | |||
| #default = [[File:no.webp|22x22px]] | |||
| yes = [[File:yes.webp|22x22px]] | |||
| Yes = [[File:yes.webp|22x22px]] | |||
| no = [[File:no.webp|22x22px]] | |||
| No = [[File:no.webp|22x22px]]}}</td></tr> | |||
{{#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><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> | |||
<td style="border-left: 0" class="game-infobox-argument"> | |||
{{#switch: {{{diggingMethod|}}} | |||
| #default = [[File:iron_axe.webp|22x22px]] | |||
| axe = [[File:iron_axe.webp|22x22px]] | |||
| Axe = [[File:iron_axe.webp|22x22px]] | |||
| pickaxe = [[File:iron_pickaxe.webp|22x22px]] | |||
| Pickaxe = [[File:iron_pickaxe.webp|22x22px]] | |||
| shovel = [[File:iron_shovel.webp|22x22px]] | |||
| Shovel = [[File:iron_shovel.webp|22x22px]]}}</td></tr> | |||
{{#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>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>Tool Durability Impact</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{toolDurabilityImpact|0}}</td></tr>}} | |||
</table> | |||
</includeonly> | |||
</span> | |||
<span> | <span> | ||
<noinclude> | <noinclude> |