Template:Carpenter/RecipeRow: Difference between revisions
m
Make sure SellValue is not empty
(Move templatedata to doc page) |
m (Make sure SellValue is not empty) |
||
Line 1:
{| class="wikitable"
<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:{{#var:SellValue}}|{{#var:SellValue}}|0}}}}
{{!}}-
{{!}} {{{Level}}}
|