Template:Infobox Recipe: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 24: Line 24:
{{!}}-
{{!}}-
}}
}}
<!--{{#if:{{{mat2|}}}|
{{#if:{{{mat2|}}}|
{{!}} [[File:{{{mat2}}}.png|30px]]
{{!}} [[File:{{{mat2}}}.png|30px]]
{{!}} [[{{{mat2}}}]]
{{!}} [[{{{mat2}}}]]
Line 30: Line 30:
{{!}} style="text-align: right;" {{!}} {{formatnum:{{#vardefineecho:mat2total|{{#expr:{{{mat2qty|1}}} * {{#if:{{#var:mat2cost}}|{{#var:mat2cost}}|0}}}}}}}}
{{!}} style="text-align: right;" {{!}} {{formatnum:{{#vardefineecho:mat2total|{{#expr:{{{mat2qty|1}}} * {{#if:{{#var:mat2cost}}|{{#var:mat2cost}}|0}}}}}}}}
{{!}}-
{{!}}-
}}-->
}}
! colspan="3" | Total cost
! colspan="3" | Total cost
| style="text-align: right;" {{!}} {{formatnum:{{#vardefineecho:totalcost|{{#expr:{{#varexists:mat1total|{{#var:mat1total}}|0}} + {{#varexists:mat2total|{{#var:mat2total}}|0}}}}}}}}
| style="text-align: right;" {{!}} {{formatnum:{{#vardefineecho:totalcost|{{#expr:{{#varexists:mat1total|{{#var:mat1total}}|0}} + {{#varexists:mat2total|{{#var:mat2total}}|0}}}}}}}}