Template:Infobox Recipe: Difference between revisions
no edit summary
ChefAnhSung (talk | contribs) No edit summary |
ChefAnhSung (talk | contribs) No edit summary |
||
Line 3:
-->{{#if:{{{rawmat2|}}}|{{#set:RawMaterial2={{{rawmat2}}}}}}}<!--
-->{{#if:{{{rawmat3|}}}|{{#set:RawMaterial3={{{rawmat3}}}}}}}<!--
-->{{#set:RawMaterialTotalCost=1}}<!--▼
-->{{#vardefine:rawmat1cost|{{#if:{{{rawmat1|}}}|{{formatnum:{{#ask:[[Sold item::{{{rawmat1}}}]]|?Shop buy price=|mainlabel=-|searchlabel=|limit=1|sort=Shop buy price|order=asc}}|R}}|0}}}}<!--
Line 91 ⟶ 92:
| style="text-align: right;" {{!}} {{Currency|{{#expr:{{#var:output1costtotal}} - {{#var:totalcost}}}}}}
|}
▲{{#set:RawMaterialTotalCost=1}}
</includeonly><noinclude>{{/doc}}</noinclude>
|