User:Celestial/TemplateSandbox: Difference between revisions

No edit summary
No edit summary
 
(15 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}}}
{{!}} {{#expr:{{{Experience}}} + ({{{ExperienceSecondary}}} / 0.5)}}
{{!}} {{#vardefineecho:TotalExperience|{{#expr:{{{Experience}}} + {{{ExperienceSecondary}}}}}}}
{{!}} {{Currency|{{#var:BuyValue}}}}
{{!}} {{Currency|{{{MatCost}}}}}
{{!}} {{Currency|{{#expr:{{#var:BuyValue}} / 2}}
{{!}} {{Currency|{{#expr:{{{MatCost}}} / 2}}}}
{{!}} {{Currency|{{#var:SellValue}}}}
{{!}} {{Currency|{{#var:SellValue}}}}
{{!}} {{Currency|{{#expr:{{#var:BuyValue}} / 2 - {{#var:SellValue}}}}
{{!}} {{Currency|{{#expr:{{{MatCost}}} / 2 - {{#var:SellValue}}}}}}
{{!}} {{Currency|{{#expr:{{#var:SellValue}} - {{#var:BuyValue}} / 2}}
{{!}} {{Currency|{{#vardefineecho:TotalProfit|{{#expr:{{#var:SellValue}} * 2 - {{{MatCost}}}}}}}}}
{{!}} {{Currency|{{#expr:({{#var:SellValue}} - {{#var:BuyValue}} / 2) / {{{Experience}}} + ({{{ExperienceSecondary}}} / 0.5)}}
{{!}} {{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