Template:Chef/RecipeRow: Difference between revisions
m
Remove deprecated template parameter
(Removed + delimiter for ingredients, added Plinks instead to match formatting in main chef table.) |
m (Remove deprecated template parameter) |
||
(4 intermediate revisions by 3 users not shown) | |||
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:
{{!}} {{{Level}}}▼
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!--
▲-->{{#vardefine:
{{!}} [[{{{Category}}}]]▼
{{!}} {{#if:{{#var:RawMaterial1}}|{{Plink|{{#var:RawMaterial1}}}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{Plink|{{#var:RawMaterial2}}}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{Plink|{{#var:RawMaterial3}}}}|}}▼
| {{
{{!}} {{{ExperienceFirstTime}}}▼
▲
{{!}} {{{ExperiencePerHour}}}▼
{{!}} {{Currency|{{#expr:{{#var:SellValue}} - {{{Cost}}}}}}}▼
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}}
{{!}} {{Currency|{{#expr:({{#var:SellValue}} - {{{Cost}}})/(200*{{{Experience}}}) round 2}}}}▼
| {{
▲| {{
▲| {{
| {{{ProfitPerHour}}}</onlyinclude>
|}
<noinclude>{{/doc}}</noinclude>
|