Template:Chef/RecipeRow: Difference between revisions

m
Remove deprecated template parameter
No edit summary
m (Remove deprecated template parameter)
 
(14 intermediate revisions by 4 users not shown)
Line 1:
{| class="wikitable"
{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}
<onlyinclude><!--
 
-->{{#vardefine:RawMaterial1SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?RawMaterial1Value=|mainlabel=-}}|R}}|0}}}}<!--
-->{{#vardefine:RawMaterial2RawMaterial1|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial2RawMaterial1=|mainlabel=-}}|R}}|0}}<!--
-->{{#vardefine:RawMaterial3RawMaterial2|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3RawMaterial2=|mainlabel=-}}|R}}|0}}<!--
-->{{#vardefine:SellValueRawMaterial3|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?ValueRawMaterial3=|mainlabel=-}}|R}}|0}}}}<!--
 
-->{{#vardefine:RawMaterialTotalCost|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?RawMaterialTotalCost=|mainlabel=-}}|R}}|0}}}}
{{!}}| {{{Level}}}
 
| {{Plinkt|{{{Item}}}}}
 
{{!}}| [[{{{Category}}}]]
{{!}}-
{{!}}| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}<br />|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}<br />|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}<br />|}}
{{!}} {{{Level}}}
{{!}}| {{Plinkt|{{{Item}}Experience}}}
{{!}}| {{{ExperienceFirstTime}}}
{{!}} [[{{{Category}}}]]
{{!}}| {{{ExperiencePerHour}}}
{{!}} {{Currency|{{#var:SellValue}}}}
| {{!#if:{{#var:RawMaterialTotalCost}} |{{Currency|{{{Cost#var:RawMaterialTotalCost}}}}}}
{{!}}| {{Currency|{{#expr:{{#var:SellValue}} - {{{Cost}}}}}}}
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#expr:{{#var:SellValue}} - {{#var:RawMaterialTotalCost}}}}}}}}
{{!}} {{{Experience}}}
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}}
{{!}} {{{ExperienceFirstTime}}}
{{!}}| {{{ProfitPerHour}}}</onlyinclude>
{{!}} {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}<br />|}}{{#if:{{#var:RawMaterial2}}|{{#var:RawMaterial2}}<br />|}}{{#if:{{#var:RawMaterial3}}|{{#var:RawMaterial3}}<br />|}}
|}
{{!}} {{{ExperiencePerHour}}}
{{!}} {{{ProfitPerHour}}}
{{!}} {{#var:RawMaterialTotalCost}}
<noinclude>{{/doc}}</noinclude>
303

edits