Template:CreatureInfoBox: Difference between revisions
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Mountable</strong></td> | <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Mountable</strong></td> | ||
<td style="border-left: 0" class="game-infobox-argument"> | <td style="border-left: 0" class="game-infobox-argument"> | ||
{{#switch: {{{isMountable|}}} | |||
| #default = [[File:no.webp|22x22px]] | | #default = [[File:no.webp|22x22px]] | ||
| yes = [[File:yes.webp|22x22px]] | | yes = [[File:yes.webp|22x22px]] | ||
Line 53: | Line 53: | ||
{{{special|Eggs, Mountable, etc.}}}</td></tr>}} | {{{special|Eggs, Mountable, etc.}}}</td></tr>}} | ||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Drop</strong></td> | <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Drop</strong></td> | ||
<td style="border-left: 0" class="game-infobox-argument">{{{drop| | <td style="border-left: 0" class="game-infobox-argument">{{{drop|}}}</td></tr> | ||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Food</strong></td> | <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Food</strong></td> | ||
<td style="border-left: 0" class="game-infobox-argument">{{{food| | <td style="border-left: 0" class="game-infobox-argument">{{{food|}}}</td></tr> | ||
{{#if:{{{minAudibleDistance|}}}| | {{#if:{{{minAudibleDistance|}}}| | ||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Minimum Audible Distance</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{minAudibleDistance|0 | <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Minimum Audible Distance</strong></td><td style="border-left: 0" class="game-infobox-argument">{{{minAudibleDistance|0}}} blocks</td></tr>}} | ||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Herding Behavior</strong></td> | <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Herding Behavior</strong></td> | ||
<td style="border-left: 0" class="game-infobox-argument">{{{herdingBehavior|Yes | <td style="border-left: 0" class="game-infobox-argument"> | ||
{{#switch: {{{herdingBehavior|}}} | |||
| #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>Spawner Egg</strong></td> | <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Spawner Egg</strong></td> | ||
<td style="border-left: 0" class="game-infobox-argument">{{{ | <td style="border-left: 0" class="game-infobox-argument"> | ||
{{#switch: {{{hasSpawnerEgg|}}} | |||
| #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 colspan="2" class="game-infobox-attribute" style="text-align: center"><strong>[[Template:CreatureInfoBox|Creature Infobox Explanation]]</strong></td></tr> | <tr><td colspan="2" class="game-infobox-attribute" style="text-align: center"><strong>[[Template:CreatureInfoBox|Creature Infobox Explanation]]</strong></td></tr> | ||
</table> | </table> |
Revision as of 00:53, 1 August 2025
View the documentation for this Template here.
Embeds a customized infobox for displaying creature attributes along the left side of a wiki page. Can be used in conjunction with the Widget:ModelViewer for displaying creature models.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Creature Title | title | Name of the creature.
| String | suggested |
Model | model | Source for creature model or image. Templates are recommended but static files can be passed as well.
| Template | suggested |
Appearance Biome | appearanceBiome | Biome(s) the creature inhabits.
| String | suggested |
Attack Resilience | attackResilience | Creature's resistance to attacks. | Number | optional |
Fire Resilience | fireResilience | Creature's resistance to fire damage. | Number | optional |
Fall Resilience | fallResilience | Creature's resistance to fall damage. | Number | optional |
Attack Power | attackPower | Creature's attack power. | Number | optional |
Breathing Mode | breathingMode | Does the creature breathe in air or water?
| String | optional |
Mountable | mountable | Is the creature mountable?
| Boolean | optional |
Walk Speed | walkSpeed | How fast does the creature walk?
| Number | optional |
Fly Speed | flySpeed | How fast does the creature fly?
| Number | optional |
Swim Speed | swimSpeed | How fast does the creature swim?
| Number | optional |
Jump Height | jumpHeight | How high does the creature jump?
| Unknown | optional |
Acceleration Factor | accelerationFactor | Time required for the creature to reach max running speed
| Number | optional |
Mass | mass | How heavy is the creature?
| Number | optional |
Bodybox Size | bodyBoxSize | Dimensions of the creature.
| String | optional |
Special | special | Special creature attributes, such as being mountable or laying eggs.
| String | optional |
Drop | drop | Type and quantity of items this creature drops when killed.
| String | optional |
Food | food | Food types this creature enjoys, such as plants or meat.
| String | optional |
Minimum Audible Distance | minAudibleDistance | The minimum audible distance this creature can be heard, in blocks.
| Number | optional |
Herding Behavior | herdingBehavior | Does this creature engage in pack-like behavior when one member of the group is provoked?
| Boolean | optional |
Spawner Egg | spawnerEgg | Does this creature have a spawner egg available in Creative mode?
| Boolean | optional |