Widget:YieldCalc: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
Line 49: Line 49:
   let O = Z * C / 25; // Resulting food yield of that production of the entire region
   let O = Z * C / 25; // Resulting food yield of that production of the entire region


   document.getElementById('outputvalue').innerText= F;
   document.getElementById('outputvalue').innerText= G;
   document.getElementById('outputvalueall').innerText= O;
   document.getElementById('outputvalueall').innerText= O;
}
}

Revision as of 02:09, 25 October 2024

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

Usage: ‎{{#Widget:YieldCalc}}