Predefinição:Documentation

De Bloodstone Wiki
Revisão de 11h32min de 11 de novembro de 2020 por Megalhoes (discussão | contribs) (Criou página com '{{Documentation header}} {{lua|Infobox}} {{Item}} This template provides a uniform design for usable item pages. <pre width="30px"> {{Item |title= |image= |imagesize= |image2=...')
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)

Predefinição:Documentation header Predefinição:Lua Predefinição:Item This template provides a uniform design for usable item pages.

{{Item
|title=
|image=
|imagesize=
|image2=
|image2size=
|image3=
|image3size=
|invimage=
|invimage2=
|invimage3=
|durability=
|rarity=
|renewable=
|stackable=
|heals=
|effects=
}}

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. 160x160px) {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imageN Other images for multi-state items None
imagesize Adjusts the size of the image 160px
imageNsize Adjusts the size of other images 160px
invimage Image for object in inventory.
Uses Template:Grid.
Grid {{{title}}}.png if it exists, otherwise None
invimageN Other inventory images for multi-state items.
Uses Template:Grid.
None
rarity The color of this item's name. See rarity for more info. Common
durability How durable the item is None
renewable Whether the item is renewable ?
stackable Stackable ?
heals Amount of hunger points restored None
effects Status effects given when consumed None