Difference between revisions of "Template:ShipsMatrix"

From EVE University Wiki
Jump to: navigation, search
(main ship list footer template (as requested by Cervator))
 
m (testing new collapsible headers)
Line 1: Line 1:
 
{{#css:
 
{{#css:
 
.ships-matrix
 
.ships-matrix
 +
{
 +
 +
}
 +
.ships-matrix table { width:100%; }
 +
.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
 +
{
 +
 +
}
 +
.ships-matrix tr.firstprimary
 +
{
 +
background-color: black;
 +
}
 +
.ships-matrix .firstprimary th
 +
{
 +
border-bottom: 1px solid #2D2413;
 +
border-top: 1px solid #2D2413;
 +
color: #B89964;
 +
font-family: trebuchet MS;
 +
font-size: 14px;
 +
font-variant: small-caps;
 +
height: 20px;
 +
line-height: 20px;
 +
text-align: center;
 +
}
 +
.ships-matrix tr.primary
 +
{
 +
background-color: #564830;
 +
}
 +
.ships-matrix .primary .collapseButton
 +
{
 +
color: transparent;
 +
display: block;
 +
float: none;
 +
padding: 0;
 +
position: absolute;
 +
width: 100%;
 +
}
 +
.ships-matrix .primary .collapseButton a
 +
{
 +
background-color: transparent;
 +
color: transparent;
 +
left: 0;
 +
position: absolute;
 +
width: 100%;
 +
z-index: 20;
 +
}
 +
.ships-matrix .primary .collapseButton a:hover,
 +
.ships-matrix .primary .collapseButton a.hover
 +
{
 +
 +
}
 +
.ships-matrix tr.highlight
 +
{
 +
 +
}
 +
.ships-matrix tr.even
 +
{
 +
 +
}
 +
.ships-matrix tr.odd
 +
{
 +
 +
}
 +
.ships-matrix th
 
{
 
{
 
 
 
}
 
}
 
 
 +
.ships-matrix .firstcol{ width:16%; }
 +
.ships-matrix .racialcol{ width:21%; }
 +
 +
.ships-matrix .groupheader
 +
{
 +
 +
}
 +
.ships-matrix .primary .firstcol, .ships-matrix .primary .racialcol
 +
{
 +
border-bottom: 1px solid black;
 +
position: relative;
 +
}
 +
.ships-matrix .firstindent
 +
{
 +
 +
}
 +
.ships-matrix .secondindent
 +
{
 +
 +
}
 
}}
 
}}
 
<div class='ships-matrix'>
 
<div class='ships-matrix'>
<table border='1' cellspacing='0' cellpadding='0'>
+
<table cellspacing='0' cellpadding='0'>
<tr>
+
<tr class='firstprimary'>
<th><div style='width:100px;'>&nbsp;</div></th><th>Amarr</th><th>Caldari</th><th>Gallente</th><th>Minmatar</th>
+
<th class='firstcol'><div style='width:100px;'>&nbsp;</div></th>
 +
<th class='racialcol'>Amarr</th>
 +
<th class='racialcol'>Caldari</th>
 +
<th class='racialcol'>Gallente</th>
 +
<th class='racialcol'>Minmatar</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td colspan='5'>
 
<td colspan='5'>
 
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
 
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
<th>Frigates</th>
+
<tr class='primary'>
<th>{{Ship|Drake|tooltip}}</th>
+
<th class='firstcol groupheader'>Frigates</th>
<th>{{Ship|Drake|tooltip}}</th>
+
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
<th>{{Ship|Drake|tooltip}}</th>
+
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
<th>{{Ship|Drake|tooltip}}</th>
+
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
 +
<th class='racialcol'>{{Ship|Drake|tooltip}}</th>
 +
</tr>
 +
<tr class='highlight'>
 +
<td class='groupheader firstindent'>Faction Frigates</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
</tr>
 +
<tr class='odd'>
 +
<td class='groupheader secondindent'>Assault Ships</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
</tr>
 +
<tr class='even'>
 +
<td class='groupheader secondindent'>Covert Ops</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
<td>{{Ship|Drake|tooltip}}</td>
 +
</tr>
 +
</table>
 +
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
 +
<tr class='primary'>
 +
<th class='firstcol groupheader'>Destroyers</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>
 
</table>
 
</td>
 
</td>

Revision as of 16:46, 21 September 2011

 
Amarr Caldari Gallente Minmatar