Template:Item Infobox
Jump to navigation
Jump to search
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
- Description
- This template is used to do insert an infobox onto pages about Items. For Food Items that can be cooked, use Food Infobox instead.
- Syntax
- Use the following code as reference when using this template. Note that one does not need all of these parameters in order to use this template.
{{Item Infobox |name= |image= |icon= |description= |cookbook= |ingredient1= |multiplier1= |ingredient2= |multiplier2= |ingredient3= |multiplier3= |numtogive= |tab= |filter= |filter2= |filter3= |tier= |hpRestored= |hungerRestored= |sanityRestored= |cooktime= |priority= |spoil= |damage = |damageAsWes= |damageAsWigfrid= |damageAsWolfgang= |range = |waterResistance= |freezingResistance = |overheatingResistance = |durability= |perk= |burnTime= |foodValue= |droppedBy= |soldBy= |drops= |stack= |spawnCode= }}
- Notes
- All of this template's parameters are optional. In addition, certain parameters can only have certain values.
- The
image
may be used for Dropped sprites. - The
icon
will always be of 64x64px size and use the Inventory Slot image as background image. - The
ingredient
andmultiplier
parameters must correspond to each number. For instance, 5 Logs and 3 Flint would be expressed as
[...] ingredient1= Log multiplier1= 5 ingredient2= Flint multiplier2= 3 [...]
numtogive
is the amount of items produced in a single crafting action. Typically used for walls and similar items.tab
is currently unused in Don't Starve Together and therefore it is also unused in Uncompromising Mode. This is only being kept around until the wiki fully transitions to filters only.filter
,filter2
, andfilter3
must be a single valid Filter name each.- Tools gives
- Light Sources gives
- Prototypers & Stations gives
- Refined Materials gives
- Weapons gives
- Armour gives
- Clothing gives
- Healing gives
- Shadow Magic gives
- Decorations gives
- Structures gives
- Storage Solutions gives
- Cooking gives
- Food & Gardening gives
- Fishing gives
- Seafaring gives
- Winter Items gives
- Summer Items gives
- Rain Gear gives
- Ancient Pseudoscience gives
- Celestial gives
- Bottle Exchange gives
- Critters gives
- Tools gives
damageAsWes
,damageAsWigfrid
, anddamageAsWolfgang
overwrite the value computed automatically based ondamage
.tier
must be a number between 0-17 included.- 0 gives "Always available"
- 1 gives
- 2 gives
- 3 gives
- 4 gives
- 5 gives
- 6 gives
- 7 gives
- 8 gives
- 9 gives Year of the Gobbler#Gobbler Shrine Year of the Varg#Varg Shrine Year of the Pig King#Pig Shrine Year of the Carrat#Carrat Shrine Year of the Beefalo#Beefalo Shrine Year of the Catcoon#Catcoon Shrine
- 10 gives
- 11 gives
- 12 gives
- 13 gives Mad Scientist Lab
- 14 gives Portable Grinding Mill
- 15 gives Tackle Receptacle
- 16 gives Advert
- 17 gives
droppedBy
must be images with full code (e.g.[[File:Placeholder.png|25px|]]
)
- Categories
- Should
stack
be left empty, the article will automatically be added to Category:Articles with missing item infobox stack value. - Should
description
be left empty, the article will automatically be added to Category:Infobox missing crafting description. - Should
spawnCode
be left empty, the article will automatically be added to Category:Infobox missing spawncodes.