Template:Chef/RecipeRow: Difference between revisions

m
Remove deprecated template parameter
(Remove extra newlines + move docs to subpage)
m (Remove deprecated template parameter)
 
(32 intermediate revisions by 5 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}}}]]|?Material1=|mainlabel=-}}}}}}
-->{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}<!--
{{!}}-
-->{{#vardefine:IngredientsExperimentRawMaterial1|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?Material1RawMaterial1=|mainlabel=-}}|R}}|0}}<!--
{{!}} {{{Level}}}
-->{{#vardefine:RawMaterial2|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial2=|mainlabel=-}}|R}}|0}}<!--
{{!}} {{Plinkt|{{{Item}}}}}
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!--
{{!}} [[{{{Category}}}]]
-->{{#vardefine:RawMaterialTotalCost|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?RawMaterialTotalCost=|mainlabel=-}}|R}}|0}}}}
{{!}} {{Currency|{{#var:SellValue}}}}
{{!}}| {{Currency|{{{Cost}}Level}}}
{{!}}| {{Plinkt|{{{Item}}}}}
{{!}} {{Currency|{{#expr:{{#var:SellValue}} - {{{Cost}}}}}}}
{{!}}| [[{{{ExperienceCategory}}}]]
| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}}
{{!}} {{{ExperienceFirstTime}}}
{{!}}| {{{IngredientsExperience}}}
{{!}}| {{{ExperienceFirstTime}}}
{{#if: {{{ExperiencePerHour|}}} | {{!}} {{{ExperiencePerHour}}} }}
| {{{ExperiencePerHour}}}
{{#if: {{{ProfitPerHour|}}} | {{!}} {{{ProfitPerHour}}} }}<!--
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}}
--><noinclude>{{/doc}}</noinclude>
{{!}}| {{Currency|{{#var:SellValue}}}}
| {{!#if:{{#var:RawMaterialTotalCost}} |{{Currency|{{#expr:{{#var:SellValue}} - {{{Cost#var:RawMaterialTotalCost}}}}}}}}
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}}
| {{{ProfitPerHour}}}</onlyinclude>
|}
--><noinclude>{{/doc}}</noinclude>
303

edits