Template:Infobox entity/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{lua|Infobox}}
{{lua|Infobox}}


This template provides a uniform design for entities pages. The following list is VERY outdated.
This template provides a uniform design for entities pages. The following list is kinda outdated.
<pre width="30px">
<pre width="30px">
{{Entity
{{Entity
Line 9: Line 9:
|image=
|image=
|imagesize=
|imagesize=
|caption=
|caption2=
|caption3=
|health=
|health=
|armor=
|armor=
Line 18: Line 15:
|size=
|size=
|spawn=
|spawn=
|firstver=
|firstdev=
|drops=
|commondrops=
|uncommondrops=
|raredrops=
|equipment=
|usableitems=
|exp=
|id=
|networkid=
|entityid=
}}</pre>
}}</pre>


Line 56: Line 41:
|-
|-
| <code>spawn</code> || Spawn details || ''None''
| <code>spawn</code> || Spawn details || ''None''
|-
| <code>score</code> || The score the mob gives on being killed in [[Survival Test]] || ''None''
|-
| <code>firstver</code> || First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a). Do not use.  || ''None''
|-
| <code>firstdev</code> || First development snapshot it was seen in, requires firstver. || ''None''
|-
| <code>drops</code> || What the entity drops when destroyed — only use this for drops where the [[Drops|drop type]] is unknown || ''None''
|-
| <code>commondrops</code> || The [[Drops#Common drops|common drops]] the entity may drop when destroyed || ''None''
|-
| <code>uncommondrops</code> || The [[Drops#Uncommon drops|uncommon drops]] the entity may drop when destroyed || ''None''
|-
| <code>raredrops</code> || The [[Drops#Rare drops|rare drops]] the entity may drop when destroyed || ''None''
|-
| <code>equipment</code> || The items the mob may [[Drops#Equipped items|spawn with]] || ''None''
|-
| <code>usableitems</code> || The items the mob may equip || ''None''
|-
| <code>exp</code> || The experience the mob drop upon a player kill || ''None''
|-
| <code>id</code> || 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) || ?
|-
| <code>networkid</code> || The ID number used in network traffic (0-255), if different from the internal ID. || ''None''
|-
| <code>entityid</code> || The entity's EntityID as seen in saved worlds || ?
|}
|}



Revision as of 16:27, 13 April 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. The following list is kinda outdated.

{{Entity
|title= 
|image=
|imagesize=
|health=
|armor=
|behavior=
|damage=
|size=
|spawn=
}}
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

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 nl:Sjabloon:Entiteit/doc ru:Шаблон:Сущность/док