Template:Recipe2/doc: Difference between revisions

From Subnautica Wiki
(Updating it (may need conforming to wiki standard))
(Adding examples)
Line 4: Line 4:


If the recipe you want to add does not describe the article (e.g., upgrade modules on the [[Cyclops]] article), then add <code>{<nowiki/>{Recipe2|page=''Item''}}</code>. This will add the crafting recipe for the topic ''Item'' without adding categories.
If the recipe you want to add does not describe the article (e.g., upgrade modules on the [[Cyclops]] article), then add <code>{<nowiki/>{Recipe2|page=''Item''}}</code>. This will add the crafting recipe for the topic ''Item'' without adding categories.
==Examples==
On the [[Scanner]] article, adding <code>{<nowiki/>{Recipe2}}</code> adds {{Recipe2|page=Scanner}}along with the categories ''Crafted with Battery'', ''Crafted with Titanium'' and ''Crafted with Fabricator'' to the article.

Adding <code>{<nowiki/>{Recipe2|page=Light Stick}}</code> to any article adds {{Recipe2|page=Light Stick}}without adding any categories.

Revision as of 22:58, 26 October 2017

This template uses Template:Recipe to easily add the crafting recipe to an article, including necessary categories.

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.pngLight Stick.png

without adding any categories.