We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

Template:Object Infobox

From Don't Starve Wiki
Jump to: navigation, search
Object Infobox
150x150px


Template-info.svg Documentation The documentation below is transcluded from Template:Object Infobox/doc. (edit | history)
Description
This template is used to do insert an infobox onto pages about objects. The template will also add an article to Category:Infobox missing spawncodes if the spawnCode parameter is not set.
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.
{{Object Infobox
|image=
|imagewidth=
|name=
|health=
|crafting=
|ingredient1=
|multiplier1=
|ingredient2=
|multiplier2=
|ingredient3=
|multiplier3=
|tab=
|tier=
|tool=
|sanitydrain=
|sanitybonus=
|resources=
|spawns=
|renew=
|biomes=
|spawnCode=
}}
Notes
All of this template's parameters are optional. In addition, certain parameters can only have certain values.
  • 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
[...]
  • 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.
  • tier must be a number between 0-6 included.
    • 0 gives "Always available"
    • 1 gives Science Machine.png
    • 2 gives Alchemy Engine.png
    • 3 gives Shadow Manipulator.png
    • 4 gives Prestihatitator.png
    • 5 gives Broken Pseudoscience Station.png
    • 6 gives Ancient Pseudoscience Station.png
    • 7 gives Blueprint.png
    • 8 gives Obsidian Workbench.png
  • tool, resources and spawns must be images with full code (e.g. [[File:Placeholder.png|25px|link=]])
  • Should spawnCode be left empty, the article will be added to Category:Infobox missing spawncodes