Template:Chef/RecipeRow: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(now use the item's value as sell value)
No edit summary
Line 1: Line 1:
{{#vardefine:mat1cost|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}
{{#vardefine:sellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}
<!-- {{!}} {{Currency|{{#var:mat1cost}}}} <-- TODO: add back in once item handles parsing -->
{{!}}-
{{!}}-
{{!}} {{{Level}}}
{{!}} {{{Level}}}
{{!}} {{Plinkt|{{{Item}}}}}
{{!}} {{Plinkt|{{{Item}}}}}
{{!}} [[{{{Category}}}]]
{{!}} [[{{{Category}}}]]
{{!}} {{Currency|{{#var:mat1cost}}}}
{{!}} {{Currency|{{#var:sellValue}}}}
{{!}} {{Currency|{{{Cost}}}}}
{{!}} {{Currency|{{{Cost}}}}}
{{!}} {{Currency|{{#expr:{{{SellValue}}} - {{{Cost}}}}}}}
{{!}} {{Currency|{{#expr:{{{sellValue}}} - {{{Cost}}}}}}}
{{!}} {{{Experience}}}
{{!}} {{{Experience}}}
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{ExperienceFirstTime}}}