Template:Object Infobox/sandbox

From Don't Starve Wiki
Jump to navigation Jump to search

Template documentation [View] [Edit] [History] [Refresh]
This is a test for categorizing the infobox based on MikaGut's idea in the Discord server.

Example usecases:

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.
If the optional parameter |structure = Yes is passed in, any rows that are in the Structure Info category (below) are automatically moved to it. Otherwise, they will be in their normal location (usually in Object Info or Source group).
Param Icon Usage
name N/A Indicates the title of info box. Default to PAGENAME.
image N/A Indicates the image of info box.
description
description2-6
description_tabber
N/A Indicates this crafting description.
icon N/A Indicates this crafting icon.
Mob Info
health Health The health of the object.
naughtiness The amount of naughtiness when the object is killed.
walkSpeed Walking Speed
runSpeed Running Speed
diet The food type that the object can eat.
sanitydrain Sanity Restore Number of Sanity Restored. Deprecated, use mobSanity instead.
mobSanity Sanity Restore The sanity aura from a mob.
lunarAligned
lunarAlignedNote
Lunar Aligned Indicates this mob is Lunar Aligned.
For extra note, use lunarAlignedNote.
shadowAligned
shadowAlignedNote
Shadow Aligned Indicates this mob is Shadow Aligned.
For extra note, use shadowAlignedNote.
specialAbility
Special Ability
Indicates the special ability of the mob.
drops
Drops
The resources dropped when this object is killed or destroyed.
hauntMob Haunting What happens when the mob is haunted.
Combat
damage Damage Damage of the weapon or mob.
planar_damage Planar damage of the weapon or mob.
attackPeriod Attack Period of the mob.
attackRange
Attack Range
Attack Range of the mob.
planarEntityProtection If the mob has Planar Entity Protection, put "Yes". Leave it blank otherwise.
iceStaff The number of hits it takes to freeze this mob with an Ice Staff The number of hits it takes to freeze the mob with an Ice Staff. Enter a number, or 0 if the mob can't be frozen.
sleepDart The number of hits it takes to put this mob to sleep with a Sleep Dart The number of hits it takes to put the mob to sleep with Sleep Darts. Enter a number, or 0 if the mob can't be put to sleep.
Food Info
hungerRestored
hpRestored
sanityRestored
Hunger Health Sanity Restored Amount of Hunger, Health, and Sanity Restored. Usually used for Food. Usually uses all three together.
foodType
Food Type
Food Type
foodValue Food Value The Food Value in Crock Pot.
Object Info
perk
Perk
Indicates the perks of the item.
heal Heal Number of Health Restored.
hungerbonus Hunger Restore Number of Hunger Restored.
sanitybonus Sanity Restore Number of Sanity Restored. Deprecated, use objectSanity instead.
objectSanity Sanity Restore The sanity aura from an object.
equipslot The slot of equipable items. Its value should be "hands", "head"/"hat", or "body".
inspirationRestored Inspiration Takes Number of Inspiration required for Battle Calls.
beavernessRestored Beaverness Restore Number of Beaverness restored.
fertilize Fertilize The Nutrient value of the fertilizer.

Nutrient types are:

  • [[File:Growth Formula Nutrient.png|32px|link=Nutrient|Growth Formula]] = Growth Formula
  • [[File:Compost Nutrient.png|32px|link=Nutrient|Compost]] = Compost
  • [[File:Manure Nutrient.png|32px|link=Nutrient|Manure]] = Manure

Nutrient values are:

  • [[File:Not Out Not To.png|32px|link=|No change]] = No change
  • [[File:1 To.png|32px|link=|Restore 8]] = Restore 8
  • [[File:2 To.png|32px|link=|Restore 16]] = Restore 16
  • [[File:3 To.png|32px|link=|Restore 24]] = Restore 24
  • [[File:4 To.png|32px|link=|Restore 32]] = Restore 32
durability
Durability
Number of uses of the item.
max_oar_speed
Max Oar Speed
Max Oar Speed
burnTime
Fuel Value
Indicates the time when the object used as fuel.
emitsLight Emits Light Indicates this object emits light.
renew
Renewable?
Is this renewable?
place Place Indicates what this object can placed, planted or built into
repaired Repaired By The object can be repaired by certain items.
wearsOut
Wears Out
The durability of the clothes.
repaired_by_sewing Repaired By Sewing The item can be repaired by Sewing Kit or not.
spoil
Perish time
The spoil time
canBeBurned Can be Burned Indicates this object can be burned.
stack Stack Size Number of max stack size. "Does not stack" for non-stackable items.
haunt Haunting What happens when the object is haunted.
Structure Info
(with |structure = Yes)
healthBoat Health The durability of the boat.
perk
Perk
Indicates the perks of the item.
canBeBurned Can be Burned Indicates this object can be burned.
emitsLight Emits Light Indicates this object emits light.
renew
Renewable?
Is this renewable?
tool Tool Required tool used to show what kind of tools can interact with this object. The exception is Deconstruction Staff. Here are some examples:

