Template:Chef/RecipeRow: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Undo revision 15419 by Californ1a (talk))
Tag: Undo
(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>