Difference between revisions of "Template:BoM"
(updated description) |
|||
Line 76: | Line 76: | ||
}}</div></div><!-- | }}</div></div><!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
− | Generates a BoM (Bill of Materials) for an item. Has three modes: | + | Generates a BoM (Bill of Materials) for an item. Has three modes you can choose with the template parameter <code>outputMode</code>: |
− | * Show the most basic resources with all amounts added up. | + | * <code>outputMode = list</code> - Show the most basic resources with all amounts added up. |
− | * Show a tree style list with all the needed resources as child of the intermediate ingredient with different levels of indentation (done) | + | * <code>outputMode = tree</code> - Show a tree style list with all the needed resources as child of the intermediate ingredient with different levels of indentation (done) |
− | * Show both | + | * <code>outputMode = all</code> - Show both (Default mode in case parameter is left out) |
Uses sub-template [[Template:ResourceBreakdown]] | Uses sub-template [[Template:ResourceBreakdown]] | ||
[[Category:Template]] | [[Category:Template]] | ||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 14:56, 4 January 2019
Generates a BoM (Bill of Materials) for an item. Has three modes you can choose with the template parameter outputMode
:
outputMode = list
- Show the most basic resources with all amounts added up.outputMode = tree
- Show a tree style list with all the needed resources as child of the intermediate ingredient with different levels of indentation (done)outputMode = all
- Show both (Default mode in case parameter is left out)
Uses sub-template Template:ResourceBreakdown