Can be Chopped Axe.png
Can be Mined Pickaxe.png
Can be Hammered Hammer.png
Can be Dug Shovel.png
Can be Fished Fishing Rod.png

haunt Haunting What happens when the structure is haunted.
Source
tool Tool Required tool used to show what kind of tools can interact with this object. The exception is Deconstruction Staff. Here are some examples:

Can be Chopped Axe.png
Can be Mined Pickaxe.png
Can be Hammered Hammer.png
Can be Dug Shovel.png
Can be Fished Fishing Rod.png

picked Can be picked Indicates the object can be picked to get some resources.
soldBy Sold by This object is sold by some sources.
droppedBy
Dropped by
This object is dropped by some sources.
spawnFrom
Spawns From
Where this object spawns from.
biome Common Biomes biome should only be used for objects which are foremost naturally spawning and have been made craftable as an afterthought.
spawns
Spawns
The mobs or items this object spawns.
deconstruct Resources drop after using Deconstruction Staff The resources dropped when this object is deconstructed.
resources
Resources
The resources dropped from this object.
Fishing Info
cast_range
Cast Range
Cast Range of the Floats
lure_radius
Lure Radius
Lure Radius
Farm Plant Info
seasons Favourite Seasons The favorite seasons of the Farm Plant.
water_consumption Water Consumption The water consumption of the Farm Plant.
nutrient_cycling Nutrient Cycling The nutrient cycling of the Farm Plant.
Cooking Info
foodRecipe
Recipe
Crock Pot Dishes Recipe
foodPortableCrockPot
Can be Cooked only in Portable Crock Pot
Can be Cooked only in Portable Crock Pot or not.
cooktime
Cook time
Cook time of the recipe.
priority
Priority
Crock Pot Dishes Priority
Protection
protection
Protection
The protection percentage of the Armor.
planar_protection
Planar Defense
The Planar Defense of the Armor.
waterResistance
Wetness Resistance
The Wetness protection of the item.
freezingResistance
Freezing Resistance
The Freezing protection of the item.
overheatingResistance
Overheating Resistance
The Overheating protection of the item.
Crafting
crafting_text
Crafting
Crafting recipe. It's preferred to use ingredient and multiplier param below.
ingredient1-6
multiplier1-6
Crafting
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
[...]
upgrade
Upgrade
The resources needed to upgrade this object.
numtogive
Amount produced
The amounts produced when the object is crafted.
tab 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 filter is for listing the Filters the structure is found in, which is exclusive to Don't Starve Together.
skill
skillOwner
Skill Required for Craft
Indicates the Skill needed for this info box. It's preferred to use skillOwner with skill. One example is
[...]
|skill = Founder's Keepers II
|skillOwner = Winona
[...]
tier_text It's preferred to use tier with number.
tier tier must be a number representing different craft station as shown below:
  • 0 = "Always available"
  • 1 = Science Machine.png
  • 2 = Alchemy Engine.png
  • 3 = Shadow Manipulator.png
  • 4 = Prestihatitator.png
  • 5 = Broken Pseudoscience Station.png
  • 6 = Ancient Pseudoscience Station.png
  • 7 = Blueprint.png
  • 8 = Obsidian Workbench.png
  • 9 = Codex Umbra.png
  • 10 = Cartographer's Desk.png
  • 11 = Blueprint (rare).png
  • 12 = Gobbler Shrine
  • 13 = Varg Shrine
  • 14 = Gobbler Shrine.png Varg Shrine.png Pig Shrine.png Carrat Shrine.png Beefalo Shrine.png Catcoon Shrine.png Bunnyman Shrine.png Dragonfly Shrine.png
  • 15 = Celestial Orb.png
  • 16 = Key to the City.png
  • 17 = Mad Scientist Lab.png
  • 18 = Pig Shrine
  • 19 = Celestial Altar.png Celestial Tribute.png Celestial Sanctum.png
  • 20 = Think Tank.png
  • 21 = Portable Grinding Mill.png
  • 22 = Tackle Receptacle.png
  • 23 = Advert
  • 24 = Carrat Shrine.png
  • 26 = Terra Firma Tamper.png
  • 27 = Beefalo Shrine.png
  • 28 = Catcoon Shrine.png
  • 29 = Bunnyman Shrine.png
  • 30 = Brightsmithy Build.png
  • 31 = Shadowcraft Plinth.png
  • 32 = Rock Den.png
  • 33 = Dragonfly Shrine.png
  • 34 = Depths Worm Shrine.png
cooktimeFeast
Cook time
The cook time of Winter's Feast Dishes in Masonry Oven.
cooktimeHallowed
Cook time
The cook time of experiments in Mad Scientist Lab.
Miscalleneous
cooldown Cooldown Cooldown of the object.
dischargeRate
Discharge Rate
The durability of the item. (Time of usage)
range
Range
The cast range of the ranged weapons.
spawnCode
Spawn Code
Prefab of the item.
Categories