To get rid of this ad please Sign up/Login.
Difference between revisions of "Template:Weapon"
m |
m |
||
Line 66: | Line 66: | ||
<p style="border: 1px solid black; padding: 1px; overflow: hidden;"> | <p style="border: 1px solid black; padding: 1px; overflow: hidden;"> | ||
<span style=" | <span style=" | ||
width: {{#expr: ({{{Damage Level Rec}}}) / 50 * 100}}px; | width: {{#expr: ({{{Damage Level Rec|}}}) / 50 * 100}}px; | ||
height: 6px; | height: 6px; | ||
background:#ffffff; | background:#ffffff; | ||
Line 72: | Line 72: | ||
"> </span> | "> </span> | ||
<span style=" | <span style=" | ||
{{#if: {{{Damage Level Maxed}}} | width: {{#expr: (( {{{Damage Level Maxed}}} + {{{Damage Level Rec}}} ) /50 ) * 100}}px; | width:{{#expr: ({{{Damage Level Rec}}}/50)*100}}px; }} | {{#if: {{{Damage Level Maxed|}}} | width: {{#expr: (( {{{Damage Level Maxed|}}} + {{{Damage Level Rec|}}} ) /50 ) * 100}}px; | width:{{#expr: ({{{Damage Level Rec}}}/50)*100}}px; }} | ||
height:6px; | height:6px; | ||
background:#ff7f50; | background:#ff7f50; | ||
float:left; | float:left; | ||
"> Test: | "> Test:</span> | ||
</p> | </p> | ||
</div> | </div> |