Difference between revisions of "Template:ShipsMatrix"

From EVE University Wiki
Jump to: navigation, search
m (Reverted edits by Enta en bauldry (talk) to last revision by Noemie belacqua)
(Added Deathless Circle (no ship tree version of their logo yet).)
 
(79 intermediate revisions by 24 users not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
.ships-matrix
+
 
{
+
.ships-matrix
font-family: arial;
+
{
font-size: 12px;
+
  font-family: arial;
line-height: 130%;
+
  font-size: 12px;
}
+
  line-height: 130%;
.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 th, .ships-matrix td{ line-height: 110%;padding: 3px 5px; }
+
.ships-matrix table
.ships-matrix tr
+
{
{
+
  width:100%;
+
}
}
+
 
.ships-matrix a{ font-size:11px; }
+
.ships-matrix table,
.ships-matrix a:hover, .ships-matrix a.hover
+
.ships-matrix tr,
{
+
.ships-matrix th,
text-decoration:none;
+
.ships-matrix td
color:white;
+
{  
}
+
  margin: 0;
.ships-matrix tr.firstprimary, .ships-matrix tr.secondprimary
+
  padding: 0;
{
+
  text-align: left;
background-color: black;
+
  font-weight: normal;
}
+
}
.ships-matrix .firstprimary th, .ships-matrix .secondprimary th
+
 
{
+
.ships-matrix th,
border-bottom: 1px solid #2D2413;
+
.ships-matrix td
border-top: 1px solid #2D2413;
+
{
height: 20px;
+
  line-height: 110%;
line-height: 20px;
+
  padding: 3px 5px;
}
+
}
.ships-matrix .showexplain
+
 
{ text-align: right;
+
.ships-matrix tr
font-size: 80%;
+
{
color: #CCCCCC;
+
 
}
+
}
.ships-matrix .noshowexplain
+
 
{ text-align: center;
+
.ships-matrix a
font-size: 14px;
+
{
color: #B89964;
+
  font-size: 11px;
font-family: trebuchet MS;
+
}
font-variant: small-caps;
+
 
}
+
.ships-matrix a:hover,
.ships-matrix tr.primary
+
.ships-matrix a.hover
{
+
{
background-color: #222222;
+
  text-decoration: none;
}
+
  color: white;
.ships-matrix .primary .collapseButton, .ships-matrix .special .collapseButton, .ships-matrix .secondprimary .collapseButton
+
}
{
+
 
color: transparent;
+
.ships-matrix tr.firstprimary,
display: block;
+
.ships-matrix tr.secondprimary
float: right;
+
{
padding: 0;
+
  background-color: black;
}
+
}
.ships-matrix .primary .collapseButton a, .ships-matrix .special .collapseButton a, .ships-matrix .secondprimary .collapseButton a
+
 
{
+
.ships-matrix .firstprimary th,
background-color: transparent;
+
.ships-matrix .secondprimary th
color: #CCCCCC;
+
{
font-size: 80%;
+
  border-bottom: 1px solid #2D2413;
left: 0;
+
  border-top: 1px solid #2D2413;
width: 100%;
+
  height: 20px;
z-index: 20;
+
  line-height: 20px;
}
+
}
.ships-matrix .primary .collapseButton a:hover,
+
 
.ships-matrix .primary .collapseButton a.hover
+
.ships-matrix .showexplain
{
+
{  
background-color:#614F31;
+
  text-align: right;
}
+
  font-size: 80%;
.ships-matrix tr.highlight
+
  color: #CCCCCC;
{
+
}
background-color:#2D0404;
+
 
}
+
.ships-matrix .noshowexplain
.ships-matrix tr.special
+
{
{
+
  text-align: center;
background-color: #30281A;
+
  font-size: 14px;
}
+
  color: #B89964;
.ships-matrix tr.even
+
  font-family: trebuchet MS;
{
+
  font-variant: small-caps;
+
}
}
+
 
.ships-matrix tr.odd
+
.ships-matrix tr.primary
{
+
{
+
  background-color: #222222;
}
+
}
.ships-matrix th
+
 
{
+
.ships-matrix .primary .collapseButton,
+
.ships-matrix .special .collapseButton,
}
+
.ships-matrix .secondprimary .collapseButton
+
{
.ships-matrix .firstcol{ width:16%; }
+
  color: transparent;
.ships-matrix .racialcol{ width:21%; }
+
  display: block;
.ships-matrix .piratecol{ width:12%; }
+
  float: right;
.ships-matrix .widecol{ width:84%; }
+
  padding: 0;
.ships-matrix .centertext{ color: gray; text-align: center; }
+
}
.ships-matrix .racialcol .img, .ships-matrix .piratecol .img
+
 
{
+
.ships-matrix .primary .collapseButton a,
display: inline-block;
+
.ships-matrix .special .collapseButton a,
margin-right: 5px;
+
.ships-matrix .secondprimary .collapseButton a
}
+
{
.ships-matrix .groupheader
+
  background-color: transparent;
{
+
  color: #CCCCCC;
color: #B89964;
+
  font-size: 80%;
padding-left: 5px;
+
  left: 0;
}
+
  width: 100%;
.ships-matrix .groupheader .textlabel
+
  z-index: 20;
{
+
}
color: #CCCCCC;
+
 
display: inline-block;
+
.ships-matrix .primary .collapseButton a:hover,
position: relative;
+
.ships-matrix .primary .collapseButton a.hover
z-index: 25;
+
{
}
+
  background-color: #614F31;
.ships-matrix .primary .firstcol, .ships-matrix .primary .racialcol, .ships-matrix .primary .piratecol, .ships-matrix .primary .widecol,
+
}
.ships-matrix .special .firstcol, .ships-matrix .special .racialcol, .ships-matrix .special .piratecol, .ships-matrix .special .widecol
+
 
{
+
.ships-matrix tr.highlight
border-bottom: 1px solid black;
+
{
}
+
  background-color:#2D0404;
.ships-matrix .firstindent
+
}
{
+
 
padding-left:10px;
+
.ships-matrix tr.special
}
+
{
.ships-matrix .secondindent
+
  background-color: #30281A;
{
+
}
padding-left:15px;
+
 
}
+
.ships-matrix tr.even
 +
{
 +
 
 +
}
 +
 
 +
.ships-matrix tr.odd
 +
{
 +
 
 +
}
 +
 
 +
.ships-matrix th
 +
{
 +
 
 +
}
 +
 +
.ships-matrix .firstcol { width:16%; }
 +
 
 +
.ships-matrix .racialcol { width:21%; }
 +
 
 +
.ships-matrix .piratecol { width:10.5%; }
 +
 
 +
.ships-matrix .othercol { width:16.8%; }
 +
.ships-matrix .widecol { width:84%; }
 +
 
 +
.ships-matrix .centertext
 +
{
 +
  color: gray;
 +
  text-align: center;
 +
}
 +
 
 +
.ships-matrix .racialcol .img,
 +
.ships-matrix .piratecol .img,
 +
.ships-matrix .othercol .img
 +
{
 +
  display: inline-block;
 +
  margin-right: 5px;
 +
}
 +
 
 +
.ships-matrix .groupheader
 +
{
 +
  color: #B89964;
 +
  padding-left: 5px;
 +
}
 +
 
 +
.ships-matrix .groupheader .textlabel
 +
  {
 +
  color: #CCCCCC;
 +
  display: inline-block;
 +
  position: relative;
 +
  z-index: 25;
 +
  }
 +
 
 +
.ships-matrix .primary .firstcol,
 +
.ships-matrix .primary .racialcol,
 +
.ships-matrix .primary .piratecol,
 +
.ships-matrix .primary .widecol,
 +
.ships-matrix .special .firstcol,
 +
.ships-matrix .special .racialcol,
 +
.ships-matrix .special .piratecol,
 +
.ships-matrix .special .widecol
 +
{
 +
  border-bottom: 1px solid black;
 +
}
 +
 
 +
.ships-matrix .firstindent
 +
{
 +
  padding-left: 10px;
 +
}
 +
 
 +
.ships-matrix .secondindent
 +
{
 +
  padding-left: 15px;
 +
}
 +
 
 
}}
 
}}
<div class='ships-matrix'>
+
<div class='ships-matrix nowraplinks'> <!-- nowraplinks is located in MediaWiki:Common.css -->
<table cellspacing='0' cellpadding='0'>
+
 
