Difference between revisions of "Widget:AdventurerPageStatsCalculator"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
m (Elaeagnifolia moved page Widget:AdventurerPageLevelCalculator to Widget:AdventurerPageStatsCalculator without leaving a redirect)
imported>Elaeagnifolia
Line 1: Line 1:
 
<div id="adv-level-input-container" style="display:inline-block; text-align:center;">
 
<div id="adv-level-input-container" style="display:inline-block; text-align:center;">
 
   <form id="adv-rarity-select" style="display:inline;">
 
   <form id="adv-rarity-select" style="display:inline;">
     <input type="radio" id="adv-rarity-input-3" value="3"><label for="adv-rarity-input-3">3★</label>
+
     <input type="radio" id="adv-rarity-input-3" value=3 name="rarity" oninput="calcStats()"><label for="adv-rarity-input-3">3★</label>
     <input type="radio" id="adv-rarity-input-4" value="4"><label for="adv-rarity-input-4">4★</label>
+
     <input type="radio" id="adv-rarity-input-4" value=4 name="rarity" oninput="calcStats()"><label for="adv-rarity-input-4">4★</label>
     <input type="radio" id="adv-rarity-input-5" value="5"><label for="adv-rarity-input-5">5★</label>
+
     <input type="radio" id="adv-rarity-input-5" value=5 name="rarity" checked=1 oninput="calcStats()"><label for="adv-rarity-input-5">5★</label>
 
   </form>
 
   </form>
 
   <div id="adv-level-input" style="display:inline-block; margin-left:1.5em;">
 
   <div id="adv-level-input" style="display:inline-block; margin-left:1.5em;">
 
     <label for="adv-level-input-field" style="font-weight:bold;">Level</label>
 
     <label for="adv-level-input-field" style="font-weight:bold;">Level</label>
     <input type="text" id="adv-level-input-field" value="80" style="width:40px; text-align:center; margin-left:5px;">
+
     <input type="number" id="adv-level-input-field" value=80 min=1 max=80 style="width:40px; text-align:center; margin-left:5px;" oninput="calcStats()">
 
   </div>
 
   </div>
 
   <div id="adv-stat-output-container" style="text-align:center; margin-top:4px;">
 
   <div id="adv-stat-output-container" style="text-align:center; margin-top:4px;">
 
     <div id="adv-stat-output" style="border: 1px solid gray; padding:4px;">
 
     <div id="adv-stat-output" style="border: 1px solid gray; padding:4px;">
       <div style="display:inline"><b>HP</b>: <div id="adv-hp" style="display:inline;">55</div></div>
+
       <div style="display:inline"><b>HP</b>: <div id="adv-hp" style="display:inline;"></div></div>
       <div style="display:inline; margin-left: 2em;"><b>Str</b>: <div id="adv-hp" style="display:inline;">128</div></div>
+
       <div style="display:inline; margin-left: 2em;"><b>Str</b>: <div id="adv-str" style="display:inline;"></div></div>
 
     </div>
 
     </div>
 
   </div>
 
   </div>
 
</div>
 
</div>

Revision as of 15:30, 16 October 2018

 <form id="adv-rarity-select" style="display:inline;">
   <input type="radio" id="adv-rarity-input-3" value=3 name="rarity" oninput="calcStats()"><label for="adv-rarity-input-3">3★</label>
   <input type="radio" id="adv-rarity-input-4" value=4 name="rarity" oninput="calcStats()"><label for="adv-rarity-input-4">4★</label>
   <input type="radio" id="adv-rarity-input-5" value=5 name="rarity" checked=1 oninput="calcStats()"><label for="adv-rarity-input-5">5★</label>
 </form>
   <label for="adv-level-input-field" style="font-weight:bold;">Level</label>
   <input type="number" id="adv-level-input-field" value=80 min=1 max=80 style="width:40px; text-align:center; margin-left:5px;" oninput="calcStats()">
HP:
Str: