Template:Infobox Recipe: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 9: Line 9:
-->{{#vardefine:rawmat2total|0}}<!--
-->{{#vardefine:rawmat2total|0}}<!--
-->{{#vardefine:rawmat3total|0}}<!--
-->{{#vardefine:rawmat3total|0}}<!--

-->{{#set:RawMaterialTotalCost={{#var:totalcost}}}}<!--

-->{{#vardefine:output1cost|{{#if:{{{output1|}}}|{{formatnum:{{#ask:[[{{{output1}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}
-->{{#vardefine:output1cost|{{#if:{{{output1|}}}|{{formatnum:{{#ask:[[{{{output1}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}

{| class="wikitable"
{| class="wikitable"
! colspan="4" | Requirements
! colspan="4" | Requirements
Line 95: Line 91:
| style="text-align: right;" {{!}} {{Currency|{{#expr:{{#var:output1costtotal}} - {{#var:totalcost}}}}}}
| style="text-align: right;" {{!}} {{Currency|{{#expr:{{#var:output1costtotal}} - {{#var:totalcost}}}}}}
|}
|}
<!---->{{#set:RawMaterialTotalCost={{#var:totalcost}}}}<!-->
</includeonly><noinclude>{{/doc}}</noinclude>
</includeonly><noinclude>{{/doc}}</noinclude>