Template:Recipe2: Difference between revisions
(Seeing if {{{Main|}}} should not have a vertical bar) |
(Seeing if the presense of {{{Main}}} triggers the Main parameter) |
||
Line 13: | Line 13: | ||
{{Recipe|Main={{{Main|}}}|item1=Diamond|count1=2|item2=Battery|item3=Titanium|item4=Crash_Powder|machine=Fabricator|result=Laser Cutter}} |
{{Recipe|Main={{{Main|}}}|item1=Diamond|count1=2|item2=Battery|item3=Titanium|item4=Crash_Powder|machine=Fabricator|result=Laser Cutter}} |
||
|Light Stick = |
|Light Stick = |
||
{{Recipe|Main= |
{{Recipe|Main=|item1=Battery|item2=Titanium|item3=Glass|machine=Fabricator|result=LED Light}} |
||
|Propulsion Cannon = {{Recipe|Main={{{Main|}}}|item1=Wiring Kit|item2=Battery|item3=Titanium|item4=Magnetite|machine=Fabricator|result=Propulsion Cannon}} |
|Propulsion Cannon = {{Recipe|Main={{{Main|}}}|item1=Wiring Kit|item2=Battery|item3=Titanium|item4=Magnetite|machine=Fabricator|result=Propulsion Cannon}} |
||
|Repair Tool = {{Recipe|Main={{{Main|}}}|item1=Silicone Rubber|count1=1|item2=Crash Powder|item3=Titanium|machine=Fabricator|result=Repair Tool}} |
|Repair Tool = {{Recipe|Main={{{Main|}}}|item1=Silicone Rubber|count1=1|item2=Crash Powder|item3=Titanium|machine=Fabricator|result=Repair Tool}} |
Revision as of 21:30, 26 October 2017
(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.