Widget:YieldCalc: Difference between revisions

From Ara: History Untold Wiki
Undo revision 2792 by Z0eff (talk)
Tag: Undo
No edit summary
Line 28: Line 28:
let y = 6;
let y = 6;


let z = Math.floor(a*b+b*5*h+5+(a+5*h)*(e/100)+(h-1)*5+a); /* Food yield for a single farm in the region */
document.writeln(Math.floor(a*b+b*5*h+5+(a+5*h)*(e/100)+(h-1)*5+a)); /* Food yield for a single farm in the region */
alert("z"); 
}
}


</script>
</script>
</includeonly>
</includeonly>

Revision as of 22:33, 24 October 2024

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

Usage: ‎{{#Widget:YieldCalc}}