Template:Recipe2 (BZ)/doc: Difference between revisions
m (Zone of Endless moved page Template:Recipe2/doc (BZ) to Template:Recipe2 (BZ)/doc without leaving a redirect: Fixing subpage name to match parent page rename) |
SlyAceZeta (talk | contribs) m (8 revisions imported: importing from Below Zero wiki) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
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. |
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== |
==Usage== |
||
Type <code>{<nowiki/>{Recipe2}}</code> onto a page below the <code><nowiki>==Recipe==</nowiki></code>. This will add the complete crafting recipe and categories. |
Type <code>{<nowiki/>{Recipe2 (BZ)}}</code> onto a page below the <code><nowiki>==Recipe==</nowiki></code>. 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 <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 (BZ)|page=''Item''}}</code>. This will add the crafting recipe for the topic ''Item'' without adding categories. |
||
==Examples== |
==Examples== |
||
On the [[Scanner]] article, adding <code>{<nowiki/>{Recipe2}}</code> adds {{Clear}} |
On the [[Scanner (Below Zero)|Scanner]] article, adding <code>{<nowiki/>{Recipe2 (BZ)}}</code> adds {{Clear}} |
||
{{Recipe2|page=Scanner}} |
{{Recipe2 (BZ)|page=Scanner}} |
||
{{Clear}} |
{{Clear}} |
||
along with the categories ''Crafted with Battery'', ''Crafted with Titanium'' and ''Crafted with Fabricator'' to the article. |
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 {{Clear}} |
Adding <code>{<nowiki/>{Recipe2 (BZ)|page=Light Stick}}</code> to any article adds {{Clear}} |
||
{{Recipe2|page=Light Stick}} |
{{Recipe2 (BZ)|page=Light Stick}} |
||
{{Clear}} |
{{Clear}} |
||
without adding any categories. |
without adding any categories. |
Latest revision as of 13:50, 6 August 2021
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

x1
|
x1
|

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

x1
|
x1
|
x1
|

without adding any categories.