Widget:YieldCalc: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
Line 42: Line 42:
   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= Y;
   document.getElementById('outputvalue').innerText= F;
   document.getElementById('outputvalueall').innerText= O;
   document.getElementById('outputvalueall').innerText= O;
}
}

Revision as of 01:51, 25 October 2024

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

Usage: ‎{{#Widget:YieldCalc}}