Difference between revisions of "Template:StatBar"

From Holdfast: Nations At War
Jump to navigation Jump to search
(Initial version of StatBar template)
 
m
Line 3: Line 3:
 
{{StatBar|max=125|value=70|bonus=12|width=200|sections=5}}
 
{{StatBar|max=125|value=70|bonus=12|width=200|sections=5}}
 
</pre>
 
</pre>
{{StatBar|max=125|value=70|bonus=12|width=200|sections=5}}
+
{{StatBar|max=125|value=70|bonus=12|width=200|sections=5}} Text following
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
Line 19: Line 19:
 
<div style="z-index=3;position:absolute;left:{{#expr:3*{{{width}}}/{{{sections}}} }}px;top:0px;width:3px;height:16px;border-left:3px solid black;"></div>
 
<div style="z-index=3;position:absolute;left:{{#expr:3*{{{width}}}/{{{sections}}} }}px;top:0px;width:3px;height:16px;border-left:3px solid black;"></div>
 
<div style="z-index=3;position:absolute;left:{{#expr:4*{{{width}}}/{{{sections}}} }}px;top:0px;width:3px;height:16px;border-left:3px solid black;"></div>
 
<div style="z-index=3;position:absolute;left:{{#expr:4*{{{width}}}/{{{sections}}} }}px;top:0px;width:3px;height:16px;border-left:3px solid black;"></div>
}}
+
}}</div></includeonly>
 
 
 
 
 
 
</div>
 
</includeonly>
 

Revision as of 23:23, 20 August 2019

{{StatBar|max=125|value=70|bonus=12|width=200|sections=5}}


Text following