Template:CreatureInfoBox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span> | <span> | ||
<includeonly> | <includeonly> | ||
Line 20: | Line 15: | ||
<td style="border-left: 0" class="game-infobox-argument"> | <td style="border-left: 0" class="game-infobox-argument"> | ||
{{#switch: {{{breathingMode|}}} | {{#switch: {{{breathingMode|}}} | ||
| #default = [[File:air.webp| | | #default = [[File:air.webp|30x30px]] | ||
| air = [[File:air.webp| | | air = [[File:air.webp|30x30px]] | ||
| Air = [[File:air.webp| | | Air = [[File:air.webp|30x30px]] | ||
| water = [[File:water.webp| | | water = [[File:water.webp|30x30px]] | ||
| Water = [[File:water.webp| | | Water = [[File:water.webp|30x30px]]}}</td></tr> | ||
<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|}}} | {{#switch: {{{isMountable|}}} | ||
| #default = [[File:no.webp| | | #default = [[File:no.webp|20x20px]] | ||
| yes = [[File:yes.webp| | | yes = [[File:yes.webp|18x18px]] | ||
| Yes = [[File:yes.webp| | | Yes = [[File:yes.webp|18x18px]] | ||
| no = [[File:no.webp| | | no = [[File:no.webp|20x20px]] | ||
| No = [[File:no.webp| | | No = [[File:no.webp|20x20px]]}}</td></tr> | ||
<tr><th colspan="2" class="game-infobox-header">Motion:</th></tr> | <tr><th colspan="2" class="game-infobox-header">Motion:</th></tr> | ||
{{#if:{{{walkSpeed|}}}| | {{#if:{{{walkSpeed|}}}| | ||
Line 50: | Line 45: | ||
<tr><th colspan="2" class="game-infobox-header">Other Attributes:</th></tr> | <tr><th colspan="2" class="game-infobox-header">Other Attributes:</th></tr> | ||
{{#if:{{{special|}}}| | {{#if:{{{special|}}}| | ||
<tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Special</strong></td><td style="border-left: 0" class="game-infobox- argument"> | <tr><td style="border-right: 0" class="game-infobox-attribute"><strong>Special</strong></td><td style="border-left: 0" class="game-infobox-argument"> | ||
{{{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></tr> | <td style="border-left: 0" class="game-infobox-argument">{{{drop|None}}}</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></tr> | <td style="border-left: 0" class="game-infobox-argument">{{{food|Cannot be fed}}}</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}}} blocks</td></tr>}} | <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>}} | ||
Line 61: | Line 56: | ||
<td style="border-left: 0" class="game-infobox-argument"> | <td style="border-left: 0" class="game-infobox-argument"> | ||
{{#switch: {{{herdingBehavior|}}} | {{#switch: {{{herdingBehavior|}}} | ||
| #default = [[File:no.webp| | | #default = [[File:no.webp|20x20px]] | ||
| yes = [[File:yes.webp| | | yes = [[File:yes.webp|18x18px]] | ||
| Yes = [[File:yes.webp| | | Yes = [[File:yes.webp|18x18px]] | ||
| no = [[File:no.webp| | | no = [[File:no.webp|20x20px]] | ||
| No = [[File:no.webp| | | No = [[File:no.webp|20x20px]]}}</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|}}} | {{#switch: {{{hasSpawnerEgg|}}} | ||
| #default = [[File: | | #default = [[File:yes.webp|18x18px]] | ||
| yes = [[File:yes.webp| | | yes = [[File:yes.webp|18x18px]] | ||
| Yes = [[File:yes.webp| | | Yes = [[File:yes.webp|18x18px]] | ||
| no = [[File:no.webp| | | no = [[File:no.webp|20x20px]] | ||
| No = [[File:no.webp| | | No = [[File:no.webp|20x20px]]}}</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> | ||
Line 88: | Line 83: | ||
"example": "\"Brown Bear\"", | "example": "\"Brown Bear\"", | ||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | }, | ||
"model": { | "model": { | ||
"label": "Model", | "label": "Creature Model", | ||
"description": "Source for creature model or image. Templates are recommended but static files can be passed as well.", | "description": "Source for creature model or image. Templates are recommended but static files can be passed as well.", | ||
"example": "{{#widget:ModelViewer}}", | "example": "{{#widget:ModelViewer|parameters}} or [[File:filename.extension|imageSize]]", | ||
"type": "wiki-template-name", | "type": "wiki-template-name", | ||
" | "required": true | ||
}, | }, | ||
"appearanceBiome": { | "appearanceBiome": { | ||
"label": "Appearance Biome", | "label": "Appearance Biome", | ||
"description": " | "description": "What general biomes/regions the creature spawns in.", | ||
"example": "Forests, | "example": "Forests, jungles, etc.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
Line 106: | Line 101: | ||
"attackResilience": { | "attackResilience": { | ||
"label": "Attack Resilience", | "label": "Attack Resilience", | ||
"description": "Creature's | "description": "Creature's resilience to attacks.", | ||
"type": "number" | "type": "number", | ||
"default": "0" | |||
}, | }, | ||
"fireResilience": { | "fireResilience": { | ||
"label": "Fire Resilience", | "label": "Fire Resilience", | ||
"description": "Creature's resistance to fire damage.", | "description": "Creature's resistance to fire damage.", | ||
"type": "number" | "type": "number", | ||
"default": "0" | |||
}, | }, | ||
"fallResilience": { | "fallResilience": { | ||
"label": "Fall Resilience", | "label": "Fall Resilience", | ||
"description": "Creature's resistance to fall damage.", | "description": "Creature's resistance to fall damage.", | ||
"type": "number" | "type": "number", | ||
"default": "0" | |||
}, | }, | ||
"attackPower": { | "attackPower": { | ||
"label": "Attack Power", | "label": "Attack Power", | ||
"description": "Creature's | "description": "Creature's average damage inflicted per hit.", | ||
"type": "number" | "type": "number", | ||
"default": "0" | |||
}, | }, | ||
"breathingMode": { | "breathingMode": { | ||
"label": "Breathing Mode", | "label": "Breathing Mode", | ||
"description": " | "description": "Whether the creature can breathe on land or in water", | ||
"example": "Air or water.", | "example": "Air or water.", | ||
"type": "string" | "type": "string", | ||
"default": "Air", | |||
"suggested": true | |||
}, | }, | ||
"walkSpeed": { | "walkSpeed": { | ||
Line 150: | Line 151: | ||
"jumpHeight": { | "jumpHeight": { | ||
"label": "Jump Height", | "label": "Jump Height", | ||
"description": " | "description": "Creature's max jump height.", | ||
"default": "0 meters" | "default": "0 meters", | ||
"type": "number", | |||
"suggested": true | |||
}, | }, | ||
"accelerationFactor": { | "accelerationFactor": { | ||
"label": "Acceleration Factor", | "label": "Acceleration Factor", | ||
"description": "Time required for the creature to reach max running speed", | "description": "Time required for the creature to reach max running speed.", | ||
"type": "number", | "type": "number", | ||
"default": "0" | "default": "0" | ||
Line 161: | Line 164: | ||
"mass": { | "mass": { | ||
"label": "Mass", | "label": "Mass", | ||
"description": " | "description": "Creature's simulated weight value.", | ||
"example": "100 kg", | "example": "100 kg", | ||
"type": "number" | "type": "number", | ||
"default": "0 kg", | |||
"suggested": true | |||
}, | }, | ||
"bodyBoxSize": { | "bodyBoxSize": { | ||
"label": "Bodybox Size", | "label": "Bodybox Size", | ||
"description": "Dimensions of the creature.", | "description": "Dimensions of the creature's bodybox/hitbox.", | ||
"example": "Width x height x length", | "example": "Width x height x length", | ||
"type": "string", | "type": "string", | ||
"default": "0 x 0 x 0" | "default": "0 x 0 x 0", | ||
"suggested": true | |||
}, | }, | ||
"special": { | "special": { | ||
"label": "Special", | "label": "Special", | ||
"description": "Special creature attributes, such as being mountable or laying eggs.", | "description": "Special creature attributes, such as being mountable or laying eggs.", | ||
"example": "Lays eggs, | "example": "Lays eggs, mountable, etc.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 182: | Line 188: | ||
"description": "Type and quantity of items this creature drops when killed.", | "description": "Type and quantity of items this creature drops when killed.", | ||
"example": "1-2 Bacon, 1 Rotten Meat (50%)", | "example": "1-2 Bacon, 1 Rotten Meat (50%)", | ||
"type": "string" | "type": "string", | ||
"default": "None", | |||
"suggested": true | |||
}, | }, | ||
"food": { | "food": { | ||
Line 188: | Line 196: | ||
"description": "Food types this creature enjoys, such as plants or meat.", | "description": "Food types this creature enjoys, such as plants or meat.", | ||
"example": "Vegetation, meat, or cannot be fed.", | "example": "Vegetation, meat, or cannot be fed.", | ||
"type": "string" | "type": "string", | ||
"default": "Cannot be fed", | |||
"suggested": true | |||
}, | }, | ||
"minAudibleDistance": { | "minAudibleDistance": { | ||
"label": "Minimum Audible Distance", | "label": "Minimum Audible Distance", | ||
"description": "The minimum audible distance this creature can be heard | "description": "The minimum audible distance this creature can be heard in blocks.", | ||
"example": "5 blocks", | "example": "5 blocks", | ||
"type": "number", | "type": "number", | ||
Line 199: | Line 209: | ||
"herdingBehavior": { | "herdingBehavior": { | ||
"label": "Herding Behavior", | "label": "Herding Behavior", | ||
"description": " | "description": "Whether this creature travels in herds/packs and sticks close together to creatures of the same type.", | ||
"example": "Yes or no.", | "example": "Yes or no.", | ||
"type": "boolean", | "type": "boolean", | ||
Line 206: | Line 216: | ||
"hasSpawnerEgg": { | "hasSpawnerEgg": { | ||
"label": "Spawner Egg", | "label": "Spawner Egg", | ||
"description": " | "description": "Whether the creature has an obtainable spawner egg in the Creative gamemode or not. This parameter only applies to 'rare' animals, such as Orcas or Belugas.", | ||
"example": "Yes or no.", | "example": "Yes or no.", | ||
"type": "boolean", | "type": "boolean", | ||
Line 213: | Line 223: | ||
"isMountable": { | "isMountable": { | ||
"label": "Mountable", | "label": "Mountable", | ||
"description": " | "description": "Whether the creature is mountable/ridable with a saddle or not.", | ||
"example": "Yes or no.", | "example": "Yes or no.", | ||
"type": "boolean", | "type": "boolean", |