Template:Infobox Recipe: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
ChefAnhSung (talk | contribs) No edit summary |
ChefAnhSung (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
{{#if:{{{rawmat1}}}| |
{{#set:RawMaterial1={{#if:{{{rawmat1}}}|{{{rawmat1}}}}}}} |
||
{{#if:{{{rawmat2}}}| |
{{#set:RawMaterial2={{#if:{{{rawmat2}}}|{{{rawmat2}}}}}}} |
||
{{#if:{{{rawmat3}}}| |
{{#set:RawMaterial3={{#if:{{{rawmat3}}}|{{{rawmat3}}}}}}} |
||
<!--{{#if:{{{rawmat2}}}|{{#set:RawMaterial2={{{rawmat2}}}}}}}--> |
|||
<!--{{#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}}}}<!-- |