Template:Chef/RecipeRow: Difference between revisions

m
Remove deprecated template parameter
(Reverted previous two changes, attempt to use PLink for ingredients unsuccessful. Still removed + to match other chef table.)
m (Remove deprecated template parameter)
 
(2 intermediate revisions by 2 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:RawMaterial2SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?RawMaterial2Value=|mainlabel=-}}|R}}|0}}}}<!--
-->{{#vardefine:RawMaterial3RawMaterial1|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3RawMaterial1=|mainlabel=-}}|R}}|0}}<!--
-->{{#vardefine:RawMaterial1RawMaterial2|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial1RawMaterial2=|mainlabel=-}}|R}}|0}}<!--
{{!}} {{{Level}}}
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!--
{{!}} {{Plinkt|{{{Item}}}}}
-->{{#vardefine:SellValueRawMaterialTotalCost|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?ValueRawMaterialTotalCost=|mainlabel=-}}|R}}|0}}}}
{{!}} [[{{{Category}}}]]
{{!}}| {{{Level}}}
{{!}} {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}}
| {{!}} Plinkt|{{{ExperienceItem}}}}}
{{!}}| [[{{{Category}}}]]
{{!}} {{{ExperienceFirstTime}}}
{{!}}| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}}
{{!}} {{{ExperiencePerHour}}}
{{!}}| {{Currency|{{{Cost}}Experience}}}
{{!}}| {{{ExperienceFirstTime}}}
{{!}} {{Currency|{{#var:SellValue}}}}
{{!}}| {{{ExperiencePerHour}}}
{{!}} {{Currency|{{#expr:{{#var:SellValue}} - {{{Cost}}}}}}}
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}}
{{!}} {{Currency|{{#expr:({{#var:SellValue}} - {{{Cost}}})/(200*{{{Experience}}}) round 2}}}}
| {{!}} Currency|{{{ProfitPerHour#var:SellValue}}}}
| {{!#if:{{#var:RawMaterialTotalCost}} |{{Currency|{{#expr:{{#var:SellValue}} - {{{Cost#var:RawMaterialTotalCost}}}}}}}}
| {{!#if:{{#var:RawMaterialTotalCost}} |{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{{Cost}#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}}
| {{{ProfitPerHour}}}</onlyinclude>
|}
<noinclude>{{/doc}}</noinclude>
303

edits