Don't Starve Wiki
Advertisement
Don't Starve Wiki


Template documentation [View] [Edit] [History] [Refresh]
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 = 
|description = 
|ingredient1 = 
|multiplier1 = 
|ingredient2 = 
|multiplier2 = 
|ingredient3 = 
|multiplier3 = 
|ingredient4 = 
|multiplier4 = 
|ingredient5 = 
|multiplier5 = 
|ingredient6 = 
|multiplier6 = 
|numtogive = 
|tab = 
|filter = 
|skill = 
|tier_text = 
|tier = 
|tier_text = 
|hpRestored = 
|hungerRestored = 
|sanityRestored = 
|affectsOnly = 
|cooktime = 
|priority = 
|spoil = 
|damage = 
|damageAsWes = 
|damageAsWigfrid = 
|damageAsWolfgang = 
|planar damage = 
|range  = 
|protection = 
|planar protection = 
|waterResistance = 
|freezingResistance  =  
|overheatingResistance = 
|durability = 
|perk = 
|dischargeRate = 
|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 will always be of 64x64px size and use the Inventory Slot image as background image.
  • The ingredient and multiplier 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 must correspond to one of the Tabs in Don't Starve or its expansions. It may also be required to be capitalized depending on the icon that corresponds to it.
  • filter is for listing the filter(s) the item is found in, which is exclusive to DST.
  • damageAsWes, damageAsWigfrid, and damageAsWolfgang overwrite the value computed automatically based on damage.
  • tier must be a number between 0-32 included.
    • 0 gives "Always available"
    • 1 gives Science Machine
    • 2 gives Alchemy Engine
    • 3 gives Shadow Manipulator
    • 4 gives Prestihatitator
    • 5 gives Broken Pseudoscience Station
    • 6 gives Ancient Pseudoscience Station
    • 7 gives Blueprint
    • 8 gives Obsidian Workbench
    • 9 gives Codex Umbra
    • 10 gives Cartographer's Desk
    • 11 gives Blueprint (rare)
    • 12 gives Gobbler Shrine
    • 13 gives Varg Shrine
    • 14 gives Gobbler ShrineVarg ShrinePig ShrineCarrat ShrineBeefalo ShrineCatcoon ShrineBunnyman Shrine
    • 15 gives Celestial Orb
    • 16 gives Key to the City
    • 17 gives Mad Scientist Lab
    • 18 gives Pig Shrine
    • 19 gives Celestial AltarCelestial TributeCelestial Sanctum
    • 20 gives Think Tank
    • 21 gives Portable Grinding Mill
    • 22 gives Tackle Receptacle
    • 23 gives Advert
    • 24 gives Carrat Shrine
    • 26 gives Terra Firma Tamper
    • 27 gives Beefalo Shrine
    • 28 gives Catcoon Shrine
    • 29 gives Bunnyman Shrine
    • 30 gives Brightsmithy Build
    • 31 gives Shadowcraft Plinth
    • 32 gives Sawhorse
      • Or you can use tier_text for alternatives
  • affectsOnly should be used, if a (non-survivor food) item is only consumable by certain Mobs or only has an effect on certain Characters. Must be images with the Pic template (e.g. {{Pic|32|Beefalo}}).
  • droppedBy must be images with full code (e.g. [[File:Placeholder.png|25px|link=]])
Categories


Advertisement