Widget:YieldCalc: Difference between revisions

From Ara: History Untold Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 21: Line 21:
// Yield Calculator
// Yield Calculator
function yieldScript(){   
function yieldScript(){   
   let A = document.getElementById("cityProd").number; /* City Production */
   let A = document.getElementById("cityProd").value; /* City Production */
   let B = 4; /* Yield(Apples) of the region */
   let B = 4; /* Yield(Apples) of the region */
   let C = 4; /* Amount of Farms in the region */
   let C = 4; /* Amount of Farms in the region */

Revision as of 23:58, 24 October 2024

This widget is used to display and calculate the yield with the values submitted by the user.

Usage: ‎{{#Widget:YieldCalc}}