Template:Infobox Recipe: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1:
<includeonly>{{#vardefine:mat1cost|{{#if:{{{mat1|}}}|{{formatnum:{{#ask:[[{{{mat1}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}{{#vardefine:mat2cost|{{#if:{{{mat2|}}}|{{formatnum:{{#ask:[[{{{mat2}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}{{#vardefine:mat2total|0}}{{#vardefine:output1cost|{{#if:{{{output1|}}}|{{formatnum:{{#ask:[[{{{output1}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}{| class="wikitable"
! colspan="4" | Requirements
|-
Line 34:
! colspan="2" | Ouput
! Quantity
! CostValue
|-
| {{#if:{{{output1|}}}|[[File:{{{output1}}}.png|30px]]|{{Unknown}}}}
Line 43:
! colspan="3" | Profit
| style="text-align: right;" {{!}} {{Currency|{{#expr:{{#var:output1costtotal}} - {{#var:totalcost}}}}}}
|}</includeonly><noinclude>{{/doc}}</noinclude>
|}
23

edits