Difference between revisions of "Template:Bill of materials-row"
Jump to navigation
Jump to search
(Created page with '<noinclude>{{bom-start}}</noinclude> |- |{{#if:{{{item|<noinclude>x</noinclude>}}}|{{#ifexist:{{{item}}}|[[{{{item}}}]]|{{{item}}}}}|''Item Name Missing''}} |{{#if:{{{cost|<noinc…') |
|||
Line 2: | Line 2: | ||
|- | |- | ||
|{{#if:{{{item|<noinclude>x</noinclude>}}}|{{#ifexist:{{{item}}}|[[{{{item}}}]]|{{{item}}}}}|''Item Name Missing''}} | |{{#if:{{{item|<noinclude>x</noinclude>}}}|{{#ifexist:{{{item}}}|[[{{{item}}}]]|{{{item}}}}}|''Item Name Missing''}} | ||
− | |{{#if:{{{cost|<noinclude>x</noinclude>}}}|{{{cost}}}|??}} | + | |{{#if:{{{cost|<noinclude>x</noinclude>}}}|$ {{{cost}}}|??}} |
|{{#if:{{{quantity|<noinclude>x</noinclude>}}}|{{{quantity}}}|??}} | |{{#if:{{{quantity|<noinclude>x</noinclude>}}}|{{{quantity}}}|??}} | ||
− | |{{#if:{{{cost|<noinclude>x</noinclude>}}}|{{#if:{{{quantity|<noinclude>x</noinclude>}}}|{{#iferror:{{#expr:{{{quantity}}} * {{{cost}}}}}|??|{{#expr:{{{quantity}}} * {{{cost}}}}}}}|??}}|??}} | + | |{{#if:{{{cost|<noinclude>x</noinclude>}}}|{{#if:{{{quantity|<noinclude>x</noinclude>}}}|{{#iferror:{{#expr:{{{quantity}}} * {{{cost}}}}}|??|$ {{#expr:{{{quantity}}} * {{{cost}}}}}}}|??}}|??}} |
|{{#if:{{{distributor|<noinclude>x</noinclude>}}}|{{{distributor}}}|??}} | |{{#if:{{{distributor|<noinclude>x</noinclude>}}}|{{{distributor}}}|??}} | ||
<noinclude>{{bom-end}} | <noinclude>{{bom-end}} | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Revision as of 19:52, 8 February 2010
Item | Metric | Cost/Item | Qty | Sub Total | Distributor |
---|---|---|---|---|---|
{{{item}}} | $ {{{cost}}} | {{{quantity}}} | ?? | {{{distributor}}} |
[edit] [ ] Template documentation
Usage
{{bom-row | item = | item_link = | metric = | cost = | quantity = | distributor = }}
The above documentation is transcluded from Template:Bill of materials-row/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |