Template:EntityInfobox: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 38: Line 38:
{{ #switch: {{lc:{{{type|}}}}}
{{ #switch: {{lc:{{{type|}}}}}
| pet = [[Category:Pets]]
| pet = [[Category:Pets]]
| wild = [[Category:Wild mobs]]
| farm = [[Category:Farm mobs]]
| hostile = [[Category:Hostile mobs]]
| hostile = [[Category:Hostile mobs]]
}}
}}
Line 73: Line 75:
         "type": {
         "type": {
             "label": "Type",
             "label": "Type",
             "description": "Pet or hostile",
             "description": "Pet, wild, farm or hostile",
             "type": "string",
             "type": "string",
             "required": true
             "required": true

Latest revision as of 05:02, 19 June 2026

{{EntityInfobox
|image =
|kind =
|type =
|status =
|time_alive =
|original_owner =
|current_owner =
|death_cause =
|death_location =
}}

Entity infobox

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

An image of the pet (e.g. ExampleFile.png).

Stringoptional
Kindkind

The kind of pet (e.g. Dog, Cat, Horse).

Stringrequired
Typetype

Pet, wild, farm or hostile

Stringrequired
Statusstatus

The status of the pet. Must be alive or dead.

Stringrequired
Time alivetime_alive

How long the pet was alive.

Stringoptional
Original owneroriginal_owner

The player who first owned or tamed the entity.

Stringoptional
Current ownercurrent_owner

The player who currently owns the entity. Omit if same as original owner.

Stringoptional
Death causedeath_cause

If applicable, how the pet died.

Stringoptional
Death locationdeath_location

If applicable, where the pet died.

Stringoptional