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

no edit summary
No edit summary
No edit summary
Line 52:
! Cost
|-
}}
| {{#if:{{{preparedmat1|}}}|[[File:{{{preparedmat1}}}.png|30px]]|{{{preparedmat1}}}}}
{{#if:{{{preparedmat1|}}}|
| style="text-align: right;" {{!}} {{{preparedmat1qty|1}}}
| {{#if:{{{preparedmat1|!}}}| [[File:{{{preparedmat1}}}.png|30px]]|{{{preparedmat1}}}}}
| style="text-align: right;" {{!}} {{Currency|{{totalcost}}}}
{{!}} [[{{{preparedmat1}}}]]
|{{!}} style="text-align: right;" {{!}} {{{preparedmat1qty|1}}}
{{!}} style="text-align: right;" {{!}} {{Currency|{{#vardefineecho:rawmat3total|{{#expr:{{{rawmat3qty|1}}} * {{#if:{{#var:rawmat3cost}}|{{#var:rawmat3cost}}|0}}}}}}}}
{{!}}-
}}
|-
! colspan="2" | Ouput
526

edits