Template:Item Infobox

From Uncompromising Mode Wiki
Jump to navigation Jump to search


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 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 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, and filter3 must be a single valid Filter name each.
    • Tools gives Tools Filter
    • Light Sources gives Light Sources Filter
    • Prototypers & Stations gives Prototypers & Stations Filter
    • Refined Materials gives Refined Materials Filter
    • Weapons gives Weapons Filter
    • Armour gives Armour Filter
    • Clothing gives Clothing Filter
    • Healing gives Healing Filter
    • Shadow Magic gives Shadow Magic Filter
    • Decorations gives Decorations Filter
    • Structures gives Structures Filter
    • Storage Solutions gives Storage Solutions Filter
    • Cooking gives Cooking Filter
    • Food & Gardening gives Food & Gardening Filter
    • Fishing gives Fishing Filter
    • Seafaring gives Seafaring Filter
    • Winter Items gives Winter Items Filter
    • Summer Items gives Summer Items Filter
    • Rain Gear gives Rain Gear Filter
    • Ancient Pseudoscience gives Ancient Pseudoscience Filter
    • Celestial gives Celestial Filter
    • Bottle Exchange gives Bottle Exchange Filter
    • Critters gives Critters Filter
  • damageAsWes, damageAsWigfrid, and damageAsWolfgang overwrite the value computed automatically based on damage.
  • tier must be a number between 0-17 included.
  • droppedBy must be images with full code (e.g. [[File:Placeholder.png|25px|]])
Categories