Difference between revisions of "Template:LHCharge"

From All The Fallen Stories
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display: flex;">
<div style="display: flex;">
<div style="position: relative; flex: 1 1; height: 1.5em; background-color: white; border: .2em solid black; text-align: center; overflow: hidden;">
<div style="position: relative; flex: 1 1; height: 1.5em; background-color: white; border: .2em solid black; text-align: center; overflow: hidden;">
<div style="position: absolute; top: 0; left: 0; width: {{{charge|0}}}%; height: 1.5em; background-color: gold; border-right: .1em solid goldenrod;"></div>
<div style="position: absolute; top: 0; left: 0; width: {{{charge|0}}}%; height: 1.5em; background-color: gold;"></div>
<div style="position: absolute; top: 0; left: 0; width: 100%;">{{#switch: {{{charge|0}}}
<div style="position: absolute; top: 0; left: 0; width: 100%;">{{#switch: {{{charge|0}}}
  | 1  
  | 1  

Latest revision as of 00:49, 2 January 2017

None