Difference between revisions of "Template:ShipsMatrix"

From EVE University Wiki
Jump to: navigation, search
(Added EDENCOM column in Other Faction ships, as staged in User:Drebin 679/Template:ShipsMatrix.)
(Added expgroup parameter, allowing one group to be auto-expanded by default.)
Line 145: Line 145:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | frigates | |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Frigates</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Frigates</span></th>
Line 196: Line 196:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | destroyers| |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Destroyers</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Destroyers</span></th>
Line 226: Line 226:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | cruisers| |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Cruisers</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Cruisers</span></th>
Line 277: Line 277:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | battlecruisers | |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Battlecruisers</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Battlecruisers</span></th>
Line 300: Line 300:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | battleships | |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Battleships</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Battleships</span></th>
Line 330: Line 330:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | carriers | |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Carriers</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Carriers</span></th>
Line 373: Line 373:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | freighters | |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Freighters</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Freighters</span></th>
Line 389: Line 389:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | industrials | |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='primary'>
 
<tr class='primary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Standard Industrial Ships</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Standard Industrial Ships</span></th>
Line 414: Line 414:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | ore| |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='special'>
 
<tr class='special'>
 
<th class='firstcol groupheader'><span class='textlabel'>[[Image:Isis_ore.png|18x18px|link=]] Outer Ring Excavation Ships</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>[[Image:Isis_ore.png|18x18px|link=]] Outer Ring Excavation Ships</span></th>
Line 452: Line 452:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | pirates | |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='secondprimary'>
 
<tr class='secondprimary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Pirate Faction Ships</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Pirate Faction Ships</span></th>
Line 544: Line 544:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | other | |collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='secondprimary'>
 
<tr class='secondprimary'>
 
<th class='firstcol groupheader'><span class='textlabel'>Other Faction Ships</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Other Faction Ships</span></th>
Line 651: Line 651:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table class='collapsible collapsed' cellspacing='0' cellpadding='0'>
+
<table class='collapsible {{#ifeq: {{{expgroup}}} | special edition | | collapsed}}' cellspacing='0' cellpadding='0'>
 
<tr class='special'>
 
<tr class='special'>
 
<th class='firstcol groupheader'><span class='textlabel'>Special Edition Ships</span></th>
 
<th class='firstcol groupheader'><span class='textlabel'>Special Edition Ships</span></th>

Revision as of 17:21, 9 August 2020

show advanced ships
Isis amarr.png
Amarr
Isis caldari.png
Caldari
Isis gallente.png
Gallente
Isis minmatar.png
Minmatar
Corvettes Impairor Ibis Velator Reaper
Dreadnoughts Revelation Phoenix Moros Naglfar
Force Auxiliaries Apostle Minokawa Ninazu Lif
Titans Avatar Leviathan Erebus Ragnarok
Shuttles Amarr Shuttle Caldari Shuttle Gallente Shuttle Minmatar Shuttle
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?)