Widget:YieldCalc: Difference between revisions

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


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

Revision as of 01:30, 25 October 2024

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

Usage: ‎{{#Widget:YieldCalc}}