Template:Item infobox/doc
From Vintage Story Wiki
An infobox that presents information relating to a certain item. For tools/weapons, use {{Tool infobox}}
.
Usage
Parameter | Description | Type | Required |
---|---|---|---|
title | The name of the item | String | yes |
subtitle | A smaller subtitle shown below the title box | String | no |
image | The image of the item | File | yes |
align | Override to align this infobox differently | CSS | no |
burnTemp | The temperature at which this item burns | String | no |
burnDur | How long this item burns for | String | no |
foodSat | The saturation this item provides when eaten | String | no |
foodType | The type of saturation this item restores | String | no |
stack | How many of this item can fit in a single slot (do not use if not stackable) | String | no |
placecrate | Can this item be placed in a crate? | Boolean | no |
placebarrel | Can this item be placed in a barrel? | Boolean | no |
placerack | Can this item be placed in a mold rack? | Boolean | no |
placeshelf | Can this item be placed on a shelf? | Boolean | no |
placeground | Can this item be placed on the ground? | Boolean | no |
Example
Code | Result |
---|---|
{{Item infobox |Charcoal |charcoal |burnTemp = 1300 |burnDur = 40 |stack = 64 |placeshelf = true |placeground = true |placecrate = true }} |
|