Jump to content

Template:CreatureInfoBox: Difference between revisions

From Survivalcraft Wiki
No edit summary
No edit summary
Line 119: Line 119:
},
},
"flySpeed": {
"flySpeed": {
"label": "Fly Speed"
"label": "Fly Speed",
"description": "How fast does the creature fly?",
"example": "15 km/h",
"type": "number"
},
},
"swimSpeed": {
"swimSpeed": {
"label": "Swim Speed"
"label": "Swim Speed",
"description": "How fast does the creature swim?",
"example": "15 km/h",
"type": "number"
},
},
"jumpHeight": {
"jumpHeight": {
"label": "Jump Height"
"label": "Jump Height",
"description": "How high does the creature jump?",
"default": "1 meter"
},
},
"accelerationFactor": {
"accelerationFactor": {
"label": "Acceleration Factor"
"label": "Acceleration Factor",
"description": "Time required for the creature to reach max running speed",
"type": "number"
},
},
"mass": {
"mass": {
"label": "Mass"
"label": "Mass",
"description": "How heavy is the creature?",
"example": "100 kg",
"type": "number"
},
},
"bodyBoxSize": {
"bodyBoxSize": {
"label": "Bodybox Size"
"label": "Bodybox Size",
"description": "Dimensions of the creature.",
"example": "Width x height x length",
"type": "string"
},
},
"special": {
"special": {
"label": "Special"
"label": "Special",
"description": "Special creature attributes, such as being mountable or laying eggs.",
"example": "Lays eggs, Mountable, etc.",
"type": "string"
},
},
"drop": {
"drop": {
"label": "Drop"
"label": "Drop",
"description": "Type and quantity of items this creature drops when killed.",
"example": "1-2 Bacon, 1 Rotten Meat (50%)",
"type": "string"
},
},
"food": {
"food": {
"label": "Food"
"label": "Food",
"description": "Food types this creature enjoys, such as plants or meat.",
"example": "Vegetation, meat, or cannot be fed.",
"type": "string"
},
},
"minAudibleDistance": {
"minAudibleDistance": {
"label": "Minimum Audible Distance"
"label": "Minimum Audible Distance",
"description": "The minimum audible distance this creature can be heard, in blocks.",
"example": "5 blocks",
"type": "number"
},
},
"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?",
"example": "Yes or no.",
"type": "boolean"
},
},
"spawnerEgg": {
"spawnerEgg": {
"label": "Spawner Egg"
"label": "Spawner Egg",
"description": "Does this creature have a spawner egg available in Creative mode?",
"example": "Yes or no.",
"type": "boolean"
}
}
},
},

Revision as of 22:00, 31 July 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"
Stringsuggested
Modelmodel

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

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

Biome(s) the creature inhabits.

Example
Forests, Jungles, etc.
Stringsuggested
Attack ResilienceattackResilience

Creature's resistance to attacks.

Numberoptional
Fire ResiliencefireResilience

Creature's resistance to fire damage.

Numberoptional
Fall ResiliencefallResilience

Creature's resistance to fall damage.

Numberoptional
Attack PowerattackPower

Creature's attack power.

Numberoptional
Breathing ModebreathingMode

Does the creature breathe in air or water?

Example
Air or water.
Stringoptional
Mountablemountable

Is the creature mountable?

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

How high does the creature jump?

Default
1 meter
Unknownoptional
Acceleration FactoraccelerationFactor

Time required for the creature to reach max running speed

Numberoptional
Massmass

How heavy is the creature?

Example
100 kg
Numberoptional
Bodybox SizebodyBoxSize

Dimensions of the creature.

Example
Width x height x length
Stringoptional
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.

Example
1-2 Bacon, 1 Rotten Meat (50%)
Stringoptional
Foodfood

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

Example
Vegetation, meat, or cannot be fed.
Stringoptional
Minimum Audible DistanceminAudibleDistance

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

Example
5 blocks
Numberoptional
Herding BehaviorherdingBehavior

Does this creature engage in pack-like behavior when one member of the group is provoked?

Example
Yes or no.
Booleanoptional
Spawner EggspawnerEgg

Does this creature have a spawner egg available in Creative mode?

Example
Yes or no.
Booleanoptional