Difference between revisions of "Template:Bill of materials-row"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>{{bom-start}}
 
<noinclude>{{bom-start}}
 
</noinclude>|-
 
</noinclude>|-
|{{#if:{{{item_link|<noinclude>x</noinclude>}}}|[{{{item_link}}}{{#if:{{{item|<noinclude>x</noinclude>}}}|&nbsp;{{{item}}}}}]|{{#if:{{{item|<noinclude>x</noinclude>}}}|{{{item}}}}}}}
+
|{{#if:{{{item_link|<noinclude>x</noinclude>}}}|[{{urlencode:{{{item_link}}}}}{{#if:{{{item|<noinclude>x</noinclude>}}}|&nbsp;{{{item}}}}}]|{{#if:{{{item|<noinclude>x</noinclude>}}}|{{{item}}}}}}}
 
|{{#if:{{{metric|<noinclude>x</noinclude>}}}|{{{metric}}}|N/A}}
 
|{{#if:{{{metric|<noinclude>x</noinclude>}}}|{{{metric}}}|N/A}}
 
|{{#if:{{{cost|<noinclude>x</noinclude>}}}|${{format price|{{{cost|0}}}}}|Unknown}}
 
|{{#if:{{{cost|<noinclude>x</noinclude>}}}|${{format price|{{{cost|0}}}}}|Unknown}}

Revision as of 06:30, 15 January 2011

Item Metric Cost/Item Qty Sub Total Distributor
[%7B%7B%7Bitem_link%7D%7D%7D {{{item}}}] {{{metric}}} $0.00 {{{quantity}}} ?? {{{distributor}}}
[edit] [purge] Template documentation

Usage

{{bom-row
| item = 
| item_link = 
| metric = 
| cost = 
| quantity = 
| distributor = 
}}