Template:Chef/RecipeRow: Difference between revisions
m
Remove deprecated template parameter
ChefAnhSung (talk | contribs) No edit summary |
m (Remove deprecated template parameter) |
||
(42 intermediate revisions by 6 users not shown) | |||
Line 1:
{| class="wikitable"
{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}▼
<onlyinclude><!--
{{#vardefine:IngredientsExperiment|{{#if:{{{Item|}}}|{{#ask: [[{{{Item}}}]]▼
▲-->{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}<!--
▲-->{{#vardefine:
-->{{#vardefine:RawMaterial2|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial2=|mainlabel=-}}|R}}|0}}<!--
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!--
-->{{#vardefine:RawMaterialTotalCost|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?RawMaterialTotalCost=|mainlabel=-}}|R}}|0}}}}
| {{
| {{
| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}}
{{!}} {{Currency|{{#var:SellValue}}}}▼
| {{{ExperiencePerHour}}}
{{!}} {{Currency|{{#expr:{{#var:SellValue}} - {{{Cost}}}}}}}▼
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}}
▲{{!}} {{{Experience}}}
▲{{!}} {{{ExperienceFirstTime}}}
▲| {{
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}}
<noinclude>{{/doc}}</noinclude>
▲ }
|