Szablon:Doc/start
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 Szablon:Grid/Dostępne pliki |
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 |
?
|
Zobacz też
Szablon:Doc/end