Widget:YieldCalc: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 6: | Line 6: | ||
<includeonly> | <includeonly> | ||
<form id="foodYieldForm" size="50> | <form id="foodYieldForm" size="50> | ||
<input type="number" id="cityProd"> | <input type="number" id="cityProd"><br /> | ||
<input type="number" id="regiYield"> | <input type="number" id="regiYield"><br /> | ||
<input type="number" id="farmCount"> | <input type="number" id="farmCount"><br /> | ||
<input type="number" id="percBonus"> | <input type="number" id="percBonus"><br /> | ||
<input type="submit" value="Calculate" onClick="yieldScript()"> | <input type="submit" value="Calculate" onClick="yieldScript()"> | ||
</form> | </form> |
Revision as of 00:59, 25 October 2024
This widget is used to display and calculate the yield with the values submitted by the user.
Usage: {{#Widget:YieldCalc}}