Template:Chef/RecipeRow: Difference between revisions

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

edits