Template:Infobox entity/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m slight correction
Undo revision 1677736 by FVbico (talk) was correct, misleading label, going to try to clear it up
Line 54: Line 54:
| <code>equipment</code> || Equipment that may be dropped || ''None''
| <code>equipment</code> || Equipment that may be dropped || ''None''
|-
|-
| <code>usableitems</code> || Items that can be used by the mob || ''None''
| <code>usableitems</code> || Items that can be used on the mob || ''None''
|-
|-
| <code>networkid</code> || The ID number used in network traffic (0-255). || ''None''
| <code>networkid</code> || The ID number used in network traffic (0-255). || ''None''

Revision as of 21:14, 3 September 2020

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=
|health=
|armor=
|behavior=
|damage=
|size=
|speed=
|knockbackresistance=
|spawn=
|equipment=
|usableitems=
|networkid=
|notes=
}}
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 natural armor points None
damage The damage hostile mobs cause to the player None
size Hitbox height and width (see http://wiki.vg/Entities#Mobs) None
speed Movement speed attribute None
knockbackresistance Knockback resistance attribute None
spawn Spawn details None
equipment Equipment that may be dropped None
usableitems Items that can be used on the mob None
networkid The ID number used in network traffic (0-255). None
notes Additional notes None

See also

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


de:Vorlage:Kreatur/Dokumentation fr:Modèle:Entité/doc ja:テンプレート:Entity/doc ko:틀:Entity/doc nl:Sjabloon:Entiteit/doc ru:Шаблон:Сущность/док