Template:Chef/RecipeRow: Difference between revisions
Californ1a (talk | contribs) m (Undo revision 15419 by Californ1a (talk)) Tag: Undo |
Im Wired In (talk | contribs) (Remove extra newlines + move docs to subpage) |
||
Line 1: | Line 1: | ||
{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}} |
{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}<!-- |
||
{{#vardefine:IngredientsExperiment|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?Material1=|mainlabel=-}}}}}} |
-->{{#vardefine:IngredientsExperiment|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?Material1=|mainlabel=-}}}}}} |
||
{{!}}- |
{{!}}- |
||
{{!}} {{{Level}}} |
{{!}} {{{Level}}} |
||
Line 13: | Line 12: | ||
{{!}} {{{Ingredients}}} |
{{!}} {{{Ingredients}}} |
||
{{#if: {{{ExperiencePerHour|}}} | {{!}} {{{ExperiencePerHour}}} }} |
{{#if: {{{ExperiencePerHour|}}} | {{!}} {{{ExperiencePerHour}}} }} |
||
{{#if: {{{ProfitPerHour|}}} | {{!}} {{{ProfitPerHour}}} }} |
{{#if: {{{ProfitPerHour|}}} | {{!}} {{{ProfitPerHour}}} }}<!-- |
||
--><noinclude>{{/doc}}</noinclude> |
|||
<!-- {{#if: {{#var:IngredientsExperiment}} | {{!}} {{#var:IngredientsExperiment}} }} --> |
|||
<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> |
Revision as of 00:24, 12 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}}}
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.
|