Widget:YieldCalc: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
Usage: <nowiki>{{#Widget:YieldCalc}}</nowiki> | Usage: <nowiki>{{#Widget:YieldCalc}}</nowiki> | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<form id="foodYieldForm"> | <form id="foodYieldForm"> | ||
<input type="number" id="cityProd"><br /> | <input type="number" id="cityProd"><br /> | ||
<input type="submit" value="Calculate" | <input type="submit" value="Calculate" onkeydown="yieldScript()"> | ||
</form> | </form> | ||
<span id="outputvalue">Output Goes Here</span> | <span id="outputvalue">Output Goes Here</span> | ||
Line 37: | Line 34: | ||
</script> | </script> | ||
</includeonly> | </includeonly> |
Revision as of 00:39, 25 October 2024
This widget is used to display and calculate the yield with the values submitted by the user.
Usage: {{#Widget:YieldCalc}}