Template:Recipe2: Difference between revisions

From Subnautica Wiki
(big filtered water -> large filtered water)
m (Added Large Room)
Tag: 2017 source edit
Line 145: Line 145:
|Multipurpose Room=
|Multipurpose Room=
{{Recipe|Main={{{page|}}}|item1=Titanium|count1=6|machine=Habitat Builder|result=Room}}
{{Recipe|Main={{{page|}}}|item1=Titanium|count1=6|machine=Habitat Builder|result=Room}}
|Large Room=
{{Recipe|Main={{{page|}}}|item1=Plasteel Ingot|count1=2|machine=Habitat Builder|result=Large Room}}
|Scanner Room=
|Scanner Room=
{{Recipe|Main={{{page|}}}|item1=Titanium|count1=5|item2=Copper Ore|count2=2|item3=Gold|item4=Table Coral Sample|machine=Habitat Builder|result=Scanner Room}}
{{Recipe|Main={{{page|}}}|item1=Titanium|count1=5|item2=Copper Ore|count2=2|item3=Gold|item4=Table Coral Sample|machine=Habitat Builder|result=Scanner Room}}
Line 419: Line 421:
}
}
</templatedata>
</templatedata>

{Recipe2|page=Multipurpose Room}}


[[Category:Templates]][[fr:Modèle:Recipe2]]</noinclude>
[[Category:Templates]][[fr:Modèle:Recipe2]]</noinclude>

Revision as of 15:28, 14 January 2025

(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.pngLight Stick.png
without adding any categories.

Shows the recipe for an item.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Itempage 1

The item whose recipe is to be shown

Default
The recipe for the page the template is used on
Example
Fabricator
Stringoptional

{Recipe2|page=Multipurpose Room}}