Template:Recipe2: Difference between revisions
SlyAceZeta (talk | contribs) (Adding check for (Subnautica) in page title) |
(add TemplateData) Tag: 2017 source edit |
||
Line 403: | Line 403: | ||
<noinclude>{{Documentation}} |
<noinclude>{{Documentation}} |
||
<templatedata> |
|||
⚫ | |||
{ |
|||
</noinclude> |
|||
"params": { |
|||
"page": { |
|||
"aliases": [ |
|||
"1" |
|||
], |
|||
"label": "Item", |
|||
"description": "The item whose recipe is to be shown.", |
|||
"example": "Fabricator", |
|||
"type": "string", |
|||
"default": "The recipe for this item would be shown" |
|||
} |
|||
}, |
|||
"description": "Shows the recipe for an item.", |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
⚫ |
Revision as of 13:40, 2 April 2022
(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 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 without adding any categories.
Shows the recipe for an item.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | page 1 | The item whose recipe is to be shown.
| String | optional |