Difference between revisions of "Template:StatBar"

From SpiralKnights

Jump to: navigation, search
m
(Changed to use the icons D0gr0ck uploaded.)
Line 5: Line 5:
 
<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>
<div style="width: 50px; height: 16px; position: absolute; top: 0px; left: {{#if: {{{5|}}} | 50% | 0px}}; margin: 0px 0px 0px -8px;">[[File:{{{2|Nrm}}}_{{{1|Attack}}}_Icon.png]]</div>
+
<div style="width: 50px; height: 16px; position: absolute; top: 0px; left: {{#if: {{{5|}}} | 50% | 0px}}; margin: 0px 0px 0px -8px;">[[File:{{{1|Attack}}}_{{{2|normal}}}_icon.png|16px]]</div>
 
<div style="color: #ffffff; font-size: 10px; width: 50px; height: 16px; text-align: right; position: absolute; top: -1px; right: 0px; padding: 0px 10px 0px 0px;">{{{4|0}}}%</div>
 
<div style="color: #ffffff; font-size: 10px; width: 50px; height: 16px; text-align: right; position: absolute; top: -1px; right: 0px; padding: 0px 10px 0px 0px;">{{{4|0}}}%</div>
 
</div><noinclude>
 
</div><noinclude>
Line 14: Line 14:
 
|-
 
|-
 
| <pre>
 
| <pre>
{{StatBar | (Attack, Defense, Stats) | (Nml, Prc, Elm, Shd, Stn, Psn, Fir, Frz, Shk, Slp, Crs) | (-, +) | (Stat number value)}}
+
{{StatBar | (Attack, Defense, Stats) | (normal, piercing, elemental, shadow, stun, poison, fire, freeze, shock, sleep, curse) | (-, +) | (Stat number value)}}
 
</pre>
 
</pre>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 16:04, 10 December 2010

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 number value)}}
Personal tools