Difference between revisions of "Template:StatBar"

From SpiralKnights

Jump to: navigation, search
m
m
 
Line 4: Line 4:
 
<div style="width: {{{5|0}}}%; height: 10px; background-color: #114054; position: absolute; top: 2px; left: 0px;"></div>
 
<div style="width: {{{5|0}}}%; height: 10px; background-color: #114054; position: absolute; top: 2px; left: 0px;"></div>
 
}}
 
}}
<div style="width: {{{4|0}}}%; height: 10px; background-color: #{{#switch: {{{3}}} | - = ba2f70 | #default = 29d6ff}}; position: absolute; top: 2px; left: {{#if: {{{6|}}} | 50% | 0px}}; margin: 0px 0px 0px {{#if: {{{6|}}} | -{{{4}}}% | 0px}}"></div>
+
<div style="width: {{{4|100}}}%; height: 10px; background-color: #{{#switch: {{{3}}} | - = ba2f70 | #default = 29d6ff}}; position: absolute; top: 2px; left: {{#if: {{{6|}}} | 50% | 0px}}; margin: 0px 0px 0px {{#if: {{{6|}}} | -{{{4}}}% | 0px}}"></div>
 
</div>
 
</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 10%;">[[File:Divider.png]]</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 20%;">[[File:Divider.png]]</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 30%;">[[File:Divider.png]]</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 40%;">[[File:Divider.png]]</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 50%;">[[File:Divider.png]]</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 60%;">[[File:Divider.png]]</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 70%;">[[File:Divider.png]]</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 80%;">[[File:Divider.png]]</div>
 +
<div style="width: 3; height: 10px; position: absolute; top: 3px; left: 90%;">[[File:Divider.png]]</div>
 
<div style="width: 6px; height: 16px; position: absolute; top: 0px; left: 0px;">[[File:Bar_Left_End.png]]</div>
 
<div style="width: 6px; height: 16px; position: absolute; top: 0px; left: 0px;">[[File:Bar_Left_End.png]]</div>
 
<div style="width: 6px; height: 16px; position: absolute; top: 0px; right: 0px;">[[File:Bar_End.png]]</div>
 
<div style="width: 6px; height: 16px; position: absolute; top: 0px; right: 0px;">[[File:Bar_End.png]]</div>

Latest revision as of 23:45, 10 December 2010

Divider.png
Divider.png
Divider.png
Divider.png
Divider.png
Divider.png
Divider.png
Divider.png
Divider.png
Bar Left End.png
Bar End.png
Attack normal icon.png
0%


Use the following to display a stat bar.
{{StatBar | (Attack, Defense, Stats) | (normal, piercing, elemental, shadow, stun, poison, fire, freeze, shock, sleep, curse) | (-, +) | (Stat percent) | (Max stat percent) | (full?)}}
Personal tools