Template:Infobox Recipe: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 1:
{{#vardefine:mat1cost|{{formatnum:{{#ask:[[{{{mat1}}}]]|?Cost=|mainlabel=-}}|R}}}}
{{#vardefine:mat2cost|{{formatnum:{{#ask:[[{{{mat2}}}]]|?Cost=|mainlabel=-}}|R}}}}
{{#vardefine:output1cost|{{formatnum:{{#ask:[[{{{output1}}}]]|?Cost=|mainlabel=-}}|R}}}}
{| class="wikitable"
! colspan="4" | Requirements
Line 21 ⟶ 24:
{{!}} [[{{{mat1}}}]]
{{!}} style="text-align: right;" {{!}} {{{mat1qty|1}}}
{{!}} style="text-align: right;" {{!}} {{formatnum:{{#vardefineecho:mat1total|{{#expr:{{{mat1qty|1}}} * {{
{{!}}-
}}
Line 28 ⟶ 31:
{{!}} [[{{{mat2}}}]]
{{!}} style="text-align: right;" {{!}} {{{mat2qty|1}}}
{{!}} style="text-align: right;" {{!}} {{formatnum:{{#vardefineecho:
{{!}}-
}}
Line 41 ⟶ 44:
{{!}} [[{{{output1}}}]]
| style="text-align: right;" {{!}} {{{output1qty|1}}}
| style="text-align: right;" {{!}} {{formatnum:{{#vardefineecho:
|-
! colspan="3" | Profit
| style="text-align: right;" {{!}} {{formatnum:{{#expr:{{#var:
|}
|