Template:Infobox Recipe: Difference between revisions

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