Template:Chef/RecipeRow: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
ChefAnhSung (talk | contribs) (now use the item's value as sell value) |
ChefAnhSung (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine: |
{{#vardefine:sellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}} |
||
<!-- {{!}} {{Currency|{{#var:mat1cost}}}} <-- TODO: add back in once item handles parsing --> |
|||
{{!}}- |
{{!}}- |
||
{{!}} {{{Level}}} |
{{!}} {{{Level}}} |
||
{{!}} {{Plinkt|{{{Item}}}}} |
{{!}} {{Plinkt|{{{Item}}}}} |
||
{{!}} [[{{{Category}}}]] |
{{!}} [[{{{Category}}}]] |
||
{{!}} {{Currency|{{#var: |
{{!}} {{Currency|{{#var:sellValue}}}} |
||
{{!}} {{Currency|{{{Cost}}}}} |
{{!}} {{Currency|{{{Cost}}}}} |
||
{{!}} {{Currency|{{#expr:{{{ |
{{!}} {{Currency|{{#expr:{{{sellValue}}} - {{{Cost}}}}}}} |
||
{{!}} {{{Experience}}} |
{{!}} {{{Experience}}} |
||
{{!}} {{{ExperienceFirstTime}}} |
{{!}} {{{ExperienceFirstTime}}} |
Revision as of 12:56, 10 November 2024
|- | {{{Level}}} | class="plinkt-image " |[[File:{{{Item}}}.png|30px|link={{{Item}}}]] || class="plinkt-link "| [[{{{Item}}}|{{{Item}}}]] | [[{{{Category}}}]] | 0 | Lua error in Module:Currency at line 28: Could not interpret "{{{Cost}}}" as a number. | Lua error in Module:Currency at line 28: Could not interpret "<strong class="error">Expression error: Unrecognised punctuation character "{".</strong>" as a number. | {{{Experience}}} | {{{ExperienceFirstTime}}} | {{{Ingredients}}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Level | Level | no description | Unknown | optional |
Item | Item | no description | Unknown | optional |
Category | Category | no description | Unknown | optional |
SellValue | SellValue | no description | Unknown | optional |
Cost | Cost | no description | Unknown | optional |
Experience | Experience | no description | Unknown | optional |
ExperienceFirstTime | ExperienceFirstTime | no description | Unknown | optional |
Ingredients | Ingredients | no description | Unknown | optional |
ExperiencePerHour | ExperiencePerHour | no description | Unknown | optional |
ProfitPerHour | ProfitPerHour | no description | Unknown | optional |