Editing Template:Chef/RecipeRow
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
⚫ | |||
{| class="wikitable" |
|||
⚫ | |||
<onlyinclude><!-- |
|||
| ?mat1= |
|||
⚫ | |||
| link=none |
|||
⚫ | |||
| mainlabel=- |
|||
-->{{#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}}}} |
|||
{{!}}- |
|||
{{!}} {{{Level}}} |
|||
{{!}} {{Plinkt|{{{Item}}}}} |
|||
{{!}} [[{{{Category}}}]] |
|||
| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}} |
|||
⚫ | |||
⚫ | |||
{{!}} {{Currency|{{{Cost}}}}} |
|||
⚫ | |||
⚫ | |||
| {{{ExperiencePerHour}}} |
|||
⚫ | |||
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}} |
|||
⚫ | |||
⚫ | |||
{{!}} {{{Ingredients}}} |
|||
⚫ | |||
{{#if: {{{ExperiencePerHour|}}} | {{!}} {{{ExperiencePerHour}}} }} |
|||
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}} |
|||
| {{{ProfitPerHour}}} |
{{#if: {{{ProfitPerHour|}}} | {{!}} {{{ProfitPerHour}}} }} |
||
{{#if: {{{IngredientsExperiment|}}} | {{!}} {{{IngredientsExperiment}}} }} |
|||
⚫ | |||
< |
<noinclude> |
||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"Level": { |
|||
"description": "Level required to make the recipe", |
|||
"type": "number" |
|||
}, |
|||
"Item": { |
|||
"description": "Name of the recipe item", |
|||
"type": "string" |
|||
}, |
|||
"Category": { |
|||
"aliases": [ |
|||
"Variant" |
|||
], |
|||
"description": "Variant of the food item", |
|||
"type": "string" |
|||
}, |
|||
"Cost": { |
|||
"description": "Cost of producing the recipe", |
|||
"type": "number" |
|||
}, |
|||
"Experience": { |
|||
"aliases": [ |
|||
"XP" |
|||
], |
|||
"description": "Experience gained per item", |
|||
"type": "number" |
|||
}, |
|||
"ExperienceFirstTime": { |
|||
"description": "Experience gained per item for the first time", |
|||
"type": "number" |
|||
}, |
|||
"Ingredients": {}, |
|||
"ExperiencePerHour": {}, |
|||
"ProfitPerHour": {} |
|||
⚫ | |||
} |
|||
</templatedata> |
|||
</noinclude> |