Template:Recipe/doc: Difference between revisions

From Subnautica Wiki
(Update bladderfish name to airsack)
Tag: sourceedit
(Adding a multiple item with multiple counts > 3 example)
Tag: sourceedit
Line 18: Line 18:


*Most recipes need several different items:
*Most recipes need several different items:
:<code><nowiki>{{Recipe|item1=Salt|item2=Silicone|result=Bleach}}</nowiki></code>
:<code><nowiki>{{Recipe|item1=Plasteel Ingot|count1=5|item2=Enameled Glass|count2=5|item3=Advanced Wiring Kit|result=Cyclops}}</nowiki></code>
{{Recipe|item1=Salt|item2=Spadefish|result=Cooked Spadefish}}
{{Recipe|item1=Plasteel Ingot|count1=5|item2=Enameled Glass|count2=5|item3=Advanced Wiring Kit|result=Cyclops}}


*To make a page with lots of recipes less cluttered, you can use the small syntax:
*To make a page with lots of recipes less cluttered, you can use the small syntax:
:<code><nowiki>{{Recipe|item1=Salt|item2=Silicone|result=Bleach|small=yes}}</nowiki></code>
:<code><nowiki>{{Recipe|item1=Salt|item2=Spadefish|result=Cooked Spadefish|small=yes}}</nowiki></code>
{{Recipe|item1=Plasteel Ingot|count=5|item2=Enameled Glass|count=5|item3=Advanced Wiring Kit|result=Cyclops|small=yes}}
{{Recipe|item1=Salt|item2=Spadefish|result=Cooked Spadefish|small=yes}}


Lastly, credit where credit is due: Big thanks to the [http://dont-starve-game.wikia.com/wiki/Template:Recipe Don't Starve Wikia] for the base code. It has been modified to (hopefully) be more resilient.
Lastly, credit where credit is due: Big thanks to the [http://dont-starve-game.wikia.com/wiki/Template:Recipe Don't Starve Wikia] for the base code. It has been modified to (hopefully) be more resilient.

Revision as of 08:57, 10 March 2015

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=|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
  • 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.