Template:Object Infobox/sandbox
Jump to navigation
Jump to search
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 = Yesis 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 | 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 | Number of Sanity Restored. Deprecated, use mobSanity instead.
| |
| mobSanity | The sanity aura from a mob. | |
| lunarAligned lunarAlignedNote |
Indicates this mob is Lunar Aligned. For extra note, use lunarAlignedNote.
| |
| shadowAligned shadowAlignedNote |
Indicates this mob is Shadow Aligned. For extra note, use shadowAlignedNote.
| |
| specialAbility | Indicates the special ability of the mob. | |
| drops | The resources dropped when this object is killed or destroyed. | |
| hauntMob | What happens when the mob is haunted. | |
| Combat | ||
| 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 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 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 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 |
Amount of Hunger, Health, and Sanity Restored. Usually used for Food. Usually uses all three together. | |
| foodType | Food Type | |
| foodValue | The Food Value in Crock Pot. | |
| Object Info | ||
| perk | Indicates the perks of the item. | |
| heal | Number of Health Restored. | |
| hungerbonus | Number of Hunger Restored. | |
| sanitybonus | Number of Sanity Restored. Deprecated, use objectSanity instead.
| |
| objectSanity | The sanity aura from an object. | |
| equipslot | The slot of equipable items. Its value should be "hands", "head"/"hat", or "body". | |
| inspirationRestored | Number of Inspiration required for Battle Calls. | |
| beavernessRestored | Number of Beaverness restored. | |
| fertilize | The Nutrient value of the fertilizer.
Nutrient types are:
Nutrient values are:
| |
| durability | Number of uses of the item. | |
| max_oar_speed | Max Oar Speed | |
| burnTime | Indicates the time when the object used as fuel. | |
| emitsLight | Indicates this object emits light. | |
| renew | Renewable?
|
Is this renewable? |
| place | Indicates what this object can placed, planted or built into | |
| repaired | The object can be repaired by certain items. | |
| wearsOut | The durability of the clothes. | |
| repaired_by_sewing | The item can be repaired by Sewing Kit or not. | |
| spoil | The spoil time | |
| canBeBurned | Indicates this object can be burned. | |
| stack | Number of max stack size. "Does not stack" for non-stackable items. | |
| haunt | What happens when the object is haunted. | |
| Structure Info (with |structure = Yes)
| ||
| healthBoat | The durability of the boat. | |
| perk | Indicates the perks of the item. | |
| canBeBurned | Indicates this object can be burned. | |
| emitsLight | Indicates this object emits light. | |
| renew | Renewable?
|
Is this renewable? |
| tool | 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 | |
| haunt | What happens when the structure is haunted. | |
| Source | ||
| tool | 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 | |
| picked | Indicates the object can be picked to get some resources. | |
| soldBy | This object is sold by some sources. | |
| droppedBy | This object is dropped by some sources. | |
| spawnFrom | Where this object spawns from. | |
| biome | biome should only be used for objects which are foremost naturally spawning and have been made craftable as an afterthought.
| |
| spawns | The mobs or items this object spawns. | |
| deconstruct | The resources dropped when this object is deconstructed. | |
| resources | The resources dropped from this object. | |
| Fishing Info | ||
| cast_range | Cast Range of the Floats | |
| lure_radius | Lure Radius | |
| Farm Plant Info | ||
| seasons | The favorite seasons of the Farm Plant. | |
| water_consumption | The water consumption of the Farm Plant. | |
| nutrient_cycling | The nutrient cycling of the Farm Plant. | |
| Cooking Info | ||
| foodRecipe | Crock Pot Dishes Recipe | |
| foodPortableCrockPot | Can be Cooked only in Portable Crock Pot or not. | |
| cooktime | Cook time of the recipe. | |
| priority | Crock Pot Dishes Priority | |
| Protection | ||
| protection | The protection percentage of the Armor. | |
| planar_protection | The Planar Defense of the Armor. | |
| waterResistance | The Wetness protection of the item. | |
| freezingResistance | The Freezing protection of the item. | |
| overheatingResistance | The Overheating protection of the item. | |
| Crafting | ||
| crafting_text | Crafting recipe. It's preferred to use ingredient and multiplier param below.
| |
| ingredient1-6 multiplier1-6 |
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 | 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 |
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:
| |
| cooktimeFeast | The cook time of Winter's Feast Dishes in Masonry Oven. | |
| cooktimeHallowed | The cook time of experiments in Mad Scientist Lab. | |
| Miscalleneous | ||
| cooldown | Cooldown of the object. | |
| dischargeRate | The durability of the item. (Time of usage) | |
| range | Range
|
The cast range of the ranged weapons. |
| spawnCode | Prefab of the item. | |
- Categories
- Should
descriptionbe left empty, the article will automatically be added to Category:Infobox missing crafting description. - Should
spawnCodebe left empty, the article will automatically be added to Category:Infobox missing spawncodes.