User:Celestial/TemplateSandbox: Difference between revisions

No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{!}} {{{Level}}}
{{!}} {{{Level}}}
{{!}} {{Plinkt|{{{Product}}}}}
{{!}} {{Plinkt|{{{Product}}}}}
{{!}} {{Plinkt|{{{Material}}}}}
{{!}} [[{{{Material}}}]]
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{Experience}}}
{{!}} {{{Experience}}}
{{!}} {{{ExperienceSecondary}}}
{{!}} {{{ExperienceSecondary}}}
{{!}} {{#vardefineecho:TotalExperience|{{#expr:{{{Experience}}} + {{{ExperienceSecondary}}}}}}}
{{!}} {{#vardefineecho:TotalExperience|{{#expr:{{{Experience}}} + {{{ExperienceSecondary}}}}}}}
{{!}} {{Currency|{{{MatCost}}}
{{!}} {{Currency|{{{MatCost}}}}}
{{!}} {{Currency|{{#expr:{{{MatCost}}} / 2}}
{{!}} {{Currency|{{#expr:{{{MatCost}}} / 2}}}}
{{!}} {{Currency|{{#var:SellValue}}}}
{{!}} {{Currency|{{#var:SellValue}}}}
{{!}} {{Currency|{{#expr:{{{MatCost}}} / 2 - {{#var:SellValue}}}}
{{!}} {{Currency|{{#expr:{{{MatCost}}} / 2 - {{#var:SellValue}}}}}}
{{!}} {{Currency|{{#vardefineecho:TotalProfit|{{#expr:{{#var:SellValue}} * 2 - {{{MatCost}}}}}}}
{{!}} {{Currency|{{#vardefineecho:TotalProfit|{{#expr:{{#var:SellValue}} * 2 - {{{MatCost}}}}}}}}}
{{!}} {{Currency|{{round:{{#expr:{{#var:TotalProfit}} / {{#var:TotalExperience}}}|2}}}
{{!}} {{Currency|{{Round|{{#expr:{{#var:TotalProfit}} / {{#var:TotalExperience}}}}|2}}}}
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 24: Line 24:
"type": "number"
"type": "number"
},
},
"Item": {
"Product": {
"description": "Name of the recipe item",
"description": "Name of the recipe item",
"type": "string"
"type": "string"
},
},
"Category": {
"Material": {
"description": "Material needed to make item",
"aliases": [
"Variant"
],
"description": "Variant of the food item",
"type": "string"
"type": "string"
},
},
"Cost": {
"MatCost": {
"description": "Cost of producing the recipe",
"description": "Cost of the material when bought from store",
"type": "number"
},
"ExperienceFirstTime": {
"description": "Experience gained per item for the first time",
"type": "number"
"type": "number"
},
},
"Experience": {
"Experience": {
"aliases": [
"XP"
],
"description": "Experience gained per item",
"description": "Experience gained per item",
"type": "number"
"type": "number"
},
},
"ExperienceFirstTime": {
"ExperienceSecondary": {
"description": "Experience gained per item for the first time",
"description": "Experience gained per item for on secondary processing",
"type": "number"
"type": "number"
},
}
"Ingredients": {},
"ExperiencePerHour": {},
"ProfitPerHour": {}
}
}
}
}

Latest revision as of 20:53, 10 November 2024


|- | {{{Level}}} | class="plinkt-image " |[[File:{{{Product}}}.png|30px|link={{{Product}}}]] || class="plinkt-link "| [[{{{Product}}}|{{{Product}}}]] | [[{{{Material}}}]] | {{{ExperienceFirstTime}}} | {{{Experience}}} | {{{ExperienceSecondary}}} | Expression error: Unrecognised punctuation character "{". | | | Copper | | |

No description.

Template parameters

ParameterDescriptionTypeStatus
LevelLevel

Level required to make the recipe

Numberoptional
ProductProduct

Name of the recipe item

Stringoptional
MaterialMaterial

Material needed to make item

Stringoptional
MatCostMatCost

Cost of the material when bought from store

Numberoptional
ExperienceFirstTimeExperienceFirstTime

Experience gained per item for the first time

Numberoptional
ExperienceExperience

Experience gained per item

Numberoptional
ExperienceSecondaryExperienceSecondary

Experience gained per item for on secondary processing

Numberoptional