Difference between revisions of "Template:Infobox module/profitcalc"

From UFOpaedia
Jump to navigation Jump to search
m (adjusted value to use #expr function)
(unfortunately, no parser functions)
Line 2: Line 2:
 
|-
 
|-
 
! {{StdTable_Sub_Heading}} | Net Manufacturing Profit
 
! {{StdTable_Sub_Heading}} | Net Manufacturing Profit
| ${{formatnum:{{#expr:{{{1}}}-({{{2}}}*{{{3}}})}}}}  
+
| ${{formatnum:{{{1}}}}}  
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
template to display calculated manufacturing cost or Real Manufacturing Cost = Sale Price - ($Profit/Hr x Engineer Hours)<br>
 
template to display calculated manufacturing cost or Real Manufacturing Cost = Sale Price - ($Profit/Hr x Engineer Hours)<br>
 
labeled here as net profit<br>
 
labeled here as net profit<br>
 +
value must be calculated by editor<bR>
 
usage:
 
usage:
<pre>{{Infobox module/profitcalc|(saleprice)|(hourprofit)|(technhours)}}</pre></noinclude>
+
<pre>{{Infobox module/profitcalc|(net manufacturing profit)}}</pre></noinclude>

Revision as of 22:54, 2 February 2011

template to display calculated manufacturing cost or Real Manufacturing Cost = Sale Price - ($Profit/Hr x Engineer Hours)
labeled here as net profit
value must be calculated by editor
usage:

{{Infobox module/profitcalc|(net manufacturing profit)}}