Difference between revisions of "Template:ShipBoxTooltip"

From EVE University Wiki
Jump to: navigation, search
m
m (bug fix : css was overriden by others)
Line 11: Line 11:
 
.tooltip-frame .inner-snippet
 
.tooltip-frame .inner-snippet
 
{
 
{
display: block;
+
display: none;
 
background-color: transparent;
 
background-color: transparent;
 
border: medium none;
 
border: medium none;
Line 44: Line 44:
 
font-family: trebuchet MS;
 
font-family: trebuchet MS;
 
font-size: 11px;
 
font-size: 11px;
height: 42px;
 
 
line-height: 20px;
 
line-height: 20px;
overflow: hidden;
 
 
padding: 2px;
 
padding: 2px;
 
width: 341px;
 
width: 341px;
Line 59: Line 57:
 
background-color: #1D1C23;
 
background-color: #1D1C23;
 
height: 20px;
 
height: 20px;
 +
padding: 0;
 
width: 100%;
 
width: 100%;
 
}
 
}
Line 85: Line 84:
 
z-index: 100;
 
z-index: 100;
 
}
 
}
}}<span class='tooltip-frame'>[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]<span style='color: #CCCCCC;font-size: 60%;height: 3px;line-height: 3px;'>&#9662;</span><span class='inner-snippet ship-info' style='width: 430px;'><span class='left' style='background-color: black; padding: 4px 0pt 4px 4px; width: 73px;'><span class='att-img'>[[Image:{{{shipimg|no-image.png}}}|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</span><span class='suppresslink'>&nbsp;</span></span><span class='right' style='margin-right: 4px; width: 347px;'><span style='background-color: black; float: left; padding: 4px; width: 100%;'><span class='l1'><span style='color: #F1EFCA;float: left;font-size: 18px;font-weight: bold;'>{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}<span style='display: {{#if:{{{shipname}}} | inline | none }}; font-size: 10px; line-height: 10px; padding-left: 3px;'>[[{{{shipname}}}|go to article &#9656;]]</span></span><span style='color: #CCCCCC;float: right;font-size: 11px;'>{{{roles|}}}</span></span><span class='l2'><span class='att-line' style='margin-bottom:2px;'><span class='att-item' style='border-right:medium none;'><span class='att-value'>{{#if:{{{highs}}}|{{{highs|0}}}|0}}</span><span class='att-img'>[[Image:icon_hi_slot.png|15px|middle|high slots]]</span><span class='att-label' style='color: #9A7535;'>high</span></span><span class='att-item' style='border-right:medium none;'><span class='att-value'>{{#if:{{{launchers}}}|{{{launchers|0}}}|0}}</span><span class='att-img'>[[Image:icon_launcher_hp.png|15px|middle|launcher slots]]</span><span class='att-label'>launchers</span></span><span class='att-item'><span class='att-value'>{{#if:{{{turrets}}}|{{{turrets|0}}}|0}}</span><span class='att-img'>[[Image:icon_turret_hp.png|15px|middle|turret slots]]</span><span class='att-label'>turrets</span></span><span class='att-item'><span class='att-value'>{{#if:{{{mediums}}}|{{{mediums|0}}}|0}}</span><span class='att-img'>[[Image:icon_mid_slot.png|15px|middle|middle slots]]</span><span class='att-label' style='color: #9A7535;'>mid</span></span><span class='att-item'> <span class='att-value'>{{#if:{{{lows}}}|{{{lows|0}}}|0}}</span><span class='att-img'>[[Image:icon_low_slot.png|15px|middle|low slots]]</span><span class='att-label' style='color: #9A7535;'>low</span></span></span><span class='att-line'><span class='att-item'><span class='att-value' style='width:40px'>{{#if:{{{dronebay}}}|{{{dronebay|0 m3}}}|0 m3}}</span><span class='att-img'>[[Image:icon_drone_capacity.png|15px|middle|drone capacity]]</span><span class='att-label'>drones</span></span><span class='att-item'><span class='att-value' style='width:70px'>{{#if:{{{bandwidth}}}|{{{bandwidth|0 Mbit/sec}}}|0 Mbit/sec}}</span><span class='att-img'>[[Image:icon_drone_bandwith.png|15px|middle|drone bandwith]]</span><span class='att-label'>b/w</span></span>
+
}}<span class='tooltip-frame'>[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]<span style='color: #CCCCCC;font-size: 60%;height: 3px;line-height: 3px;'>&#9662;</span><span class='inner-snippet ship-info' style='width: 440px;'><span class='left' style='background-color: black; padding: 4px 0pt 4px 4px; width: 73px;'><span class='att-img' style='margin:0;'>[[Image:{{{shipimg|no-image.png}}}|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</span><span class='suppresslink'>&nbsp;</span></span>
<span class='att-item' style='border-right:medium none;'><span class='att-value' style='width:40px'>{{#if:{{{cargohold}}}|{{{cargohold|0 m3}}}|0 m3}}</span><span class='att-img'>[[Image:Icon_capacity.png|15px|middle|cargo capacity]]</span><span class='att-label'>cargo</span></span></span></span></span></span></span></span><noinclude>[[Category:Template]]</noinclude>
+
<span class='right' style='margin-right: 4px; width: 347px; padding: 0pt;'>
 +
<span style='background-color: black; float: left; padding: 4px; width: 100%;'>
 +
<span class='l1'>
 +
<span style='color: #F1EFCA;float: left;font-size: 18px;font-weight: bold;'>{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}<span style='display: {{#if:{{{shipname}}} | inline | none }}; font-size: 10px; line-height: 10px; padding-left: 3px;'>[[{{{shipname}}}|go to article &#9656;]]</span></span>
 +
<span style='color: #CCCCCC;float: right;font-size: 11px;'>{{{roles|}}}</span>
 +
</span>
 +
<span class='l2'>
 +
<span class='att-line' style='margin-bottom:2px;'>
 +
<span class='att-item' style='border-right:medium none;'>
 +
<span class='att-value'>{{#if:{{{highs}}}|{{{highs|0}}}|0}}</span><span class='att-img' style='margin:0;'>[[Image:icon_hi_slot.png|15px|middle|high slots]]</span><span class='att-label' style='color: #9A7535;'>high</span>
 +
</span>
 +
<span class='att-item' style='border-right:medium none;'>
 +
<span class='att-value'>{{#if:{{{launchers}}}|{{{launchers|0}}}|0}}</span><span class='att-img' style='margin:0;'>[[Image:icon_launcher_hp.png|15px|middle|launcher slots]]</span><span class='att-label'>launchers</span>
 +
</span>
 +
<span class='att-item'>
 +
<span class='att-value'>{{#if:{{{turrets}}}|{{{turrets|0}}}|0}}</span><span class='att-img' style='margin:0;'>[[Image:icon_turret_hp.png|15px|middle|turret slots]]</span><span class='att-label'>turrets</span>
 +
</span>
 +
<span class='att-item'>
 +
<span class='att-value'>{{#if:{{{mediums}}}|{{{mediums|0}}}|0}}</span><span class='att-img' style='margin:0;'>[[Image:icon_mid_slot.png|15px|middle|middle slots]]</span><span class='att-label' style='color: #9A7535;'>mid</span>
 +
</span>
 +
<span class='att-item'>
 +
<span class='att-value'>{{#if:{{{lows}}}|{{{lows|0}}}|0}}</span><span class='att-img' style='margin:0;'>[[Image:icon_low_slot.png|15px|middle|low slots]]</span><span class='att-label' style='color: #9A7535;'>low</span>
 +
</span>
 +
</span>
 +
<span class='att-line'>
 +
<span class='att-item'>
 +
<span class='att-value' style='width:40px'>{{#if:{{{dronebay}}}|{{{dronebay|0 m3}}}|0 m3}}</span><span class='att-img' style='margin:0;'>[[Image:icon_drone_capacity.png|15px|middle|drone capacity]]</span><span class='att-label'>drones</span>
 +
</span>
 +
<span class='att-item'>
 +
<span class='att-value' style='width:70px'>{{#if:{{{bandwidth}}}|{{{bandwidth|0 Mbit/sec}}}|0 Mbit/sec}}</span><span class='att-img' style='margin:0;'>[[Image:icon_drone_bandwith.png|15px|middle|drone bandwith]]</span><span class='att-label'>b/w</span>
 +
</span>
 +
<span class='att-item' style='border-right:medium none;'>
 +
<span class='att-value' style='width:40px'>{{#if:{{{cargohold}}}|{{{cargohold|0 m3}}}|0 m3}}</span><span class='att-img' style='margin:0;'>[[Image:Icon_capacity.png|15px|middle|cargo capacity]]</span><span class='att-label'>cargo</span>
 +
</span>
 +
</span>
 +
</span>
 +
</span>
 +
</span>
 +
</span>
 +
</span>
 +
<noinclude>[[Category:Template]]</noinclude>

Revision as of 19:03, 3 October 2011

Under construction - Do not use!.

[[{{{shipname}}}|Unknown Ship]]{{{shipname}}}  Unknown Ship[[{{{shipname}}}|go to article ▸]] 0high slotshigh 0launcher slotslaunchers 0turret slotsturrets 0middle slotsmid 0low slotslow 0 m3drone capacitydrones 0 Mbit/secdrone bandwithb/w 0 m3cargo capacitycargo