Template:Required Resources
Revision as of 18:27, 7 December 2022 by Ickputzdirwech (talk | contribs) (fixed extra space after first resource)
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}}
{{Required Resources|Plate armor|3}}
{{Required Resources|Phoenix armor}}
150 Plasteel, 50 Uranium, 6 Advanced component, 75 Steel, 4 Component, 40 Chemfuel
{{Required Resources|Phoenix armor|sep= +}}
150 Plasteel + 50 Uranium + 6 Advanced component + 75 Steel + 4 Component + 40 Chemfuel
{{Required Resources|Phoenix armor|sep= +|simple=1}}
{{Required Resources|Phoenix armor|sep= +|simple=1|2}}
The above documentation is transcluded from Template:Required Resources/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |