Template:Infobox entity/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
mNo edit summary
m typo
Line 45: Line 45:
| <code>image''N''</code> || Other images for multistate entities || ''None''
| <code>image''N''</code> || Other images for multistate entities || ''None''
|-
|-
| <code>image''N''size</code> || Adjusts the size of the coorsponding image image || 150px
| <code>image''N''size</code> || Adjusts the size of the corresponding image || 150px
|-
|-
| <code>health</code> || The mob's health || ''None''
| <code>health</code> || The mob's health || ''None''

Revision as of 23:48, 7 April 2019

This is the documentation page. It should be transcluded into Template:Infobox entity. See Template:Documentation for more information.

Template:Entity

This template uses Module:Infobox, a script written in Lua.

This template provides a uniform design for entities pages.

{{Entity
|title= 
|image=
|imagesize=
|caption=
|caption2=
|caption3=
|health=
|armor=
|damage=
|size=
|spawn=
|firstver=
|firstdev=
|drops=
|commondrops=
|uncommondrops=
|raredrops=
|equipment=
|usableitems=
|exp=
|sounds=
|id=
|networkid=
|entityid=
}}
Parameter Function Default value
title Optional value to use a different title instead of the page name {{BASEPAGENAME}}
image Image of the entity {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imagesize Adjusts the size of the image 150px
imageN Other images for multistate entities None
imageNsize Adjusts the size of the corresponding image 150px
health The mob's health None
armor The mob's armor None
damage The damage hostile mobs cause to the player None
size Exact height and width (see http://wiki.vg/Entities#Mobs) None
spawn Spawn details None
score The score the mob gives on being killed in Survival Test None
firstver First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a). None
firstdev First development snapshot it was seen in, requires firstver. None
drops What the entity drops when destroyed — only use this for drops where the drop type is unknown None
commondrops The common drops the entity may drop when destroyed None
uncommondrops The uncommon drops the entity may drop when destroyed None
raredrops The rare drops the entity may drop when destroyed None
equipment The items the mob may spawn with None
usableitems The items the mob may equip None
exp The experience the mob drop upon a player kill None
sounds The sound effects of the entity None
id The entity's numeric ID used internally, and over the network (0-255), unless a separate network ID is used. (see http://wiki.vg/Entities#Mobs) ?
networkid The ID number used in network traffic (0-255), if different from the internal ID. None
entityid The entity's EntityID as seen in saved worlds ?

See also

Minecraft
Minecraft Earth
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
Other
Meta


de:Vorlage:Kreatur/Dokumentation fr:Modèle:Entité/doc ko:틀:Entity/doc ru:Шаблон:Сущность/док