<tr class='firstprimary'>
+
<table cellspacing='0' cellpadding='0'>
<th class='firstcol showexplain'>show advanced ships</th>
+
 
<th class='racialcol noshowexplain'><div class='img'>[[Image:Logo_faction_amarr_empire.png|center|20x20px]]</div>Amarr</th>
+
  <tr class='firstprimary'>
<th class='racialcol noshowexplain'><div class='img'>[[Image:Logo_faction_caldari_state.png|center|20x20px]]</div>Caldari</th>
+
  <th class='firstcol showexplain'>{{#ifeq: {{lc: {{{expgroup}}} }} | all | | show advanced ships}}</th>
<th class='racialcol noshowexplain'><div class='img'>[[Image:Logo_faction_gallente_federation.png|center|20x20px]]</div>Gallente</th>
+
  <th class='racialcol noshowexplain'><div class='img'>[[Image:Isis_amarr.png|center|x20px|link=]]</div>Amarr</th>
<th class='racialcol noshowexplain'><div class='img'>[[Image:Logo_faction_minmatar_republic.png|center|20x20px]]</div>Minmatar</th>
+
  <th class='racialcol noshowexplain'><div class='img'>[[Image:Isis_caldari.png|center|x20px|link=]]</div>Caldari</th>
</tr>
+
  <th class='racialcol noshowexplain'><div class='img'>[[Image:Isis_gallente.png|center|x20px|link=]]</div>Gallente</th>
<tr>
+
  <th class='racialcol noshowexplain'><div class='img'>[[Image:Isis_minmatar.png|center|x20px|link=]]</div>Minmatar</th>
<td colspan='5' style='padding:0'>
+
  </tr>
<table cellspacing='0' cellpadding='0'>
+
 
<tr class='primary'>
+
  <tr>
<th class='firstcol groupheader'><span class='textlabel'>Rookie Ships</span></th>
+
  <td colspan='5' style='padding:0'>
<th class='racialcol
+
 
 +
    <table cellspacing='0' cellpadding='0'>
 +
 
 +
    <tr class='primary'>
 +
      <th class='firstcol groupheader'><span class='textlabel'>[[Corvettes]]</span></th>
 +
      <th class='racialcol centertext'>[[Impairor]]</th>
 +
      <th class='racialcol centertext'>[[Ibis]]</th>
 +
      <th class='racialcol centertext'>[[Velator]]</th>
 +
      <th class='racialcol centertext'>[[Reaper]]</th>
 +
    </tr>
 +
 
 +
    </table>
 +
 
 +
    <table class='{{#switch: {{lc: {{{expgroup}}} }}
 +
    | #default= collapsible collapsed
 +
    | frigates= collapsible
 +
    | all=
 +
    }}' cellspacing='0' cellpadding='0'>
 +
 
 +
    <tr class='primary'>
 +
      <th class='firstcol groupheader'><span class='textlabel'>[[Frigates]]</span></th>
 +
      <th class='racialcol centertext'>[[Executioner]] &#9642; [[Inquisitor]] &#9642; [[Tormentor]] &#9642; [[Crucifier]] &#9642; [[Punisher]] &#9642; [[Magnate]]</th>
 +
      <th class='racialcol centertext'>[[Condor]] &#9642; [[Bantam]] &#9642; [[Kestrel]] &#9642; [[Griffin]] &#9642; [[Merlin]] &#9642; [[Heron]]</th>
 +
      <th class='racialcol centertext'>[[Atron]] &#9642; [[Navitas]] &#9642; [[Tristan]] &#9642; [[Maulus]] &#9642; [[Incursus]] &#9642; [[Imicus]]</th>
 +
      <th class='racialcol centertext'>[[Slasher]] &#9642; [[Burst]] &#9642; [[Breacher]] &#9642; [[Vigil]] &#9642; [[Rifter]] &#9642; [[Probe]]</th>
 +
    </tr>
 +
 
 +
    <tr class='highlight'>
 +
      <td class='groupheader firstindent'>Navy Faction Frigates</td>
 +
      <td class='centertext'>[[Imperial Navy Slicer]] &#9642; [[Crucifier Navy Issue]] &#9642; [
  
