Jump to content

Template:Infobox module/profitcalc: Difference between revisions

From UFOpaedia
Madned (talk | contribs)
m adjusted value to use #expr function
Madned (talk | contribs)
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)}}