Template:Chef/RecipeRow: Difference between revisions
m
Remove deprecated template parameter
ChefAnhSung (talk | contribs) (Undo unstable changes made from previous edits) |
m (Remove deprecated template parameter) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1:
{| class="wikitable"
{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}▼
<onlyinclude><!--
-->{{#vardefine:
-->{{#vardefine:
-->{{#vardefine:
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!--
▲-->{{#vardefine:
| {{
| [[{{{Category}}}]]
{{!}} {{Currency|{{#var:SellValue}}}}▼
| {{{Experience}}}
{{!}} {{Currency|{{#expr:{{#var:SellValue}} - {{{Cost}}}}}}}▼
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}}
▲{{!}} {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}<br />|}}{{#if:{{#var:RawMaterial2}}|{{#var:RawMaterial2}}<br />|}}{{#if:{{#var:RawMaterial3}}|{{#var:RawMaterial3}}<br />|}}
▲| {{
{{!}} {{{ProfitPerHour}}}▼
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}}
|}
<noinclude>{{/doc}}</noinclude>
|