Difference between revisions of "Template:StatBar"

From Holdfast: Nations At War
Jump to navigation Jump to search
m (Fix to vertical bar positions)
m
 
Line 20: Line 20:
 
<span style="z-index=3;position:relative;left:{{#expr:({{{width|200}}}/{{{sections}}})-3 }}px;top:0px;width:0px;height:{{{height|16}}}px;border-left:3px solid black;display:block;">
 
<span style="z-index=3;position:relative;left:{{#expr:({{{width|200}}}/{{{sections}}})-3 }}px;top:0px;width:0px;height:{{{height|16}}}px;border-left:3px solid black;display:block;">
 
<span style="z-index=3;position:relative;left:{{#expr:({{{width|200}}}/{{{sections}}})-3 }}px;top:0px;width:0px;height:{{{height|16}}}px;border-left:3px solid black;display:block;"></span></span></span></span>}}
 
<span style="z-index=3;position:relative;left:{{#expr:({{{width|200}}}/{{{sections}}})-3 }}px;top:0px;width:0px;height:{{{height|16}}}px;border-left:3px solid black;display:block;"></span></span></span></span>}}
</span>{{#expr:1*{{{width|200}}}/{{{sections}}} }}</includeonly>
+
</span></includeonly>

Latest revision as of 18:49, 21 August 2019

{{StatBar|max=100|value=70|bonus=12|width=200|sections=4|height=10}}

Example: Text following

Next Line