Difference between revisions of "Template:Required Resources/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(simplified by using nbsp)
Line 23: Line 23:
 
<pre>{{Required Resources|Phoenix armor|sep=&amp;nbsp;+|simple=1}}</pre>
 
<pre>{{Required Resources|Phoenix armor|sep=&amp;nbsp;+|simple=1}}</pre>
 
{{Required Resources|Phoenix armor|sep=&nbsp;+|simple=1}}
 
{{Required Resources|Phoenix armor|sep=&nbsp;+|simple=1}}
 +
 +
<noinclude>[[Category: Template documentation]]</noinclude>
 +
<includeonly>[[Category: Templates]]</includeonly>

Revision as of 10:11, 11 June 2022

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|Plate armor}}

Stuff 170 Stuff (Metallic/Woody, 1700 for SMVs)


{{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|sep=&nbsp;+}}

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=&nbsp;+|simple=1}}

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