Template:Chef/RecipeRow: Difference between revisions
Californ1a (talk | contribs) m (Undo revision 15419 by Californ1a (talk)) Tag: Undo |
m (Remove deprecated template parameter) |
||
(33 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" |
|||
⚫ | |||
<onlyinclude><!-- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
-->{{#vardefine:RawMaterial2|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial2=|mainlabel=-}}|R}}|0}}<!-- |
|||
⚫ | |||
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!-- |
|||
{{!}} {{Plinkt|{{{Item}}}}} |
|||
-->{{#vardefine:RawMaterialTotalCost|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?RawMaterialTotalCost=|mainlabel=-}}|R}}|0}}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
| {{Plinkt|{{{Item}}}}} |
|||
⚫ | |||
⚫ | |||
| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}} |
|||
{{!}} {{{Experience}}} |
|||
| {{{Experience}}} |
|||
| {{{ExperienceFirstTime}}} |
|||
| {{{ExperiencePerHour}}} |
|||
{{#if: |
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}} |
||
⚫ | |||
<!-- {{#if: {{#var:IngredientsExperiment}} | {{!}} {{#var:IngredientsExperiment}} }} --> |
|||
⚫ | |||
<noinclude> |
|||
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}} |
|||
<templatedata> |
|||
| {{{ProfitPerHour}}}</onlyinclude> |
|||
{ |
|||
⚫ | |||
"params": { |
|||
<noinclude>{{/doc}}</noinclude> |
|||
"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.
|