</table>
 
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
 
<tr class='special'>
 
<th class='firstcol groupheader'><span class='textlabel'>Special Edition Ships</span></th>
 
<th class='widecol centertext'></th>
 
</tr>
 
<tr class='primary'>
 
<td class='firstcol groupheader firstindent'>Shuttles</td>
 
<td class='widecol centertext'>[[Apotheosis]] &#9642; [[Interbus Shuttle]] &#9642; [[Leopard]]</td>
 
</tr>
 
<tr class='primary'>
 
<td class='firstcol groupheader firstindent'>Frigates</td>
 
<td class='widecol centertext'>[[Echelon]] &#9642; [[Echo]] &#9642; [[Hematos]] &#9642; [[Immolator]] &#9642; [[Taipan]] &#9642; [[Violator]] &#9642; [[Zephyr]] &#9642; [[Gold Magnate]] &#9642; [[Inner Zone Shipping Imicus]] &#9642; [[Sarum Magnate]] &#9642; [[Silver Magnate]] &#9642; [[Sukuuvestaa Heron]] &#9642; [[Tash-Murkon Magnate]] &#9642; [[Vherokior Probe]]</td>
 
</tr>
 
<tr class='even'>
 
<td class='groupheader secondindent'>Assault Frigates</td>
 
<td class='widecol centertext'>[[Cambion]] &#9642; [[Freki]] &#9642; [[Malice]] &#9642; [[Utu]]</td>
 
