User:The Gaffer/Sandbox/RecipeCard: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 47: Line 47:
}}
}}
! colspan="3" | Total Raw cost
! colspan="3" | Total Raw cost
| style="text-align: right;" {{!}} {{Currency|{{#vardefine:totalcost|{{#expr:{{#varexists:rawmat1total|{{#var:rawmat1total}}|0}} + {{#varexists:rawmat2total|{{#var:rawmat2total}}|0}} + {{#varexists:rawmat3total|{{#var:rawmat3total}}|0}}}}}}}}
| style="text-align: right;" {{!}} {{Currency|{{#vardefine:totalcost|{{#expr:{{#varexists:rawmat1total|{{#var:rawmat1total}}|0}} + {{#varexists:rawmat2total|{{#var:rawmat2total}}|0}} + {{#varexists:rawmat3total|{{#var:rawmat3total}}|0}}}}}}{{#var:totalcost}}}}
|-
|-
{{#if:{{{preparedmat1|}}}|
{{#if:{{{preparedmat1|}}}|