Widget:YieldCalc: Difference between revisions

From Ara: History Untold Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 17: Line 17:
<script type="text/javascript">
<script type="text/javascript">
/* Yield Calculator */
/* Yield Calculator */
let a = document.getElementsById('cityProd'); /* City Production */
let yieldCalc = document.getElementById("yieldCalc");
 
let a = 62; /* 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:29, 24 October 2024

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

Usage: ‎{{#Widget:YieldCalc}}