Template:Required Resources/doc

From RimWorld Wiki
Jump to navigation Jump to search

Returns a list of the resources required to make an item.

Parameters

First parameter is the item whose required resources are to be returned.

sep is the seperator parameter.

simple removes the name of the time and only leaves the icon.

Examples

{{Required Resources|Phoenix armor}}

Plasteel 150 Plasteel, Uranium 50 Uranium, Advanced component 6 Advanced components, Steel 75 Steel, Component 4 Components, Chemfuel 40 Chemfuel

{{Required Resources|Phoenix armor|<nowiki> <nowiki>+}}

Plasteel 150 Plasteel + Uranium 50 Uranium + Advanced component 6 Advanced components + Steel 75 Steel + Component 4 Components + Chemfuel 40 Chemfuel

{{Required Resources|Phoenix armor|sep=<nowiki> <nowiki>+|simple=1}}

Plasteel 150 + Uranium 50 + Advanced component 6 + Steel 75 + Component 4 + Chemfuel 40