Template:Infobox entity: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{{#seo:|image=File:{{#if:{{{pageimage|}}}|{{{pageimage}}}|{{PAGENAME}}.png}}}}
{{#seo:|image=File:{{#if:{{{pageimage|}}}|{{{pageimage}}}|{{PAGENAME}}.png}}}}
{{#invoke:infobox|infobox
{{infobox
| invimage = none
| invimage = none
| rows =
| rows =

Revision as of 19:21, 25 May 2024

Use this template for Entities/Mobs and their info/stats. Do not add a string for unknown info.

Template parameters

ParameterDescriptionTypeStatus
imageimage

Forces an image not based on the title of the page, useful for putting a GIF. You can also create a diaporama by putting ";" between the images names.

Unknownoptional
pageimagepageimage

Forced .png or .gif set to appear for the page popup and SEO. Obligatory if " ; " is used in the "image" string.

Unknownoptional
basemobbasemob

Vanilla mob the custom entity is using

Example
Piglin
Unknownrequired
healthhealth

The total health of the entity

Example
{{hp|10}}
Unknownrequired
armorarmor

The total armor points of the entity.

Example
{{Armor|5}
Unknownsuggested
spawnspawn

List of where or how the entity can appear.

Example
{{Link|...}}<br>{{Link|...}}<br>
Unknownrequired
behaviorbehavior

The behavior of the entity. Can it, and why can it attack you.

Example
Passive/Neutral/Hostile
Unknownrequired
damagedamage

How much damage in hearts can it inflict you

Default
Easy : {{hp|0}} to {{hp|0}}<br>

Normal : {{hp|0}} to {{hp|0}}<br>

Hard : {{hp|0}} to {{hp|0}}
Example
Easy : {{hp|2}} to {{hp|10}}<br>Normal : {{hp|4}} to {{hp|012}}<br>Hard : {{hp|6}} to {{hp|14}}
Unknownsuggested
speedspeed

Speed value of the entity, leave empty if unknown

Example
0.55
Unknownsuggested
equipmentequipment

Armor or item the entity is equipped with.

Example
{{Link|...}}<br>{{Link|...}}<br>
Unknownoptional
effectseffects

Permanent potion effects of the entity.

Example
{{EffectLink|id=effect_name|Effect link|Effect name}}<br>{{EffectLink|id=effect_name|Effect link|Effect name}}
Unknownoptional
dropsdrops

List of what the entity can drop.

Example
{{Link|...}}<br>{{Link|...}}<br>
Unknownsuggested
commandcommand

Summon function command for the entity if available

Unknownsuggested
notesnotes

Additional notes about the entity

Unknownoptional