Template:Crafting recipe

From Thorium Mod Wiki
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:Crafting recipe/doc. (edit | history)

Minimal Template (for copy pasting)

Please copy/paste this on pages. It should contain most of what you need. When amount is 1, please remove the amount field.

{{crafting recipe
| tool = 
| item1   =  
| amount1 = 
| item2   = 
| amount2 = 
| resultAmount = 
}}

Usage

{{crafting recipe
| name = //Optional, defaults to BASEPAGENAME
| tool =
| item1 =
| amount1 = //Optional, defaults to 1
| item2 =
| amount2 = //Optional, defaults to 1
| item3 =
| amount3 = //Optional, defaults to 1
| item4 =
| amount4 = //Optional, defaults to 1
| item5 =
| amount5 = //Optional, defaults to 1
| result =  //Optional, defaults to name (which itself defaults to BASEPAGENAME)
| resultAmount = //Optional, defaults to 1
| image = //Optional, defaults to result (which itself defaults to name, which in turn defaults to BASEPAGENAME)
}}
  • DO NOT PUT LINKS IN THE ITEMS (or result). The template will link and generate images automatically:
    • item1 = [[Wood]] : No
    • item1 = Wood : Tango Tick1.png
  • The "Tool" field will automatically generate links and images to know workbenches. The bench is unknown, it will simply put in the field unformated. This is useful for objects like goggles:
    • tool = [[Workbench]] : No
    • tool = Workbench: Tango Tick1.png
    • tool = [[File:Wooden Chair.png|link=Wooden Chair]] [[Chair]] + [[File:Work Bench.png|link=Work Bench]] [[Work Bench]] : Tango Tick1.png (gives Wooden Chair.png Chair + Work Bench.png Work Bench)