Difference between revisions of "Template:Required Resources"
(Created page with "{{Q|{{{1|{{PAGENAME}}}}}|Resource 1}} {{Q|{{{1|{{PAGENAME}}}}}|Resource 1}} {{#if: {{Q|{{{1|{{PAGENAME}}}}}|Resource 1}} | {{icon Big|{{Q|{{{1|{{PAGENAME}}}}}|Resource 1}}|1...") |
|||
Line 22: | Line 22: | ||
Resource 6 Chemfuel + | Resource 6 Chemfuel + | ||
Resource 6 Amount 40 + | Resource 6 Amount 40 + | ||
+ | <noinclude> | ||
+ | {{Documentation}} | ||
+ | </noinclude> |
Revision as of 07:23, 24 March 2021
Resource 1 Plasteel + Resource 1 Amount 150 + Resource 2 Uranium + Resource 2 Amount 50 + Resource 3 Advanced component + Resource 3 Amount 6 + Resource 4 Steel + Resource 4 Amount 75 + Resource 5 Component + Resource 5 Amount 4 + Resource 6 Chemfuel + Resource 6 Amount 40 +
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}}
Stuff Stuff
plasteel + 50 uranium and 6 advanced components.
Resource 1 Plasteel +
Resource 1 Amount 150 +
Resource 2 Uranium +
Resource 2 Amount 50 +
Resource 3 Advanced component +
Resource 3 Amount 6 +
Resource 4 Steel +
Resource 4 Amount 75 +
Resource 5 Component +
Resource 5 Amount 4 +
Resource 6 Chemfuel +
Resource 6 Amount 40 +
{{Required Resources|Plate armor|3}}
Stuff Stuff
plasteel + 50 uranium and 6 advanced components.
Resource 1 Plasteel +
Resource 1 Amount 150 +
Resource 2 Uranium +
Resource 2 Amount 50 +
Resource 3 Advanced component +
Resource 3 Amount 6 +
Resource 4 Steel +
Resource 4 Amount 75 +
Resource 5 Component +
Resource 5 Amount 4 +
Resource 6 Chemfuel +
Resource 6 Amount 40 +
{{Required Resources|Phoenix armor}}
Plasteel Plasteel
plasteel + 50 uranium and 6 advanced components.
Resource 1 Plasteel +
Resource 1 Amount 150 +
Resource 2 Uranium +
Resource 2 Amount 50 +
Resource 3 Advanced component +
Resource 3 Amount 6 +
Resource 4 Steel +
Resource 4 Amount 75 +
Resource 5 Component +
Resource 5 Amount 4 +
Resource 6 Chemfuel +
Resource 6 Amount 40 +
{{Required Resources|Phoenix armor|sep= +}}
Plasteel Plasteel
plasteel + 50 uranium and 6 advanced components.
Resource 1 Plasteel +
Resource 1 Amount 150 +
Resource 2 Uranium +
Resource 2 Amount 50 +
Resource 3 Advanced component +
Resource 3 Amount 6 +
Resource 4 Steel +
Resource 4 Amount 75 +
Resource 5 Component +
Resource 5 Amount 4 +
Resource 6 Chemfuel +
Resource 6 Amount 40 +
{{Required Resources|Phoenix armor|sep= +|simple=1}}
Plasteel Plasteel
plasteel + 50 uranium and 6 advanced components.
Resource 1 Plasteel +
Resource 1 Amount 150 +
Resource 2 Uranium +
Resource 2 Amount 50 +
Resource 3 Advanced component +
Resource 3 Amount 6 +
Resource 4 Steel +
Resource 4 Amount 75 +
Resource 5 Component +
Resource 5 Amount 4 +
Resource 6 Chemfuel +
Resource 6 Amount 40 +
{{Required Resources|Phoenix armor|sep= +|simple=1|2}}
Plasteel Plasteel
plasteel + 50 uranium and 6 advanced components.
Resource 1 Plasteel +
Resource 1 Amount 150 +
Resource 2 Uranium +
Resource 2 Amount 50 +
Resource 3 Advanced component +
Resource 3 Amount 6 +
Resource 4 Steel +
Resource 4 Amount 75 +
Resource 5 Component +
Resource 5 Amount 4 +
Resource 6 Chemfuel +
Resource 6 Amount 40 +
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. |