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 48: Line 48:
| style="text-align: right;" {{!}} {{Currency|{{#vardefineecho:totalcost|{{#expr:{{#varexists:rawmat1total|{{#var:rawmat1total}}|0}} + {{#varexists:rawmat2total|{{#var:rawmat2total}}|0}} + {{#varexists:rawmat3total|{{#var:rawmat3total}}|0}}}}}}}}
| style="text-align: right;" {{!}} {{Currency|{{#vardefineecho:totalcost|{{#expr:{{#varexists:rawmat1total|{{#var:rawmat1total}}|0}} + {{#varexists:rawmat2total|{{#var:rawmat2total}}|0}} + {{#varexists:rawmat3total|{{#var:rawmat3total}}|0}}}}}}}}
|-
|-
{{#if:{{{preparedmat1|}}}{{!}}
{{#if:{{{preparedmat1|}}}|<nowiki />
! colspan="2" {{!}} Prepared Ingredient
{{!}} colspan="2" {{!}} Prepared Ingredient
! Quantity
{{!}} Quantity
! Facility
{{!}} Facility
{{!}}-
}}
}}
|-
{{#if:{{{preparedmat1|}}}|
{{#if:{{{preparedmat1|}}}|
{{!}} [[File:{{{preparedmat1}}}.png|30px]]
{{!}} [[File:{{{preparedmat1}}}.png|30px]]