Difference between revisions of "Template:Required Resources/doc"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
sep is the seperator parameter. | sep is the seperator parameter. | ||
+ | |||
+ | simple removes the name of the time and only leaves the icon. | ||
==Examples== | ==Examples== | ||
Line 12: | Line 14: | ||
<nowiki>{{Required Resources|Phoenix armor|<nowiki> <nowiki>+}}</nowiki> | <nowiki>{{Required Resources|Phoenix armor|<nowiki> <nowiki>+}}</nowiki> | ||
{{Required Resources|Phoenix armor|sep=<nowiki> </nowiki>+}} | {{Required Resources|Phoenix armor|sep=<nowiki> </nowiki>+}} | ||
+ | |||
+ | <nowiki>{{Required Resources|Phoenix armor|sep=<nowiki> <nowiki>+|simple=1}}</nowiki> | ||
+ | {{Required Resources|Phoenix armor|sep=<nowiki> </nowiki>+|simple=1}} |
Revision as of 08:44, 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.
simple removes the name of the time and only leaves the icon.
Examples
{{Required Resources|Phoenix armor}}
150 Plasteel, 50 Uranium, 6 Advanced components, 75 Steel, 4 Components, 40 Chemfuel
{{Required Resources|Phoenix armor|<nowiki> <nowiki>+}}
150 Plasteel + 50 Uranium + 6 Advanced components + 75 Steel + 4 Components + 40 Chemfuel
{{Required Resources|Phoenix armor|sep=<nowiki> <nowiki>+|simple=1}}