Template:Chef/RecipeRow: Difference between revisions

m
Remove deprecated template parameter
No edit summary
m (Remove deprecated template parameter)
 
(79 intermediate revisions by 6 users not shown)
Line 1:
{| class="wikitable"
<!-- Template:Chef/RecipeRow -->
<onlyinclude>{{#if: {{{CategoryFilter|}}} |<!--
-->{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}<!--
{{#ifeq: {{{Category|}}} | {{{CategoryFilter}}} |
-->{{#vardefine:RawMaterial1|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial1=|mainlabel=-}}|R}}|0}}<!--
<!-- Display row if Category matches CategoryFilter -->
-->{{#vardefine:RawMaterial2|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial2=|mainlabel=-}}|R}}|0}}<!--
|-
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!--
| {{{Level}}}
-->{{#vardefine:RawMaterialTotalCost|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?RawMaterialTotalCost=|mainlabel=-}}|R}}|0}}}}
| {{{Item}}}
| {{{SellValueLevel}}}
| {{Plinkt| {{{CategoryItem}}}}}
| [[{{{CostCategory}}}]]
| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}}
| {{{Profit}}}
| {{{Experience}}}
| {{{ExperienceFirstTime}}}
| {{{IngredientsExperiencePerHour}}}
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}}
}}
| {{Currency|{{#var:SellValue}}}}
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#expr:{{#var:SellValue}} - {{#var:RawMaterialTotalCost}}}}}}}}
<!-- Display row unconditionally if CategoryFilter is empty -->
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}}
|-
| {{{LevelProfitPerHour}}}</onlyinclude>
|}
| {{{Item}}}
<noinclude>{{/doc}}</noinclude>
| {{{SellValue}}}
| {{{Category}}}
| {{{Cost}}}
| {{{Profit}}}
| {{{Experience}}}
| {{{ExperienceFirstTime}}}
| {{{Ingredients}}}
}}</onlyinclude>
303

edits