Template:Infobox entity/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
mNo edit summary
added entityid field, distinguished it from id field
Line 15: Line 15:
|firstver=
|firstver=
|id=
|id=
|entityid=
}}</pre>
}}</pre>


Line 46: Line 47:
| <code>firstver</code> || First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a).  || ''None''
| <code>firstver</code> || First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a).  || ''None''
|-
|-
| <code>id</code> || The ID of the entity that this creates. || ?
| <code>id</code> || Entity's ID number as seen in network traffic || ?
|-
| <code>entityid</code> || Entity's EntityID as seen in saved games || ?
|}
|}



Revision as of 06:06, 18 September 2011

Template:Doc/start Template:Entity This template provides a uniform design for items that create an in-game Entity, but are not mobs. For mobs, use Template:Mob instead.

{{Entity
|base=
|title=
|image=
|invimage=
|invimage2=
|type=
|durability=
|stackable=
|data=
|firstver=
|id=
|entityid=
}}

Please note that if the item has multiple data values, use |multipledata= instead. See below:

Parameter Function Default/Example value
base Selects whether to base template off of Block or Item. Item
title Optional value to use a different name instead of the page name {{BASEPAGENAME}}
image Image of the block (should be approx. 150x150px) {{BASEPAGENAME}}.png if it exists, otherwise No image.svg
invimage Image for object in inventory. Can use None to force no invimage. Uses styling and images from Template:Grid/Available images Grid {{BASEPAGENAME}}.png if it exists, otherwise None
invimage2 Second image for two-state objects in inventory. Uses styling and images from Template:Grid/Available images None
type Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) ?
durability How durable the item is N/A
stackable Stackable ?
data Single decimal data value None
multipledata Multiple decimal data values, use {{dv}} None
firstver First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a). None
id Entity's ID number as seen in network traffic ?
entityid Entity's EntityID as seen in saved games ?

See also

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

Template:Doc/end