Template:Chef/RecipeRow: Difference between revisions
ChefAnhSung (talk | contribs) No edit summary |
m (Remove deprecated template parameter) |
||
(41 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" |
|||
⚫ | |||
<onlyinclude><!-- |
|||
⚫ | |||
⚫ | |||
| ?mat1= |
|||
⚫ | |||
| link=none |
|||
-->{{#vardefine:RawMaterial2|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial2=|mainlabel=-}}|R}}|0}}<!-- |
|||
| mainlabel=- |
|||
-->{{#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}}|}} |
|||
{{!}} [[{{{Category}}}]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}} {{Currency|{{{Cost}}}}} |
|||
| {{{ExperiencePerHour}}} |
|||
⚫ | |||
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}} {{{Ingredients}}} |
|||
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}} |
|||
{{#if: {{{ExperiencePerHour|}}} | {{!}} {{{ExperiencePerHour}}} }} |
|||
| {{{ProfitPerHour}}}</onlyinclude> |
|||
⚫ | |||
{{#if: {{{IngredientsExperiment|}}} | {{!}} {{{IngredientsExperiment}}} }} |
|||
<noinclude> |
<noinclude>{{/doc}}</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> |
Latest revision as of 02:16, 20 November 2024
{{{Level}}} | [[File:{{{Item}}}.png|30px|link={{{Item}}}]] | [[{{{Item}}}|{{{Item}}}]] | [[{{{Category}}}]] | R R R |
{{{Experience}}} | {{{ExperienceFirstTime}}} | {{{ExperiencePerHour}}} | 0 | 0 | 0 | {{{ProfitPerHour}}} |
Template documentation
This documentation is transcluded from Template:Chef/RecipeRow/doc. [edit] [history] [purge]
This template does not have any documentation. Please consider adding documentation at Template:Chef/RecipeRow/doc. [edit]
Template data
Show/hide template's data | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date. No description.
|