Difference between revisions of "Template:ShipsMatrix"

From EVE University Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 +
<noinclude>{{Color box|color=#144f1d|border=#2f8f2f|Under construction - Do not use!.}}</noinclude>
 
{{#css:
 
{{#css:
.ships-matrix
+
.tooltip-frame{
 +
    position:relative;
 +
    z-index:24; background-color:transparent;
 +
    color:orange;
 +
    text-decoration:none}
 +
 
 +
.tooltip-frame:hover{z-index:25; color:white;}
 +
 
 +
.tooltip-frame .inner-snippet
 
{
 
{
+
display: none;
 +
background-color: transparent;
 +
border: medium none;
 +
position: absolute;
 
}
 
}
.ships-matrix table { width:100%; }
+
.tooltip-frame:hover .inner-snippet,.tooltip-frame.hover .inner-snippet { display: block; }
.ships-matrix table, .ships-matrix tr, .ships-matrix th, .ships-matrix td { margin:0;padding:0;text-align: left;font-weight: normal; }
+
.ships-matrix tr
+
.tooltip-frame .inner-snippet span
 
{
 
{
+
display: block;
 
}
 
}
.ships-matrix tr.firstprimary
+
 +
.tooltip-frame .inner-snippet .left, .tooltip-frame .inner-snippet .right
 
{
 
{
background-color: black;
+
float:left;
 
}
 
}
.ships-matrix .firstprimary th
+
.tooltip-frame .inner-snippet .l1
 
{
 
{
border-bottom: 1px solid #2D2413;
+
float: left;
border-top: 1px solid #2D2413;
 
color: #B89964;
 
 
font-family: trebuchet MS;
 
font-family: trebuchet MS;
font-size: 14px;
+
line-height: 22px;
font-variant: small-caps;
+
margin-bottom: 3px;
height: 20px;
+
width: 325px;
line-height: 20px;
 
text-align: center;
 
 
}
 
}
.ships-matrix tr.primary
+
.tooltip-frame .inner-snippet .l2
 
{
 
{
background-color: #564830;
+
border: 1px solid #525751;
 +
color: #CCCCCC;
 +
float: left;
 +
font-family: trebuchet MS;
 +
font-size: 11px;
 +
line-height: 20px;
 +
padding: 2px;
 +
width: 321px;
 
}
 
}
.ships-matrix .primary .collapseButton
+
.tooltip-frame .inner-snippet .l2 span
 
{
 
{
color: transparent;
+
float: left;
display: block;
+
font-weight: normal;
float: none;
 
padding: 0;
 
position: absolute;
 
width: 100%;
 
 
}
 
}
.ships-matrix .primary .collapseButton a
+
.tooltip-frame .inner-snippet .l2 .att-line
 
{
 
{
background-color: transparent;
+
background-color: #1D1C23;
color: transparent;
 
left: 0;
 
position: absolute;
 
 
width: 100%;
 
width: 100%;
z-index: 20;
 
}
 
.ships-matrix .primary .collapseButton a:hover,
 
.ships-matrix .primary .collapseButton a.hover
 
{
 
background-color:#614F31;
 
}
 
.ships-matrix tr.highlight
 
{
 
 
}
 
.ships-matrix tr.even
 
{
 
 
}
 
.ships-matrix tr.odd
 
{
 
 
 
}
 
}
.ships-matrix th
+
.tooltip-frame .inner-snippet .l2 .att-line .att-item
 
{
 
{
+
border-right: 2px solid black;
 +
margin-right: 2px;
 +
padding: 0 3px 0 2px;
 
}
 
}
 
 
.ships-matrix .firstcol{ width:16%; }
+
.tooltip-frame .inner-snippet .att-value
.ships-matrix .racialcol{ width:21%; }
+
{  
 +
color: white;
 +
padding: 0 2px 0 4px;
 +
text-align: right;
 +
}  
 +
.tooltip-frame .inner-snippet .att-label { color: darkgrey; }
 
 
.ships-matrix .groupheader
+
.tooltip-frame .suppresslink
 
{
 
{
+
height: 73px;
}
+
left: 4px;
.ships-matrix .groupheader .textlabel
+
position: absolute;
{
+
top: 4px;
display: inline-block;
+
width: 73px;
position: relative;
+
z-index: 100;
z-index: 25;
 
}
 
.ships-matrix .primary .firstcol, .ships-matrix .primary .racialcol
 
{
 
border-bottom: 1px solid black;
 
}
 
.ships-matrix .firstindent
 
{
 
 
}
 
.ships-matrix .secondindent
 
{
 
 
 
}
 
}
}}
+
}}<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: 410px;'><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>
<div class='ships-matrix'>
+
<span class='right' style='margin-right: 4px; width: 327px;'>
<table cellspacing='0' cellpadding='0'>
+
<span style='background-color: black; float: left; padding: 4px; width: 100%;'>
<tr class='firstprimary'>
+
<span class='l1'>
<th class='firstcol'><div style='width:100px;'>&nbsp;</div></th>
+
<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>
<th class='racialcol'>Amarr</th>
+
<span style='color: #CCCCCC;float: right;font-size: 11px;'>{{{roles|}}}</span>
<th class='racialcol'>Caldari</th>
+
</span>
<th class='racialcol'>Gallente</th>
+
<span class='l2'>
<th class='racialcol'>Minmatar</th>
+
<span class='att-line' style='margin-bottom:2px;'>
</tr>
+
<span class='att-item' style='border-right:medium none;'>
<tr>
+
<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>
<td colspan='5'>
+
</span>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<span class='att-item' style='border-right:medium none;'>
<tr class='primary'>
+
<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>
<th class='firstcol groupheader'><span class='textlabel'>Frigates</span></th>
+
</span>
<th class='racialcol'>{{Ship|Drake|tooltip}}{{Ship|Drake|tooltip}}</th>
+
<span class='att-item'>
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
+
<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>
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
+
</span>
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
+
<span class='att-item'>
</tr>
+
<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>
<tr class='highlight'>
+
</span>
<td class='groupheader firstindent'>Faction Frigates</td>
+
<span class='att-item'>
<td>{{Ship|Drake|tooltip}}{{Ship|Drake|tooltip}}{{Ship|Drake|tooltip}}</td>
+
<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>
<td>{{Ship|Drake|tooltip}}</td>
+
</span>
<td>{{Ship|Drake|tooltip}}</td>
+
</span>
<td>{{Ship|Drake|tooltip}}</td>
+
<span class='att-line'>
</tr>
+
<span class='att-item'>
<tr class='odd'>
+
<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>
<td class='groupheader secondindent'>Assault Ships</td>
+
</span>
<td>{{Ship|Drake|tooltip}}</td>
+
<span class='att-item'>
<td>{{Ship|Drake|tooltip}}</td>
+
<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>
<td>{{Ship|Drake|tooltip}}</td>
+
</span>
<td>{{Ship|Drake|tooltip}}</td>
+
<span class='att-item' style='border-right:medium none;'>
</tr>
+
<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>
<tr class='even'>
+
</span>
<td class='groupheader secondindent'>Covert Ops</td>
+
</span>
<td>{{Ship|Drake|tooltip}}</td>
+
</span>
<td>{{Ship|Drake|tooltip}}</td>
+
</span>
<td>{{Ship|Drake|tooltip}}</td>
+
</span>
<td>{{Ship|Drake|tooltip}}</td>
+
</span>
</tr>
+
</span>
</table>
+
<noinclude>[[Category:Template]]</noinclude>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Destroyers</span></th>
 
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
 
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
 
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
 
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
 
</tr>
 
<tr class='odd'>
 
<td class='groupheader secondindent'>Interdictors</td>
 
<td>{{Ship|Drake|tooltip}}</td>
 
<td>{{Ship|Drake|tooltip}}</td>
 
<td>{{Ship|Drake|tooltip}}</td>
 
<td>{{Ship|Drake|tooltip}}</td>
 
</tr>
 
</table>
 
</td>
 
</tr>
 
</table>
 
</div>
 

Revision as of 10:31, 22 September 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