Template:Chef/RecipeRow: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
ChefAnhSung (talk | contribs) No edit summary |
m (Remove deprecated template parameter) |
||
(46 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" |
|||
⚫ | |||
<onlyinclude><!-- |
|||
{{!}}- |
|||
⚫ | |||
⚫ | |||
-->{{#vardefine:RawMaterial1|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial1=|mainlabel=-}}|R}}|0}}<!-- |
|||
{{!}} {{Plinkt|{{{Item}}}}} |
|||
-->{{#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}}}} |
|||
{{!}} {{Currency|{{{Cost}}}}} |
|||
⚫ | |||
{{!}} {{Currency|{{#expr:{{{sellValue}}} - {{{Cost}}}}}}} |
|||
{{ |
| {{Plinkt|{{{Item}}}}} |
||
⚫ | |||
⚫ | |||
| {{#if:{{#var:RawMaterial1}}|{{#var:RawMaterial1}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{#var:RawMaterial2}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{#var:RawMaterial3}}|}} |
|||
{{!}} {{{Ingredients}}} |
|||
| {{{Experience}}} |
|||
{{#if: {{{ExperiencePerHour|}}} | {{!}} {{{ExperiencePerHour}}} }} |
|||
⚫ | |||
{{#if: {{{ProfitPerHour|}}} | {{!}} {{{ProfitPerHour}}} }} |
|||
| {{{ExperiencePerHour}}} |
|||
<noinclude> |
|||
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}} |
|||
<templatedata> |
|||
⚫ | |||
{ |
|||
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#expr:{{#var:SellValue}} - {{#var:RawMaterialTotalCost}}}}}}}} |
|||
"params": { |
|||
| {{#if:{{#var:RawMaterialTotalCost}}|{{#if:{{{Experience|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{#var:RawMaterialTotalCost}})/(200*{{{Experience}}}) round 2}}}}}}}} |
|||
"Level": {}, |
|||
| {{{ProfitPerHour}}}</onlyinclude> |
|||
"Item": {}, |
|||
⚫ | |||
"Category": {}, |
|||
<noinclude>{{/doc}}</noinclude> |
|||
"SellValue": {}, |
|||
"Cost": {}, |
|||
"Experience": {}, |
|||
"ExperienceFirstTime": {}, |
|||
"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.
|