Jump to content

Template:CreatureInfoBox: Difference between revisions

From Survivalcraft Wiki
No edit summary
No edit summary
Line 129: Line 129:
"example": "Air or water.",
"example": "Air or water.",
"type": "string"
"type": "string"
},
"mountable": {
"label": "Mountable",
"description": "Is the creature mountable?",
"example": "Yes or no.",
"type": "boolean"
},
},
"walkSpeed": {
"walkSpeed": {
Line 207: Line 201:
"description": "Does this creature engage in pack-like behavior when one member of the group is provoked?",
"description": "Does this creature engage in pack-like behavior when one member of the group is provoked?",
"example": "Yes or no.",
"example": "Yes or no.",
"type": "boolean"
"type": "boolean",
"default": "No"
},
},
"spawnerEgg": {
"hasSpawnerEgg": {
"label": "Spawner Egg",
"label": "Spawner Egg",
"description": "Does this creature have a spawner egg available in Creative mode?",
"description": "Does this creature have a spawner egg available in Creative mode?",
"example": "Yes or no.",
"example": "Yes or no.",
"type": "boolean"
"type": "boolean",
"default": "Yes"
},
"isMountable": {
"label": "Mountable",
"description": "Is the creature mountable?",
"example": "Yes or no.",
"type": "boolean",
"default": "No"
}
}
},
},
Line 226: Line 229:
"attackPower",
"attackPower",
"breathingMode",
"breathingMode",
"mountable",
"isMountable",
"walkSpeed",
"walkSpeed",
"flySpeed",
"flySpeed",
Line 239: Line 242:
"minAudibleDistance",
"minAudibleDistance",
"herdingBehavior",
"herdingBehavior",
"spawnerEgg"
"hasSpawnerEgg"
]
]
}
}

Revision as of 00:55, 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"
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
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

How high does the creature jump?

Default
0 meters
Unknownoptional
Acceleration FactoraccelerationFactor

Time required for the creature to reach max running speed

Default
0
Numberoptional
Massmass

How heavy is the creature?

Example
100 kg
Numberoptional
Bodybox SizebodyBoxSize

Dimensions of the creature.

Default
0 x 0 x 0
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.

Default
0 blocks
Example
5 blocks
Numberoptional
Herding BehaviorherdingBehavior

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

Default
No
Example
Yes or no.
Booleanoptional
Spawner EgghasSpawnerEgg

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

Default
Yes
Example
Yes or no.
Booleanoptional