Template:LHCharge: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<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; border-right: .1em solid goldenrod;"></div> | ||
<div style="position: absolute; top: 0; left: 0; width: 100%;">{{ | <div style="position: absolute; top: 0; left: 0; width: 100%;">{{{level|None}}}</div> | ||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
<noinclude>[[Category:Life Hacks/Templates|LHCharge]] [[Category: Templates|LHCharge]]</noinclude> | <noinclude>[[Category:Life Hacks/Templates|LHCharge]] [[Category: Templates|LHCharge]]</noinclude> |