Template:Carpenter/RecipeRow: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Move templatedata to doc page) |
m (Make sure SellValue is not empty) |
||
Line 1: | Line 1: | ||
{| class="wikitable" |
{| class="wikitable" |
||
<onlyinclude>{{#vardefine:BuyValue|{{#if:{{{Material|}}}|{{formatnum:{{#ask:[[{{{Material}}}]]|?Value=|mainlabel=-}}|R}}|0}}}} |
<onlyinclude>{{#vardefine:BuyValue|{{#if:{{{Material|}}}|{{formatnum:{{#ask:[[{{{Material}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}<!-- |
||
{{#vardefine:SellValue|{{#if:{{{Product|}}}|{{formatnum:{{#ask:[[{{{Product}}}]]|?Value=|mainlabel=-}}|R}}|0}}}} |
-->{{#vardefine:SellValue|{{#if:{{{Product|}}}|{{formatnum:{{#ask:[[{{{Product}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}<!-- |
||
-->{{#vardefine:SellValue|{{#if:{{#var:SellValue}}|{{#var:SellValue}}|0}}}} |
|||
{{!}}- |
{{!}}- |
||
{{!}} {{{Level}}} |
{{!}} {{{Level}}} |