Widget:YieldCalc: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
Line 7: Line 7:
<style>
<style>
input[type='number']{
input[type='number']{
     width: 40px;
     width: 63px;
}  
}  
#foodYieldForm {
    width: 300px;
}
</style>
</style>
<form id="foodYieldForm">
<form id="foodYieldForm">
Line 14: Line 17:
   <input type="number" id="regionYield"><br />
   <input type="number" id="regionYield"><br />
   <input type="number" id="farmCount"><br />
   <input type="number" id="farmCount"><br />
   <input type="number" id="percBonus"><br />
   <input type="number" id="percBonus"><br /><br />
   <input type="submit" value="Calculate" onClick="yieldScript()">   
   <input type="submit" value="Calculate" onClick="yieldScript()">   
</form>
</form>

Revision as of 01:12, 25 October 2024

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

Usage: ‎{{#Widget:YieldCalc}}