Template:Source/doc

From Astroneer Wiki
Jump to navigation Jump to search
Documentation

Uses

For use in the Source section of items to display the recipe used to create the item.

{{Source|Crafting Module|Output|Resource 1|amt1|Resource 2|amt2|Resource 3|Resource 4}}

Example

Example of the default template, with single resources per recipe.

{{Source|Large Printer|Solar Array|Copper|Glass|Plastic|Graphene}}
Output Input Module
Solar Array Copper
Glass
Plastic
Graphene
Large Printer

Resources with Multiples

Use this version if a recipe uses more than 1 of a resource.

{{Source|Large Printer|Auto Extractor|Tungsten Carbide|Rubber|Steel|amt3=2}}
Output Input Module
Auto Extractor Tungsten Carbide
Rubber
Steel x2
Large Printer


Parameters

  • Crafting Module = the name of the module the item is crafted at
  • Output = the name of the item being crafted
  • Resource 1 = the name of the first resource, required
  • amt1 = the number of Resource 1 required if more than 1, optional
  • Resource 2 = the name of the second resource required, optional
  • amt2 = the number of Resource 2 required if more than 1, optional
  • Resource 3 = the name of the third resource required, optional
  • amt3 = the number of Resource 3 required if more than 1, optional
  • Resource 4 = the name of the fourth resource required, optional

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