Difference between revisions of "User:Evon R'al/Sandbox template"
From EVE University Wiki
m (Coding and testing.) |
m (Coding and testing.) |
||
Line 802: | Line 802: | ||
| 0 | | 0 | ||
}}/2 | }}/2 | ||
− | }} | + | }}round 0 |
}}px;'> <div class='value-text'>{{#if: {{{shieldem}}} | }}px;'> <div class='value-text'>{{#if: {{{shieldem}}} | ||
| {{{shieldem|0}}} | | {{{shieldem|0}}} | ||
Line 813: | Line 813: | ||
<div class='item att-img'>[[Image:icon_resist_therm.png|20px|shield thermal resistance]]</div> | <div class='item att-img'>[[Image:icon_resist_therm.png|20px|shield thermal resistance]]</div> | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
− | <div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width:{{#expr:{{#expr:{{#if:{{{shieldtherm}}}|{{{shieldtherm|0}}}|0}}/2}} | + | <div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width: {{#expr: |
+ | {{#expr: | ||
+ | {{#if: {{{shieldtherm}}} | ||
+ | | {{{shieldtherm|0}}} | ||
+ | | 0 | ||
+ | }}/2 | ||
+ | }} round 0 | ||
+ | }}px;'> <div class='value-text'>{{#if: {{{shieldtherm}}} | ||
+ | | {{{shieldtherm|0}}} | ||
+ | | 0 | ||
+ | }}</div></div></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 820: | Line 830: | ||
<div class='item att-img'>[[Image:icon_resist_kin.png|20px|shield kinetic resistance]]</div> | <div class='item att-img'>[[Image:icon_resist_kin.png|20px|shield kinetic resistance]]</div> | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
− | <div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width:{{#expr:{{#expr:{{#if:{{{shieldkin}}}|{{{shieldkin|0}}}|0}}/2}} | + | <div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width: {{#expr: |
+ | {{#expr: | ||
+ | {{#if: {{{shieldkin}}} | ||
+ | | {{{shieldkin|0}}} | ||
+ | | 0 | ||
+ | }}/2 | ||
+ | }} round 0 | ||
+ | }}px;'> <div class='value-text'>{{#if: {{{shieldkin}}} | ||
+ | | {{{shieldkin|0}}} | ||
+ | | 0 | ||
+ | }}</div></div></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 827: | Line 847: | ||
<div class='item att-img'>[[Image:icon_resist_exp.png|20px|shield explosive resistance]]</div> | <div class='item att-img'>[[Image:icon_resist_exp.png|20px|shield explosive resistance]]</div> | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
− | <div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width:{{#expr:{{#expr:{{#if:{{{shieldexp}}}|{{{shieldexp|0}}}|0}}/2}} | + | <div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width: {{#expr: |
+ | {{#expr: | ||
+ | {{#if: {{{shieldexp}}} | ||
+ | | {{{shieldexp|0}}} | ||
+ | | 0 | ||
+ | }}/2 | ||
+ | }} round 0 | ||
+ | }}px;'> <div class='value-text'>{{#if: {{{shieldexp}}} | ||
+ | | {{{shieldexp|0}}} | ||
+ | | 0 | ||
+ | }}</div></div></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 850: | Line 880: | ||
<div class='item att-img'>[[Image:icon_resist_em.png|20px|shield electromagnetic resistance]]</div> | <div class='item att-img'>[[Image:icon_resist_em.png|20px|shield electromagnetic resistance]]</div> | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
− | <div class='box-resist bgr-em'> <div class='resist-value val-em' style='width:{{#expr:{{#expr:{{#if:{{{armorem}}}|{{{armorem|0}}}|0}}/2}} | + | <div class='box-resist bgr-em'> <div class='resist-value val-em' style='width: {{#expr: |
+ | {{#expr: | ||
+ | {{#if: {{{armorem}}} | ||
+ | | {{{armorem|0}}} | ||
+ | | 0 | ||
+ | }}/2 | ||
+ | }} round 0 | ||
+ | }}px;'> <div class='value-text'>{{#if: {{{armorem}}} | ||
+ | | {{{armorem|0}}} | ||
+ | | 0 | ||
+ | }}</div></div></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 857: | Line 897: | ||
<div class='item att-img'>[[Image:icon_resist_therm.png|20px|armor thermal resistance]]</div> | <div class='item att-img'>[[Image:icon_resist_therm.png|20px|armor thermal resistance]]</div> | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
− | <div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width:{{#expr:{{#expr:{{#if:{{{armortherm}}}|{{{armortherm|0}}}|0}}/2}} | + | <div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width: {{#expr: |
+ | {{#expr: | ||
+ | {{#if: {{{armortherm}}} | ||
+ | | {{{armortherm|0}}} | ||
+ | | 0 | ||
+ | }}/2 | ||
+ | }} round 0}}px;'> <div class='value-text'>{{#if: {{{armortherm}}} | ||
+ | | {{{armortherm|0}}} | ||
+ | | 0 | ||
+ | }}</div></div></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 864: | Line 913: | ||
<div class='item att-img'>[[Image:icon_resist_kin.png|20px|armor kinetic resistance]]</div> | <div class='item att-img'>[[Image:icon_resist_kin.png|20px|armor kinetic resistance]]</div> | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
− | <div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width:{{#expr:{{#expr:{{#if:{{{armorkin}}}|{{{armorkin|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{armorkin}}}|{{{armorkin|0}}}|0}}</div></div></div> | + | <div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width: {{#expr: |
+ | {{#expr: | ||
+ | {{#if: {{{armorkin}}} | ||
+ | | {{{armorkin|0}}} | ||
+ | | 0 | ||
+ | }}/2 | ||
+ | }}round0}}px;'> <div class='value-text'>{{#if: {{{armorkin}}} | ||
+ | | {{{armorkin|0}}} | ||
+ | | 0 | ||
+ | }}</div></div></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 871: | Line 929: | ||
<div class='item att-img'>[[Image:icon_resist_exp.png|20px|armor explosive resistance]]</div> | <div class='item att-img'>[[Image:icon_resist_exp.png|20px|armor explosive resistance]]</div> | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
− | <div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width:{{#expr:{{#expr:{{#if:{{{armorexp}}}|{{{armorexp|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{armorexp}}}|{{{armorexp|0}}}|0}}</div></div></div> | + | <div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width: {{#expr: |
+ | {{#expr: | ||
+ | {{#if: {{{armorexp}}} | ||
+ | | {{{armorexp|0}}} | ||
+ | | 0 | ||
+ | }}/2 | ||
+ | }}round0}}px;'> <div class='value-text'>{{#if: {{{armorexp}}} | ||
+ | | {{{armorexp|0}}} | ||
+ | | 0 | ||
+ | }}</div></div></div> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 19:13, 30 November 2022
Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)