Difference between revisions of "Template:ShipBoxLarge"

From EVE University Wiki
Jump to: navigation, search
Line 250: Line 250:
 
</div>
 
</div>
 
<div class='att-item' style='border-right:medium none;'>
 
<div class='att-item' style='border-right:medium none;'>
<div class='att-value'>{{{highs|0}}}</div><div class='att-img'>[[Image:icon_hi_slot.png|20px|middle|high slots]]</div><div class='att-label' style='color: #9A7535;'>highs</div>
+
<div class='att-value'>{{#if:{{{highs}}}|{{{highs}}}|0}}</div><div class='att-img'>[[Image:icon_hi_slot.png|20px|middle|high slots]]</div><div class='att-label' style='color: #9A7535;'>highs</div>
 
</div>
 
</div>
 
<div class='att-item' style='border-right:medium none;'>
 
<div class='att-item' style='border-right:medium none;'>
<div class='att-value'>{{{launchers|0}}}</div><div class='att-img'>[[Image:icon_launcher_hp.png|20px|middle|launcher slots]]</div><div class='att-label'>launchers</div>
+
<div class='att-value'>{{#if:{{{launchers}}}|{{{launchers}}}|0}}</div><div class='att-img'>[[Image:icon_launcher_hp.png|20px|middle|launcher slots]]</div><div class='att-label'>launchers</div>
 
</div>
 
</div>
 
<div class='att-item'>
 
<div class='att-item'>
<div class='att-value'>{{{turrets|0}}}</div><div class='att-img'>[[Image:icon_turret_hp.png|20px|middle|turret slots]]</div><div class='att-label'>turrets</div>
+
<div class='att-value'>{{#if:{{{turrets}}}|{{{turrets}}}|0}}</div><div class='att-img'>[[Image:icon_turret_hp.png|20px|middle|turret slots]]</div><div class='att-label'>turrets</div>
 
</div>
 
</div>
 
<div class='att-item'>
 
<div class='att-item'>
<div class='att-value'>{{{mediums|0}}}</div><div class='att-img'>[[Image:icon_mid_slot.png|20px|middle|middle slots]]</div><div class='att-label' style='color: #9A7535;'>mediums</div>
+
<div class='att-value'>{{#if:{{{mediums}}}|{{{mediums}}}|0}}</div><div class='att-img'>[[Image:icon_mid_slot.png|20px|middle|middle slots]]</div><div class='att-label' style='color: #9A7535;'>mediums</div>
 
</div>
 
</div>
 
<div class='att-item'>
 
<div class='att-item'>
<div class='att-value'>{{{lows|0}}}</div><div class='att-img'>[[Image:icon_low_slot.png|20px|middle|low slots]]</div><div class='att-label' style='color: #9A7535;'>lows</div>
+
<div class='att-value'>{{#if:{{{lows}}}|{{{lows}}}|0}}</div><div class='att-img'>[[Image:icon_low_slot.png|20px|middle|low slots]]</div><div class='att-label' style='color: #9A7535;'>lows</div>
 
</div>
 
</div>
 
</div>
 
</div>
Line 270: Line 270:
 
</div>
 
</div>
 
<div class='att-item'>
 
<div class='att-item'>
<div class='att-value' style='width:40px'>{{{dronebay}}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|middle|drone capacity]]</div><div class='att-label'>drones</div>
+
<div class='att-value' style='width:40px'>{{#if:{{{dronebay}}}|{{{dronebay}}}|0 m3}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|middle|drone capacity]]</div><div class='att-label'>drones</div>
 
</div>
 
</div>
 
<div class='att-item'>
 
<div class='att-item'>
<div class='att-value' style='width:60px'>{{{bandwidth}}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|middle|drone bandwith]]</div><div class='att-label'>b/w</div>
+
<div class='att-value' style='width:60px'>{{#if:{{{bandwidth}}}|{{{bandwidth}}}|0 Mbit/sec}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|middle|drone bandwith]]</div><div class='att-label'>b/w</div>
 
</div>
 
</div>
 
<div class='att-item' style='border-right:medium none;'>
 
<div class='att-item' style='border-right:medium none;'>
<div class='att-value' style='width:70px'>{{{cargohold}}}</div><div class='att-img'>[[Image:Icon_capacity.png|20px|middle|cargo capacity]]</div><div class='att-label'>cargo</div>
+
<div class='att-value' style='width:70px'>{{#if:{{{cargohold}}}|{{{cargohold}}}|0 m3}}</div><div class='att-img'>[[Image:Icon_capacity.png|20px|middle|cargo capacity]]</div><div class='att-label'>cargo</div>
 
</div>
 
</div>
 
</div>
 
</div>
Line 284: Line 284:
 
</div>
 
</div>
 
<div class='att-item' style='width: 87px; margin-left: 95px;'>
 
<div class='att-item' style='width: 87px; margin-left: 95px;'>
<div class='att-value' style='width:30px'>{{{shieldhp|0}}}</div><div class='att-img'>[[Image:icon_shield.png|20px|middle|shields]]</div><div class='att-label'>shields</div>
+
<div class='att-value' style='width:30px'>{{#if:{{{shieldhp}}}|{{{shieldhp}}}|0}}</div><div class='att-img'>[[Image:icon_shield.png|20px|middle|shields]]</div><div class='att-label'>shields</div>
 
</div>
 
</div>
 
<div class='att-item' style='border-right: medium none;'>
 
<div class='att-item' style='border-right: medium none;'>
 
<div class='att-img'>[[Image:icon_resist_em.png|20px|shield electromagnetic resistance]]</div>
 
<div class='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:{{{shieldem|0}}}/2}}round0}}px;'> <div class='value-text'>{{{shieldem|0}}}</div></div></div>
+
<div class='box-resist bgr-em'> <div class='resist-value val-em' style='width:{{#expr:{{#expr:{{#if:{{{shieldem}}}|{{{shieldem}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{shieldem}}}|{{{shieldem}}}|0}}</div></div></div>
 
</div>
 
</div>
 
<div class='att-img'>[[Image:icon_resist_therm.png|20px|shield thermal resistance]]</div>
 
<div class='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:{{{shieldtherm|0}}}/2}}round0}}px;'> <div class='value-text'>{{{shieldtherm|0}}}</div></div></div>
+
<div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width:{{#expr:{{#expr:{{#if:{{{shieldtherm}}}|{{{shieldtherm}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{shieldtherm}}}|{{{shieldtherm}}}|0}}</div></div></div>
 
</div>
 
</div>
 
<div class='att-img'>[[Image:icon_resist_kin.png|20px|shield kinetic resistance]]</div>
 
<div class='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:{{{shieldkin|0}}}/2}}round0}}px;'> <div class='value-text'>{{{shieldkin|0}}}</div></div></div>
+
<div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width:{{#expr:{{#expr:{{#if:{{{shieldkin}}}|{{{shieldkin}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{shieldkin}}}|{{{shieldkin}}}|0}}</div></div></div>
 
</div>
 
</div>
 
<div class='att-img'>[[Image:icon_resist_exp.png|20px|shield explosive resistance]]</div>
 
<div class='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:{{{shieldexp|0}}}/2}}round0}}px;'> <div class='value-text'>{{{shieldexp|0}}}</div></div></div>
+
<div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width:{{#expr:{{#expr:{{#if:{{{shieldexp}}}|{{{shieldexp}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{shieldexp}}}|{{{shieldexp}}}|0}}</div></div></div>
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 10:44, 7 September 2011

{{{class}}}: INFORMATION
{{{roles}}}
{{{shipname}}}
{{{shipname}}}
S H I P   B O N U S E S

no bonuses available for this ship

{{{info}}}

Variations : none