Template:Infobox item/doc

From Modded Wiki
Jump to navigation Jump to search

Template:Doc/start

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

Template:Item This template provides a uniform design for usable item pages. When an item restores health, it is recommended to use Template:Food instead.

{{Item
|title=
|image=
|imagesize=
|imageN=
|imageNsize=
|invimage=
|invimageN=
|type=
|otherosonly=
|durability=
|renewable=
|stackable=
|availability=
|data=
|nameid=
|firstver=
|firstdev=
}}

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

Parameter Function Default/Example value
title Optional value to use a different title instead of the page name {{BASEPAGENAME}}
image Image of the block (should be approx. 150x150px) {{{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 Otras imagenes del bloque (should be approx. 150x150px) None
imageNsize Adjusts the size of the N image 150px
invimage Image for object in inventory. Can use None to force no invimage. Uses Template:Grid. Grid {{{title}}}.png if it exists, otherwise None
invimageN Otras imagenes para objetos con varios estados en el inventario. Uses Template:Grid. None
type Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) ?
otherosonly For use if the item is only available in a specific version of Minecraft. None
durability How durable the item is N/A
renewable Whether the item is renewable ?
stackable Stackable ?
availability The availability of an item ?
data Single decimal data value None
nameid The item's named identifier. Can use None to force no name ID. title or {{BASEPAGENAME}}
multipledata Multiple decimal data values, use {{dv}} None
firstver First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). None
firstdev First development snapshot it was seen in, requires firstver. None

See also

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

Template:Doc/end nl:Template:Voorwerp/doc fr:Modèle:Objet/doc