Template:Recipe2: Difference between revisions

From Subnautica Wiki
(Un-broke the code)
mNo edit summary
Line 208: Line 208:
|Polyaniline={{Recipe|Main={{{page|}}}|item1=Gold|item2=Hydrochloric Acid|machine=Fabricator|result=Polyaniline}}
|Polyaniline={{Recipe|Main={{{page|}}}|item1=Gold|item2=Hydrochloric Acid|machine=Fabricator|result=Polyaniline}}
|Synthetic Fibers={{Recipe|Main={{{page|}}}|item1=Benzene|item2=Fiber Mesh|machine=Fabricator|result=Synthetic Fibers}}
|Synthetic Fibers={{Recipe|Main={{{page|}}}|item1=Benzene|item2=Fiber Mesh|machine=Fabricator|result=Synthetic Fibers}}
|Hatching Enzymes={{Recipe|Main={{{page|}}}|item1=Eyes Plant Seed|item2=Fungal Sample|item3=Ghost Weed Seed|item4=Sea Crown Seed|item5=Koosh Sample|machine=Fabricator|result=Hatching Enzymes}}
<!--Basic Materials-->
<!--Basic Materials-->
|Bleach={{Recipe|Main={{{page|}}}|item1=Salt Deposit|item2=Coral Tube Sample|machine=Fabricator|result=Bleach}}
|Bleach={{Recipe|Main={{{page|}}}|item1=Salt Deposit|item2=Coral Tube Sample|machine=Fabricator|result=Bleach}}

Revision as of 22:37, 21 December 2017

(no target detected)

This template uses Template:Recipe to easily add the crafting recipe to an article, including necessary categories, therefore it is recommended to use this method to add recipes to articles, since by only editing one recipe on this template changes the same recipe that is used by multiple articles at the same time, instead of changing the recipe on every article one by one.

Usage

Type {{Recipe2}} onto a page below the ==Recipe==. This will add the complete crafting recipe and categories.

If the recipe you want to add does not describe the article (e.g., upgrade modules on the Cyclops article), then add {{Recipe2|page=Item}}. This will add the crafting recipe for the topic Item without adding categories.

Examples

On the Scanner article, adding {{Recipe2}} adds

Battery.pngTitanium.pngItem Arrow.pngFabricator.pngItem Arrow.pngScanner.png

along with the categories Crafted with Battery, Crafted with Titanium and Crafted with Fabricator to the article.

Adding {{Recipe2|page=Light Stick}} to any article adds

Battery.pngTitanium.pngGlass.pngItem Arrow.pngFabricator.pngItem Arrow.pngLED Light.png

without adding any categories.