Template:Recipe/doc

From Subnautica Wiki
< Template:Recipe
Revision as of 00:21, 20 March 2015 by Rahlzel (talk | contribs) (Updated to show more item slots)
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=|count1=|item2=|count2=|item3=|count3=|item4=|count4=|item5=|count5=|item6=|count6=|item7=|count7=|item8=|count8=|result=}}
  • Basic usage is as follows:
{{Recipe|item=Airsack|result=Filtered Water}}
  • Typically, more than 1 of an item is needed:
{{Recipe|item=Salt|count=3|result=Magnesium}}
Salt.pngSalt.pngSalt.pngItem Arrow.pngItem Arrow.pngMagnesium.png
  • Multiple results of the same item are possible, too:
{{Recipe|item=Scrap Metal|result=Titanium|resultcount=2}}
  • This will also show a multiplier if a lot of an item is needed:
{{Recipe|item=Salt|count=12|result=Magnesium}}
Salt.png×12Item Arrow.pngItem Arrow.pngMagnesium.png
  • Most recipes need several different items:
{{Recipe|item1=Plasteel Ingot|count1=5|item2=Enameled Glass|count2=5|item3=Advanced Wiring Kit|result=Cyclops}}
Plasteel Ingot.png×5Enameled Glass.png×5Advanced Wiring Kit.pngItem Arrow.pngItem Arrow.pngCyclops.png
  • To make a page with lots of recipes less cluttered, you can use the small syntax:
{{Recipe|item1=Salt|item2=Spadefish|result=Cooked Spadefish|small=yes}}
Salt.pngSpadefish.pngItem Arrow.pngItem Arrow.pngCooked Spadefish.png

Lastly, credit where credit is due: Big thanks to the Don't Starve Wikia for the base code. It has been modified to (hopefully) be more resilient.