User:Celestial/TemplateSandbox: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 5:
{{!}} {{{Level}}}
{{!}} {{Plinkt|{{{Product}}}}}
{{!}} {{Plinkt|[[{{{Material}}}}}]]
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{Experience}}}
{{!}} {{{ExperienceSecondary}}}
{{!}} {{#vardefineecho:TotalExperience|{{#expr:{{{Experience}}} + {{{ExperienceSecondary}}}}}}}
{{!}} {{Currency|{{#var:BuyValue{MatCost}}}}}
{{!}} {{Currency|{{#expr:{{#var:BuyValue{MatCost}}} / 2}}}}
{{!}} {{Currency|{{#var:SellValue}}}}
{{!}} {{Currency|{{#expr:{{#var:BuyValue{MatCost}}} / 2 - {{#var:SellValue}}}}}}
{{!}} {{Currency|{{#vardefineecho:TotalProfit|{{#expr:{{#var:SellValue}} * 2 - {{#var:BuyValue{MatCost}}}}}}} / 2}}
{{!}} {{Currency|{{Round|{{#expr:({{#var:SellValueTotalProfit}} -/ {{#var:BuyValueTotalExperience}} / 2) / {{{Experience}}|2} + ({{{ExperienceSecondary}}} / 0.5)}}
<noinclude>
<templatedata>
Line 24:
"type": "number"
},
"ItemProduct": {
"description": "Name of the recipe item",
"type": "string"
},
"CategoryMaterial": {
"description": "VariantMaterial ofneeded theto foodmake item",
"aliases": [
"Variant"
],
"description": "Variant of the food item",
"type": "string"
},
"CostMatCost": {
"description": "Cost of producing the recipematerial when bought from store",
"type": "number"
]},
"ExperienceFirstTime": {
"description": "Experience gained per item for the first time",
"type": "number"
},
"Experience": {
"aliases": [
"XP"
],
"description": "Experience gained per item",
"type": "number"
},
"ExperienceFirstTimeExperienceSecondary": {
"description": "Experience gained per item for theon firstsecondary timeprocessing",
"type": "number"
},
"Ingredients": {},
"ExperiencePerHour": {},
"ProfitPerHour": {}
}
}
31

edits