Template:Craft/doc

From Empyrion: Galactic Survival Wiki
Jump to: navigation, search
Template-info.png Documentation

Template:Craft holds the crafting data for each item. The arguments SU (Survival Constructor), SC (Mobile Constructor), LC (Large Constructor), AC (Advanced Constructor), and FP (Food Processor) refer to the construction time (in seconds) using the respective constructor. If the item can't be built at a specific constructor, leave that constructor's argument out. The list of ingredients is handled similarly; if an ingredient is not required, simply omit it. The raw resources required to construct an item with the Advanced Constructor are calculated and displayed automatically (not used for items constructed by Food Processor). The following example illustrates the proper form:

SEE ALSO: Template:craft list , Template:craft ingredient

Empty[edit source]

{{craft
|name=
|amount=
|SU=         <!--CraftTime * 1.6 -->
|SC=         <!--CraftTime * 1.4 -->
|LC=         <!--CraftTime * 1.0 -->
|AC=         <!--CraftTime * 0.5 -->
|  =
}}

Examples[edit source]

INPUT[edit source]

{{craft
|name=Cargo Box
|amount=1
|SC=7
|LC=5
|AC=3.5
|Mechanical Components=3
|Energy Matrix=1
}}

OUTPUT[edit source]

Output Inputs link=Mobile Constructor}} Mobile Constructorlink=Large Constructor}} Large Constructorlink=Advanced Constructor}} Advanced Constructor
link=Cargo Box}} Cargo Box link=Energy Matrix}} Energy Matrix (1)
link=Mechanical Components}} Mechanical Components (3)
7 s5 s3.5 s
link=Cargo Box}} Cargo Box link=Iron Ore}} Iron Ore (5) link=Advanced Constructor}} Advanced Constructor

INPUT[edit source]

{{craft
|name=Salami
|amount=1
|FP=5
|Raw Meat=1
}}

OUTPUT[edit source]

Output Inputs link=Food Processor}} Food Processor
link=Salami}} Salami link=Raw Meat}} Raw Meat (1) 5 s

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.