Template:Recipe/doc: Difference between revisions

From Subnautica Wiki
No edit summary
Tag: sourceedit
(Aaand finish sensical example editing...)
Tag: sourceedit
Line 6: Line 6:


*Basic usage is as follows:
*Basic usage is as follows:
:<code><nowiki>{{Recipe|item=Salt|result=Bleach}}</nowiki></code>
:<code><nowiki>{{Recipe|item=Bladderfish|result=Filtered Water}}</nowiki></code>
{{Recipe|item=Silicone|result=Bleach}}
{{Recipe|item=Bladderfish|result=Filtered Water}}


*Typically, more than 1 of an item is needed:
*Typically, more than 1 of an item is needed:

Revision as of 08:42, 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=Bladderfish|result=Filtered Water}}
Bladderfish.pngItem Arrow.pngItem Arrow.pngFiltered Water.png
  • 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=Salt|item2=Silicone|result=Bleach}}
Salt.pngSpadefish.pngItem Arrow.pngItem Arrow.pngCooked Spadefish.png
  • To make a page with lots of recipes less cluttered, you can use the small syntax:
{{Recipe|item1=Salt|item2=Silicone|result=Bleach|small=yes}}
Plasteel Ingot.png×5Enameled Glass.pngAdvanced Wiring Kit.pngItem Arrow.pngItem Arrow.pngCyclops.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.