Difference between revisions of "Template:SIB Chart Row"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
Line 1: Line 1:
{|
<tr><td>{{{1}}}</td><td><div style="width:{{#expr:20+({{{2}}}*5)}}px; background-color:lavender; text-align:right; float:left;">{{{2}}}</div>{{#if: {{{3}}} |<div style="width:{{#expr:({{{3}}}-{{{2}}})*5}}px; background-color:steelblue; float:left;">&nbsp;</div><div style="background-color:lavender; text-align:left;">{{{3}}}</div>| <div style="width:1px; background-color:steelblue; float:left;">&nbsp;</div><div style="background-color:lavender; text-align:left;">?</div> }}</td><td>{{{4}}}</td></tr>
|
<div style="width:400px;">
<p style="border: 1px solid black; padding: 1px; overflow: hidden;">
  <span style="
    width: {{#expr: ({{{Damage Level Rec|}}}) / 50 * 100}}px;
    height: 6px;
    background:white;
    float:left;
    ">&nbsp;</span>
  <span style="
    width: {{#expr: (( {{{Damage Level Maxed|}}} - {{{Damage Level Rec|}}} ) /50 ) * 100}}px;
    height:6px;
    background:orange;
    float:left;
    ">&nbsp;</span>
</p>
</div>
|}

Revision as of 18:17, 27 February 2013

{{{1}}}<div style="width:Expression error: Unrecognized punctuation character "{".px; background-color:lavender; text-align:right; float:left;">{{{2}}}<div style="width:Expression error: Unrecognized punctuation character "{".px; background-color:steelblue; float:left;"> 

{{{3}}}

{{{4}}}