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

From RimWorld Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
{{Required Resources|Phoenix armor}}
 
{{Required Resources|Phoenix armor}}
  
  <nowiki>{{Required Resources|Phoenix armor|sep= +}}</nowiki>
+
  <nowiki>{{Required Resources|Phoenix armor|<nowiki> <nowiki>+}}</nowiki>
{{Required Resources|Phoenix armor|sep= +}}
+
{{Required Resources|Phoenix armor|sep=<nowiki> </nowiki>+}}

Revision as of 08:04, 24 March 2021

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.

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