Template:Infobox Recipe: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Californ1a (talk | contribs) mNo edit summary |
ChefAnhSung (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
-->{{#if:{{{rawmat2|}}}|{{#set:RawMaterial2={{{rawmat2}}}}}}}<!-- |
-->{{#if:{{{rawmat2|}}}|{{#set:RawMaterial2={{{rawmat2}}}}}}}<!-- |
||
-->{{#if:{{{rawmat3|}}}|{{#set:RawMaterial3={{{rawmat3}}}}}}}<!-- |
-->{{#if:{{{rawmat3|}}}|{{#set:RawMaterial3={{{rawmat3}}}}}}}<!-- |
||
-->{{#vardefine:rawmat1cost|{{#if:{{{rawmat1|}}}|{{formatnum:{{#ask:[[Sold item::{{{rawmat1}}}]]|?Shop buy price=|mainlabel=-|searchlabel=|limit=1|sort=Shop buy price|order=asc}}|R}}|0}}}}<!-- |
-->{{#vardefine:rawmat1cost|{{#if:{{{rawmat1|}}}|{{formatnum:{{#ask:[[Sold item::{{{rawmat1}}}]]|?Shop buy price=|mainlabel=-|searchlabel=|limit=1|sort=Shop buy price|order=asc}}|R}}|0}}}}<!-- |
||
-->{{#vardefine:rawmat2cost|{{#if:{{{rawmat2|}}}|{{formatnum:{{#ask:[[Sold item::{{{rawmat2}}}]]|?Shop buy price=|mainlabel=-|searchlabel=|limit=1|sort=Shop buy price|order=asc}}|R}}|0}}}}<!-- |
-->{{#vardefine:rawmat2cost|{{#if:{{{rawmat2|}}}|{{formatnum:{{#ask:[[Sold item::{{{rawmat2}}}]]|?Shop buy price=|mainlabel=-|searchlabel=|limit=1|sort=Shop buy price|order=asc}}|R}}|0}}}}<!-- |
||
Line 90: | Line 91: | ||
| style="text-align: right;" {{!}} {{Currency|{{#expr:{{#var:output1costtotal}} - {{#var:totalcost}}}}}} |
| style="text-align: right;" {{!}} {{Currency|{{#expr:{{#var:output1costtotal}} - {{#var:totalcost}}}}}} |
||
|}</includeonly><noinclude>{{/doc}}</noinclude> |
|}</includeonly><noinclude>{{/doc}}</noinclude> |
||
-->{{#set:RawMaterial1Cost={{#var: rawmat1total}}}}<!-- |
|||
-->{{#set:RawMaterial2Cost={{#var: rawmat2total}}}}<!-- |
|||
-->{{#set:RawMaterial3Cost={{#var: rawmat3total}}}}<!-- |