Difference between revisions of "Template:BoM"
Line 17: | Line 17: | ||
|?Qty | |?Qty | ||
}} | }} | ||
− | }} | + | }}<!-- |
− | <!-- | + | |
+ | Tree style list of resources + intermediate steps--> | ||
{{#switch: {{#var: outputMode}} | {{#switch: {{#var: outputMode}} | ||
| tree | all = {{#var: outputBuffer}} | | tree | all = {{#var: outputBuffer}} | ||
}}<!-- | }}<!-- | ||
+ | |||
List of basic resources + mana usage | List of basic resources + mana usage | ||
-->{{#switch: {{#var: outputMode}} | -->{{#switch: {{#var: outputMode}} |
Revision as of 16:29, 31 December 2018
Generates a BoM (Bill of Materials) for an item. Has three modes:
- Show the most basic resources with all amounts added up. (WIP, not possible without semantic wiki array extension)
- Show a tree style list with all the needed resources as child of the intermediate ingredient with different levels of indentation (done)
- Show both
Uses sub-template Template:ResourceBreakdown