Template:Chef/RecipeRow: Difference between revisions

From Brighter Shores Wiki
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>

Revision as of 00:24, 12 November 2024

|- | {{{Level}}} | class="plinkt-image " |[[File:{{{Item}}}.png|30px|link={{{Item}}}]] || class="plinkt-link "| [[{{{Item}}}|{{{Item}}}]] | [[{{{Category}}}]] | Copper | 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 &quot;{&quot;.</strong>" as a number. | {{{Experience}}} | {{{ExperienceFirstTime}}} | {{{Ingredients}}}

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
LevelLevel

Level required to make the recipe

Numberoptional
ItemItem

Name of the recipe item

Stringoptional
CategoryCategory Variant

Variant of the food item

Stringoptional
CostCost

Cost of producing the recipe

Numberoptional
ExperienceExperience XP

Experience gained per item

Numberoptional
ExperienceFirstTimeExperienceFirstTime

Experience gained per item for the first time

Numberoptional
IngredientsIngredients

no description

Unknownoptional
ExperiencePerHourExperiencePerHour

no description

Unknownoptional
ProfitPerHourProfitPerHour

no description

Unknownoptional