Template:Chef/RecipeRow: Difference between revisions
Blank cells if cost is not given
(Reverted previous two changes, attempt to use PLink for ingredients unsuccessful. Still removed + to match other chef table.) |
(Blank cells if cost is not given) |
||
Line 1:
{| class="wikitable"
{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}▼
<onlyinclude><!--
{{#vardefine:RawMaterial1|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial1=|mainlabel=-}}|R}}|0}}▼
-->{{#vardefine:
-->{{#vardefine:
▲-->{{#vardefine:
▲-->{{#vardefine:
{{!}} {{Plinkt|{{{Item}}}}}▼
{{!}} {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}}▼
▲
{{!}} {{{ExperienceFirstTime}}}▼
| {{{ExperiencePerHour}}}
{{!}} {{Currency|{{#var:SellValue}}}}▼
| {{
{{!}} {{{ProfitPerHour}}}▼
| {{#if:{{{Cost|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{{Cost}}})/(200*{{{Experience}}}) round 2}}}}}}
|}
<noinclude>{{/doc}}</noinclude>
|