Template:Recipe/doc

From Don't Starve Wiki
Jump to navigation Jump to search
Coconade.png This is a high risk template.
Please think carefully before altering any source code, so as to avoid large-scale disruption. Any changes to this template should first be tested in its /sandbox.


Overview

This template is used to make an organized, standardized recipe layout with automatic links/icons. Full in-game item names should be used, as this will select the corresponding article and image.

Usage
  • Full syntax:
{{Recipe
|item1=
|comparator1=
|count1=
|item2=
|comparator2=
|count2=
|item3=
|comparator3=
|count3=
|item4=
|comparator4=
|count4=
|tool=
|result=
|dlc=
|character=
|skill=
|note=
}}
  • Basic usage is as follows:
{{Recipe|item=Cut Grass|result=Rope}}
Cut Grass.png
Interface arrow right.png
Rope.png
  • Typically, more than 1 of an item is needed:
{{Recipe|item=Cut Grass|count=3|result=Rope}}
Cut Grass.png
Cut Grass.png
Cut Grass.png
Interface arrow right.png
Rope.png
  • This will also show a multiplier if a lot of an item is needed:
{{Recipe|item=Cut Grass|count=12|result=Straw Hat}}
Cut Grass.png

×12

Interface arrow right.png
Straw Hat.png
  • Most recipes need several items:
{{Recipe|item1=Twigs|item2=Flint|result=Axe}}
Twigs.png
Flint.png
Interface arrow right.png
Axe.png
  • And most recipes need more than one of each item:
{{Recipe|item1=Twigs|item2=Cut Grass|count2=2|result=Torch}}
Twigs.png
Cut Grass.png
Cut Grass.png
Interface arrow right.png
Torch.png
  • The template supports up to 3 items (which is the most used in-game):
{{Recipe|item1=Crow Feather|count1=3|item2=Crimson Feather|count2=2|item3=Tentacle Spots|count3=2|result=Feather Hat}}
Jet Feather.png
Jet Feather.png
Jet Feather.png
Crimson Feather.png
Crimson Feather.png
Tentacle Spots.png
Tentacle Spots.png
Interface arrow right.png
Feather Hat.png
  • Use comparator to change the multiply sign
{{Recipe|item1=Meats|comparator1=>|count1=0|item2=Filler|count2=3|tool=Crock Pot|result=Meatballs}}
Meats.png

>0

Filler.png
Filler.png
Filler.png
Crock Pot.png
Meatballs.png
  • It's also possible to specify the tool used:
{{Recipe|item=Corn|tool=Birdcage|result=Corn Seeds}}
Corn.png
Birdcage.png
Corn Seeds.png
  • Now we can easily express some kind of Food recipe like:
{{Recipe|item1=Meats|item2=Filler|count2=3|tool=Crock Pot|result=Meatballs}}
Meats.png
Filler.png
Filler.png
Filler.png
Crock Pot.png
Meatballs.png
{{Recipe|item1=Twigs|count1=3|item2=Rocks|count2=3|item3=Cut Grass|count3=6|result=Hammer|dlc=Reign of Giants}}
Twigs.png
Twigs.png
Twigs.png
Rocks.png
Rocks.png
Rocks.png
Cut Grass.png

×6

Interface arrow right.png
Hammer.png
Reign of Giants icon.png
  • Similarly for recipes exclusive to characters:
{{Recipe|item1=Papyrus|count1=2|item2=Egg|count2=2|result=Birds of the World|character=Wickerbottom}}
Papyrus.png
Papyrus.png
Egg.png
Egg.png
Interface arrow right.png
Birds of the World.png
Wickerbottom Portrait.png
  • Both exclusivity options can be used together:
{{Recipe|item1=Boards|count1=1|item2=Seashell|count2=2|result=Surfboard|character=Walani|dlc=Shipwrecked}}
Boards.png
Seashell.png
Seashell.png
Interface arrow right.png
Surfboard.png
Shipwrecked icon.pngWalani Portrait.png
  • If a recipe is required certain skill from character's skill tree:
{{Recipe|item1= Carrot|item2 = Health Decrease|count2 = 5|result = Carrat Item|character = Wormwood|skill = Lunar Cultivator I}}
Carrot.png
Health Decrease.png

×5

Interface arrow right.png
Carrat Item.png
Wormwood Portrait.pngLunar Cultivator I.png


This is how they all look like in the order above:

Rocks.png
Rocks.png
Rocks.png
Fire Pit.png
Rocks.png
Rocks.png
Pig King Icon.png
Rocks.png
Rocks.png
Yaarctopus Icon.png
Rocks.png
Rocks.png
Science Machine.png
Rocks.png
Rocks.png
Alchemy Engine.png
Rocks.png
Rocks.png
Prestihatitator.png
Rocks.png
Rocks.png
Shadow Manipulator.png
Rocks.png
Rocks.png
Broken Pseudoscience Station.png
Rocks.png
Rocks.png
Ancient Pseudoscience Station.png
Rocks.png
Rocks.png
Pig Icon.png
Rocks.png
Rocks.png
Birdcage.png
Rocks.png
Rocks.png
Crock Pot.png
Rocks.png
Rocks.png
Drying Rack.png
Rocks.png
Rocks.png
Obsidian Workbench.png
Rocks.png
Rocks.png
Blueprint.png
Rocks.png
Rocks.png
Pickaxe.png
Rocks.png
Rocks.png
Smelter.png
Rocks.png
Rocks.png
Interface arrow right.png
Rocks.png