Template:Required Resources

From RimWorld Wiki
Revision as of 08:43, 24 March 2021 by Harakoni (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Documentation icon Template documentation[view] [edit] [history] [purge]

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

Parameters

First parameter is the item whose required resources are to be returned (optional, default = PAGENAME).

Second parameter is a multiplier (optional, default = 1).

sep is the seperator parameter (optional, default = ",").

simple removes the name of the time and only leaves the icon (set to any text or value, usually "1").

Examples

{{Required Resources|Plate armor}}

Stuff 170 Stuff {{#if: ||


{{Required Resources|Plate armor|3}}

Stuff 170 Stuff {{#if: ||


{{Required Resources|Phoenix armor}}

Plasteel 150 Plasteel , Uranium 50 Uranium, Advanced component 6 Advanced component, Steel 75 Steel, Component 4 Component, Chemfuel 40 Chemfuel {{#if: ||


{{Required Resources|Phoenix armor|sep= +}}

Plasteel 150 Plasteel  + Uranium 50 Uranium + Advanced component 6 Advanced component + Steel 75 Steel + Component 4 Component + Chemfuel 40 Chemfuel {{#if: ||


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

Plasteel 150  + Uranium 50 + Advanced component 6 + Steel 75 + Component 4 + Chemfuel 40 {{#if: 1||


{{Required Resources|Phoenix armor|sep= +|simple=1|2}}

Plasteel 150  + Uranium 50 + Advanced component 6 + Steel 75 + Component 4 + Chemfuel 40 {{#if: 1||

{{#if: ||