Difference between revisions of "Template:BoM"
(first "finished" version of list style bom) |
|||
Line 64: | Line 64: | ||
{{#vardefine: i | {{#expr: {{#var: i}} + 1 }} }} | {{#vardefine: i | {{#expr: {{#var: i}} + 1 }} }} | ||
}} | }} | ||
+ | |||
{{#vardefine: n | 0 }} | {{#vardefine: n | 0 }} | ||
{{#while: | {{#while: |
Revision as of 15:41, 4 January 2019
Generates a BoM (Bill of Materials) for an item. Has three modes:
- Show the most basic resources with all amounts added up. (WIP)
- 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