Jump to content

Template:CreatureInfoBox: Difference between revisions

From Survivalcraft Wiki
No edit summary
No edit summary
Line 99: Line 99:
"appearanceBiome": {
"appearanceBiome": {
"label": "Appearance Biome",
"label": "Appearance Biome",
"description": "Biome(s) the creature inhabits.",
"description": "In what general biomes does this creature spawn?",
"example": "Forests, Jungles, etc.",
"example": "Forests, Jungles, etc.",
"type": "string",
"type": "string",
Line 124: Line 124:
"attackPower": {
"attackPower": {
"label": "Attack Power",
"label": "Attack Power",
"description": "Creature's attack power.",
"description": "Creature's average damage inflicted per hit.",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
Line 155: Line 155:
"jumpHeight": {
"jumpHeight": {
"label": "Jump Height",
"label": "Jump Height",
"description": "How high does the creature jump?",
"description": "Creature's max jump height.",
"default": "0 meters",
"default": "0 meters",
"type": "number"
"type": "number"
Line 161: Line 161:
"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 167: Line 167:
"mass": {
"mass": {
"label": "Mass",
"label": "Mass",
"description": "How heavy is the creature?",
"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": {
Line 188: Line 191:
"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 194: Line 199:
"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, in blocks.",
"description": "The minimum audible distance this creature can be heard in blocks.",
"example": "5 blocks",
"example": "5 blocks",
"type": "number",
"type": "number",
Line 205: Line 212:
"herdingBehavior": {
"herdingBehavior": {
"label": "Herding Behavior",
"label": "Herding Behavior",
"description": "Does this creature engage in pack-like behavior when one member of the group is provoked?",
"description": "Whether this creature engages in pack-like behavior or not. If one member of the pack/herd is provoked, all nearby creatures will pursue the aggressor.",
"example": "Yes or no.",
"example": "Yes or no.",
"type": "boolean",
"type": "boolean",
Line 212: Line 219:
"hasSpawnerEgg": {
"hasSpawnerEgg": {
"label": "Spawner Egg",
"label": "Spawner Egg",
"description": "Does this creature have a spawner egg available in Creative mode?",
"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",

Revision as of 01:06, 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Creature Titletitle

Name of the creature.

Example
"Brown Bear"
Stringrequired
Modelmodel

Source for creature model or image. Templates are recommended but static files can be passed as well.

Example
{{#widget:ModelViewer}}
Templaterequired
Appearance BiomeappearanceBiome

In what general biomes does this creature spawn?

Example
Forests, Jungles, etc.
Stringsuggested
Attack ResilienceattackResilience

Creature's resistance to attacks.

Default
0
Numberoptional
Fire ResiliencefireResilience

Creature's resistance to fire damage.

Default
0
Numberoptional
Fall ResiliencefallResilience

Creature's resistance to fall damage.

Default
0
Numberoptional
Attack PowerattackPower

Creature's average damage inflicted per hit.

Default
0
Numberoptional
Breathing ModebreathingMode

Does the creature breathe in air or water?

Default
Air
Example
Air or water.
Stringoptional
MountableisMountable

Is the creature mountable?

Default
No
Example
Yes or no.
Booleanoptional
Walk SpeedwalkSpeed

How fast does the creature walk?

Example
15 km/h
Numberoptional
Fly SpeedflySpeed

How fast does the creature fly?

Example
15 km/h
Numberoptional
Swim SpeedswimSpeed

How fast does the creature swim?

Example
15 km/h
Numberoptional
Jump HeightjumpHeight

Creature's max jump height.

Default
0 meters
Numberoptional
Acceleration FactoraccelerationFactor

Time required for the creature to reach max running speed.

Default
0
Numberoptional
Massmass

Creature's simulated weight value.

Default
0 kg
Example
100 kg
Numbersuggested
Bodybox SizebodyBoxSize

Dimensions of the creature's bodybox/hitbox.

Default
0 x 0 x 0
Example
Width x height x length
Stringsuggested
Specialspecial

Special creature attributes, such as being mountable or laying eggs.

Example
Lays eggs, Mountable, etc.
Stringoptional
Dropdrop

Type and quantity of items this creature drops when killed.

Default
None.
Example
1-2 Bacon, 1 Rotten Meat (50%)
Stringsuggested
Foodfood

Food types this creature enjoys, such as plants or meat.

Default
Cannot be fed.
Example
Vegetation, meat, or cannot be fed.
Stringsuggested
Minimum Audible DistanceminAudibleDistance

The minimum audible distance this creature can be heard in blocks.

Default
0 blocks
Example
5 blocks
Numberoptional
Herding BehaviorherdingBehavior

Whether this creature engages in pack-like behavior or not. If one member of the pack/herd is provoked, all nearby creatures will pursue the aggressor.

Default
No
Example
Yes or no.
Booleanoptional
Spawner EgghasSpawnerEgg

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.

Default
Yes
Example
Yes or no.
Booleanoptional