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><!-- |
|||
⚫ | |||
{{!}}- |
|||
⚫ | |||
⚫ | |||
-->{{#vardefine:RawMaterial2|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial2=|mainlabel=-}}|R}}|0}}<!-- |
|||
{{!}} {{Plinkt|{{{Item}}}}} |
|||
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!-- |
|||
⚫ | |||
-->{{#vardefine:RawMaterialTotalCost|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?RawMaterialTotalCost=|mainlabel=-}}|R}}|0}}}} |
|||
⚫ | |||
⚫ | |||
{{!}} {{Currency|{{{Cost}}}}} |
|||
⚫ | |||
⚫ | |||
{{!}} {{{Experience}}} |
|||
| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}} |
|||
{{!}} {{{ExperienceFirstTime}}} |
|||
{{!}} {{{Ingredients}}} |
|||
| {{{ExperiencePerHour}}} |
{{#if: {{{ExperiencePerHour|}}} | {{!}} {{{ExperiencePerHour}}} }} |
||
{{#if: {{{ProfitPerHour|}}} | {{!}} {{{ProfitPerHour}}} }} |
|||
{{#if: {{#var:IngredientsExperiment}} | {{!}} {{#var:IngredientsExperiment}} }} |
|||
⚫ | |||
<noinclude> |
|||
⚫ | |||
<templatedata> |
|||
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}} |
|||
{ |
|||
| {{{ProfitPerHour}}}</onlyinclude> |
|||
"params": { |
|||
⚫ | |||
"Level": { |
|||
<noinclude>{{/doc}}</noinclude> |
|||
"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> |