Template:ResourceBreakdown

From Pixark Wiki
Jump to: navigation, search


Template-info.png Documentation

Lists all needed resources for the given resources. The needed breakdowns are given by the file Module:ResourceBreakdown/breakdowns.

Usage

List the resources as parameters. Number parameters are taken as the count for the next resource. If no number is given for a resource, 1 is assumed.

{{ResourceBreakdown|count1|resource1|count2|resource2...}}

Example

{{ResourceBreakdown|Iron Ingot|Polymer|3|Electronics}}
Resources breakdown
1 × Iron Ingot.png Iron Ingot
1 × Iron.png Iron
1 × Polymer.png Polymer
2 × Clay.png Clay
2 × Bone Ash.png Bone Ash
2 × Bone.png Bone
Total Base Ingredients
3 × Copper Ore.png Copper Ore
1 × Iron.png Iron
9 × Sharp Crystal.png Sharp Crystal
2 × Clay.png Clay
2 × Bone.png Bone


{{ResourceBreakdown|5|Polymer|20|Electronics}}
Resources breakdown
5 × Polymer.png Polymer
10 × Clay.png Clay
10 × Bone Ash.png Bone Ash
10 × Bone.png Bone
Total Base Ingredients
60 × Sharp Crystal.png Sharp Crystal
20 × Copper Ore.png Copper Ore
10 × Clay.png Clay
10 × Bone.png Bone