Difference between revisions of "Template:Required Resources/doc"
Jump to navigation
Jump to search
(simplified by using nbsp) |
|||
Line 1: | Line 1: | ||
Returns a list of the resources required to make an item. | Returns a list of the resources required to make an item. | ||
− | ==Parameters== | + | == Parameters == |
First parameter is the item whose required resources are to be returned. | First parameter is the item whose required resources are to be returned. | ||
− | sep is the seperator parameter. | + | <code>sep</code> is the seperator parameter. |
− | simple removes the name of the time and only leaves the icon. | + | <code>simple</code> removes the name of the time and only leaves the icon. |
− | ==Examples== | + | == Examples == |
− | + | <pre>{{Required Resources|Plate armor}}</pre> | |
{{Required Resources|Plate armor}} | {{Required Resources|Plate armor}} | ||
− | + | ||
+ | <pre>{{Required Resources|Phoenix armor}}</pre> | ||
{{Required Resources|Phoenix armor}} | {{Required Resources|Phoenix armor}} | ||
− | |||
− | |||
− | + | <pre>{{Required Resources|Phoenix armor|sep=&nbsp;+}}</pre> | |
− | {{Required Resources|Phoenix armor|sep= | + | {{Required Resources|Phoenix armor|sep= +}} |
+ | |||
+ | |||
+ | <pre>{{Required Resources|Phoenix armor|sep=&nbsp;+|simple=1}}</pre> | ||
+ | {{Required Resources|Phoenix armor|sep= +|simple=1}} |
Revision as of 10:41, 7 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}}
170 Stuff (Metallic/Woody, 1700 for SMVs)
{{Required Resources|Phoenix armor}}
150 Plasteel, 50 Uranium, 6 Advanced components, 75 Steel, 4 Components, 40 Chemfuel
{{Required Resources|Phoenix armor|sep= +}}
150 Plasteel + 50 Uranium + 6 Advanced components + 75 Steel + 4 Components + 40 Chemfuel
{{Required Resources|Phoenix armor|sep= +|simple=1}}