Difference between revisions of "Template:SpeciesStatBar"

From Cassette Beasts
(Created page with "<div style="background: #000; width: 200px; height: 20px"><div style="background: #3fbb9f; width: {{#expr: ({{{value|50}}}*200/{{{max_value|200}}})}}px; height: 20px"></div></...")
 
Line 1: Line 1:
<div style="background: #000; width: 200px; height: 20px"><div style="background: #3fbb9f; width: {{#expr: ({{{value|50}}}*200/{{{max_value|200}}})}}px; height: 20px"></div></div>
+
<div style="padding: 1em">
 +
<div style="background: #000; width: 400px; height: 30px"><div style="text-align: center; color: #fff; font-weight: bold; top: 0; position: relative; width: 100%; height: 100%; vertical-align: middle; float: left; font-size: 20px">{{{value|0}}}</div><div style="background: #3fbb9f; width: {{#expr: ({{{value|50}}}*400/{{{max_value|200}}})}}px; height: 100%"></div></div>
 +
</div>

Revision as of 18:57, 20 May 2022

0