Difference between revisions of "User:Evon R'al/Sandbox template"
From EVE University Wiki
m (Coding and testing.) |
m (Coding and testing.) |
||
Line 784: | Line 784: | ||
<tr><td class='separator'></td></tr> | <tr><td class='separator'></td></tr> | ||
− | <!--** Ship attributes - | + | <!--** Ship attributes - Armor **--> |
<tr class='token'> | <tr class='token'> | ||
− | <td class='line-label'><span class='label'> | + | <td class='line-label'><span class='label'>Armor</span></td> |
− | <td class='att-line'> | + | <td class='att-line' <!--style='border-bottom: medium none;'-->> |
<!--*** hitpoints ***--> | <!--*** hitpoints ***--> | ||
<div class='att-item'> | <div class='att-item'> | ||
− | <div class='item att-label'> | + | <div class='item att-label'>Armor Hitpoints</div><div class='item att-img'>[[Image:icon_armor.png|20px|middle|armor]]</div><div class='item att-value'>{{{armorhp|0 HP}}}</div> |
<!--*** resistances ***--> | <!--*** resistances ***--> | ||
− | <div class='item att-label' style='margin-left: 5px;'> | + | <div class='item att-label' style='margin-left: 5px;'>Armor Resistances</div> |
<div class='item'> | <div class='item'> | ||
Line 801: | Line 801: | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
<div class='box-resist bgr-em'> | <div class='box-resist bgr-em'> | ||
− | <div class='resist-value val-em' style='width: {{#expr: | + | <div class='resist-value val-em' style='width: {{#expr: |
− | {{#expr: | + | {{#expr: |
− | {{#if: {{{ | + | {{#if: {{{armorem}}} |
− | | {{{ | + | | {{{armorem|0}}} |
| 0 | | 0 | ||
}}/2 | }}/2 | ||
}} round 0 | }} round 0 | ||
}}px;'> | }}px;'> | ||
− | <div class='value-text'>{{#if: {{{ | + | <div class='value-text'>{{#if: {{{armorem}}} |
− | | {{{ | + | | {{{armorem|0}}} |
| 0 | | 0 | ||
}} | }} | ||
</div> | </div> | ||
+ | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
− | |||
− | + | <div class='item'> | |
− | + | <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>THR</div> | |
− | + | <div class='item att-img'>[[Image:icon_resist_therm.png|20px|armor thermal resistance]]</div> | |
− | + | <div style='display: inline-block;'> | |
− | + | <div class='box-resist bgr-thr'> | |
− | + | <div class='resist-value val-thr' style='width: {{#expr: | |
{{#expr: | {{#expr: | ||
− | {{#if: {{{ | + | {{#if: {{{armortherm}}} |
− | | {{{ | + | | {{{armortherm|0}}} |
| 0 | | 0 | ||
}}/2 | }}/2 | ||
− | }} round 0 | + | }} round 0}}px;'> |
− | + | <div class='value-text'>{{#if: {{{armortherm}}} | |
− | + | | {{{armortherm|0}}} | |
− | + | | 0 | |
− | + | }} | |
− | |||
</div> | </div> | ||
</div> | </div> | ||
Line 844: | Line 843: | ||
<div class='item'> | <div class='item'> | ||
<div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div> | <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div> | ||
− | <div class='item att-img'>[[Image:icon_resist_kin.png|20px| | + | <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='box-resist bgr-kin'> | ||
− | <div class='resist-value val-kin' style='width: {{#expr: | + | <div class='resist-value val-kin' style='width: {{#expr: |
{{#expr: | {{#expr: | ||
− | {{#if: {{{ | + | {{#if: {{{armorkin}}} |
− | | {{{ | + | | {{{armorkin|0}}} |
| 0 | | 0 | ||
}}/2 | }}/2 | ||
− | }} | + | }}round0}}px;'> |
− | + | <div class='value-text'>{{#if: {{{armorkin}}} | |
− | <div class='value-text'>{{#if: {{{ | + | | {{{armorkin|0}}} |
− | | {{{ | ||
| 0 | | 0 | ||
}} | }} | ||
Line 865: | Line 863: | ||
</div> | </div> | ||
− | <div class='item' | + | <div class='item'> |
<div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div> | <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div> | ||
− | <div class='item att-img'>[[Image:icon_resist_exp.png|20px| | + | <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='box-resist bgr-exp'> | ||
− | <div class='resist-value val-exp' style='width: {{#expr: | + | <div class='resist-value val-exp' style='width: {{#expr: |
{{#expr: | {{#expr: | ||
− | {{#if: {{{ | + | {{#if: {{{armorexp}}} |
− | | {{{ | + | | {{{armorexp|0}}} |
| 0 | | 0 | ||
}}/2 | }}/2 | ||
− | }} | + | }}round0}}px;'> |
− | + | <div class='value-text'>{{#if: {{{armorexp}}} | |
− | <div class='value-text'>{{#if: {{{ | + | | {{{armorexp|0}}} |
− | | {{{ | ||
| 0 | | 0 | ||
}} | }} | ||
Line 893: | Line 890: | ||
<tr><td class='separator'></td></tr> | <tr><td class='separator'></td></tr> | ||
− | <!--** Ship attributes - | + | <!--** Ship attributes - Shield **--> |
<tr class='token'> | <tr class='token'> | ||
− | <td class='line-label'><span class='label'> | + | <td class='line-label'><span class='label'>Shields</span></td> |
− | <td class='att-line' | + | <td class='att-line'> |
<!--*** hitpoints ***--> | <!--*** hitpoints ***--> | ||
<div class='att-item'> | <div class='att-item'> | ||
− | <div class='item att-label'> | + | <div class='item att-label'>Shield Capacity</div><div class='item att-img'>[[Image:icon_shield.png|20px|middle|shields]]</div><div class='item att-value'>{{{shieldhp|0 HP}}}</div> |
<!--*** resistances ***--> | <!--*** resistances ***--> | ||
− | <div class='item att-label' style='margin-left: 5px;'> | + | <div class='item att-label' style='margin-left: 5px;'>Shield Resistances</div> |
<div class='item'> | <div class='item'> | ||
Line 910: | Line 907: | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
<div class='box-resist bgr-em'> | <div class='box-resist bgr-em'> | ||
− | <div class='resist-value val-em' style='width: {{#expr: | + | <div class='resist-value val-em' style='width: {{#expr: |
− | {{#expr: | + | {{#expr: |
− | {{#if: {{{ | + | {{#if: {{{shieldem}}} |
− | | {{{ | + | | {{{shieldem|0}}} |
| 0 | | 0 | ||
}}/2 | }}/2 | ||
}} round 0 | }} round 0 | ||
}}px;'> | }}px;'> | ||
− | <div class='value-text'>{{#if: {{{ | + | <div class='value-text'>{{#if: {{{shieldem}}} |
− | | {{{ | + | | {{{shieldem|0}}} |
| 0 | | 0 | ||
}} | }} | ||
</div> | </div> | ||
− | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
+ | </div> | ||
− | + | <div class='item'> | |
− | + | <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>THR</div> | |
− | + | <div class='item att-img'>[[Image:icon_resist_therm.png|20px|shield thermal resistance]]</div> | |
− | + | <div style='display: inline-block;'> | |
− | + | <div class='box-resist bgr-thr'> | |
− | + | <div class='resist-value val-thr' style='width: {{#expr: | |
{{#expr: | {{#expr: | ||
− | {{#if: {{{ | + | {{#if: {{{shieldtherm}}} |
− | | {{{ | + | | {{{shieldtherm|0}}} |
| 0 | | 0 | ||
}}/2 | }}/2 | ||
− | }} round 0}}px;'> | + | }} round 0 |
− | + | }}px;'> | |
− | + | <div class='value-text'>{{#if: {{{shieldtherm}}} | |
− | + | | {{{shieldtherm|0}}} | |
− | + | | 0 | |
+ | }} | ||
</div> | </div> | ||
</div> | </div> | ||
Line 952: | Line 950: | ||
<div class='item'> | <div class='item'> | ||
<div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div> | <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div> | ||
− | <div class='item att-img'>[[Image:icon_resist_kin.png|20px| | + | <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='box-resist bgr-kin'> | ||
− | <div class='resist-value val-kin' style='width: {{#expr: | + | <div class='resist-value val-kin' style='width: {{#expr: |
{{#expr: | {{#expr: | ||
− | {{#if: {{{ | + | {{#if: {{{shieldkin}}} |
− | | {{{ | + | | {{{shieldkin|0}}} |
| 0 | | 0 | ||
}}/2 | }}/2 | ||
− | }} | + | }} round 0 |
− | <div class='value-text'>{{#if: {{{ | + | }}px;'> |
− | | {{{ | + | <div class='value-text'>{{#if: {{{shieldkin}}} |
+ | | {{{shieldkin|0}}} | ||
| 0 | | 0 | ||
}} | }} | ||
Line 972: | Line 971: | ||
</div> | </div> | ||
− | <div class='item'> | + | <div class='item'><!-- open div 2 --> |
<div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div> | <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div> | ||
− | <div class='item att-img'>[[Image:icon_resist_exp.png|20px| | + | <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='box-resist bgr-exp'> | ||
− | <div class='resist-value val-exp' style='width: {{#expr: | + | <div class='resist-value val-exp' style='width: {{#expr: |
{{#expr: | {{#expr: | ||
− | {{#if: {{{ | + | {{#if: {{{shieldexp}}} |
− | | {{{ | + | | {{{shieldexp|0}}} |
| 0 | | 0 | ||
}}/2 | }}/2 | ||
− | }} | + | }} round 0 |
− | <div class='value-text'>{{#if: {{{ | + | }}px;'> |
− | | {{{ | + | <div class='value-text'>{{#if: {{{shieldexp}}} |
+ | | {{{shieldexp|0}}} | ||
| 0 | | 0 | ||
}} | }} |
Revision as of 12:41, 3 December 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?)