</tr>
 
<tr class='odd'>
 
<td class='groupheader secondindent'>Covert Ops</td>
 
<td class='racialcol centertext'>[[Chremoas]]</td>
 
</tr>
 
<tr class='even'>
 
<td class='groupheader secondindent'>Interceptors</td>
 
<td class='widecol centertext'>[[Whiptail]]</td>
 
</tr>
 
<tr class='primary'>
 
<td class='firstcol groupheader firstindent'>Destroyers</td>
 
<td class='widecol centertext'>[[Aliastra Catalyst]] &#9642; [[Inner Zone Shipping Catalyst]] &#9642; [[Intaki Syndicate Catalyst]] &#9642; [[InterBus Catalyst]] &#9642; [[Nefantar Thrasher]] &#9642; [[Quafe Catalyst]]</td>
 
</tr>
 
<tr class='primary'>
 
<td class='firstcol groupheader firstindent'>Cruisers</td>
 
<td class='widecol centertext'>[[Guardian-Vexor]]</td>
 
</tr>
 
<tr class='even'>
 
<td class='groupheader secondindent'>Heavy Assault Cruisers</td>
 
<td class='widecol centertext'>[[Adrestia]] &#9642; [[Mimir]] &#9642; [[Vangel]]</td>
 
</tr>
 
<tr class='odd'>
 
<td class='groupheader secondindent'>Logistics</td>
 
<td class='widecol centertext'>[[Etana]]</td>
 
</tr>
 
<tr class='even'>
 
<td class='groupheader secondindent'>Recon Ships</td>
 
<td class='racialcol centertext'>[[Chameleon]] &#9642; [[Moracha]]</td>
 
</tr>
 
<tr class='primary'>
 
<td class='firstcol groupheader firstindent'>Battlecruisers</td>
 
<td class='widecol centertext'>[[Gnosis]]</td>
 
</tr>
 
<tr class='primary'>
 
<td class='firstcol groupheader firstindent'>Battleships</td>
 
<td class='widecol centertext'>[[Scorpion Ishukone Watch]] &#9642; [[Apocalypse Imperial Issue]] &#9642; [[Armageddon Imperial Issue]] &#9642; [[Raven State Issue]] &#9642; [[Megathron Federate Issue]] &#9642; [[Tempest Tribal Issue]]</td>
 
</tr>
 
<tr class='primary'>
 
<td class='firstcol groupheader firstindent'>Industrial</td>
 
<td class='widecol centertext'>[[Primae]] &#9642; [[Miasmos Amastris Edition]] &#9642; [[Miasmos Quafe Ultra Edition]] &#9642; [[Miasmos Quafe Ultramarine Edition]]</td>
 
</tr>
 
</table>
 
</td>
 
</tr>
 
</table>
 
 
</div>
 
</div>
 +
<noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of template /doc, not here --></noinclude>

Latest revision as of 05:54, 13 November 2024

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template generates a footer with expandable rows, listing all ships by faction and type. It also has an option to display a fully expanded version without the show/hide option.
The rules for placing Ships into the matrix are:
  • Amarr, Caldari, Gallente and Minmatar Ships from the "Ship Tree" go in the "Primary" sub-table
  • ORE Ships from the "Ship Tree" go in the "Outer Ring Excavation Ships" sub-table
  • Ships from the "Ship Tree" found under "Pirate Factions" in the "Regional Market" in-game window go in the "Pirate Factions Ships" sub-table
  • Ships described in-game as built by CONCORD, Ships described in-game as built by Society of Conscious Thought, EDENCOM Ships from the "Ship Tree" and Triglavian Ships from the "Ship Tree" go in the "Other Faction Ships" sub-table; the exception are Ships that are only given once, such as Ships given during the Alliance Tournament - these belong in the "Special Edition Ships" sub-table
  • All Ships that do not belong to any previous sub-table go in the "Special Edition Ships" sub-table
Dependencies
Uses
{{Sh}} for ship links in the "Special Edition Ships" section.
CSS class nowraplinks from MediaWiki:Common.css
Syntax
{{ShipsMatrix|<expgroup= expgroup>}}
Parameters
expgroup=
To auto expand a collapsed ship group - One of the following: battlecruisers, battleships, carriers, cruisers, destroyers, dreadnoughts, freighters, frigates, haulers, ore, pirates, special edition or other.
Tho produce a fully expanded ship matrix without the show/hide option use the expgroup parameter all.
Notes
The all value for the fully expanded version was developed to replace the manual coding of the article EVE ships.
Visit Template:ShipsMatrix/doc to edit this text! (How does this work?) (Refresh this text - why?)