Template:Recipe2 (BZ): Difference between revisions

From Subnautica Wiki
No edit summary
m (adding case for (Below Zero) names)
Line 1: Line 1:
{{#switch:{{{1|{{{page|{{PAGENAME}}}}}}}}
{{#switch:{{{1|{{{page|{{#replace:{{PAGENAME}}| (Below Zero)|}}}}}}}}
<!--Personal-->
<!--Personal-->
|Standard O₂ Tank = {{Recipe (BZ)|Main={{{page|}}}|item1=Titanium|count1=2|item2=Fiber Mesh|count2=1|machine=Fabricator|result=Standard O₂ Tank}}
|Standard O₂ Tank = {{Recipe (BZ)|Main={{{page|}}}|item1=Titanium|count1=2|item2=Fiber Mesh|count2=1|machine=Fabricator|result=Standard O₂ Tank}}
Line 517: Line 517:
|ReactorRodEnergy={{Recipe (BZ)|Main={{{page|}}}|item= Reactor Rod|machine=Nuclear Reactor|result=Energy|resultcount=20000|result2=Depleted Reactor Rod}}
|ReactorRodEnergy={{Recipe (BZ)|Main={{{page|}}}|item= Reactor Rod|machine=Nuclear Reactor|result=Energy|resultcount=20000|result2=Depleted Reactor Rod}}
|ReactorRodEnergy x4={{Recipe (BZ)|Main={{{page|}}}|item= Reactor Rod|count1=4|machine=Nuclear Reactor|result=Energy|resultcount=80000|result2=Depleted Reactor Rod|resultcount2=4}}
|ReactorRodEnergy x4={{Recipe (BZ)|Main={{{page|}}}|item= Reactor Rod|count1=4|machine=Nuclear Reactor|result=Energy|resultcount=80000|result2=Depleted Reactor Rod|resultcount2=4}}
|Recipe2={{Recipe2|page=Flashlight}}
|Recipe2={{Recipe2 (BZ)|page=Flashlight (Below Zero)}}
|#default = (no target detected)[[Category:Broken recipe]]
|#default = (no target detected)[[Category:Broken recipe]]
}}
}}

Revision as of 06:43, 5 August 2021

(no target detected)

This template uses Template:Recipe (BZ) 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 (BZ)}} 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 (BZ)|page=Item}}. This will add the crafting recipe for the topic Item without adding categories.

Examples

On the Scanner article, adding {{Recipe2 (BZ)}} adds

1x1 default bg.png
Fabricator Icon.png
Item Arrow.png
Battery Icon.png
x1
Titanium Icon.png
x1


Item Arrow.png
1x1 default bg.png
Scanner Icon.png



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

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

1x1 default bg.png
Fabricator Icon.png
Item Arrow.png
Battery Icon.png
x1
Titanium Icon.png
x1
Glass Icon.png
x1


Item Arrow.png
1x1 default bg.png
Light Stick Icon.png



without adding any categories.