Template:Infobox Recipe: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
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}}}}}}}<!--
-->{{#if:{{{rawmat1|}}}|{{#set:RawMaterialTotalCost={{{rawmat1}}}}}}}<!--
-->{{#set:RawMaterialTotalCost={{#var:totalcost}}}}<!--


-->{{#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}}}}<!--