Widget:YieldCalc: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
/* Yield Calculator */ | /* Yield Calculator */ | ||
let a = | let a = document.getElementById("cityProd"); /* City Production */ | ||
let b = 6; /* Yield(Apples) of the region */ | let b = 6; /* Yield(Apples) of the region */ | ||
let c = 3; /* Amount of Farms in the region */ | let c = 3; /* Amount of Farms in the region */ |
Revision as of 21:50, 24 October 2024
This widget is used to display and calculate the yield with the values submitted by the user.
Usage: {{#Widget:YieldCalc}}