Template:Infobox Recipe: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 27:
{{!}} style="text-align: right;" {{!}} {{{mat2qty|1}}}
{{!}} style="text-align: right;" {{!}} {{Currency|{{#vardefineecho:mat2total|{{#expr:{{{mat2qty|1}}} * {{#if:{{#var:mat2cost}}|{{#var:mat2cost}}|0}}}}}}}}
{{!}}-
}}
{{#if:{{{mat3|}}}|
{{!}} [[File:{{{mat3}}}.png|30px]]
{{!}} [[{{{mat3}}}]]
{{!}} style="text-align: right;" {{!}} {{{mat3qty|1}}}
{{!}} style="text-align: right;" {{!}} {{Currency|{{#vardefineecho:mat2total|{{#expr:{{{mat3qty|1}}} * {{#if:{{#var:mat3cost}}|{{#var:mat3cost}}|0}}}}}}}}
{{!}}-
}}
839

edits