Widget:YieldCalc: Difference between revisions

From Ara: History Untold Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
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= Y;
   document.getElementById('outputvalue').innerText= G;
   document.getElementById('outputvalueall').innerText= O;
   document.getElementById('outputvalueall').innerText= O;
}
}

Revision as of 02:18, 25 October 2024

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

Usage: ‎{{#Widget:YieldCalc}}