Difference between revisions of "Template:ShipsMatrix"
From EVE University Wiki
(reorganized some ships) |
Drebin 679 (talk | contribs) (Added Deathless Circle (no ship tree version of their logo yet).) |
||
(86 intermediate revisions by 26 users not shown) | |||
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
− | + | ||
− | + | .ships-matrix | |
− | + | { | |
− | + | font-family: arial; | |
− | + | 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 tr | |
− | + | { | |
− | + | ||
− | + | } | |
− | + | ||
− | + | .ships-matrix a | |
− | + | { | |
− | + | font-size: 11px; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix a:hover, | |
− | + | .ships-matrix a.hover | |
− | + | { | |
− | + | text-decoration: none; | |
− | + | color: white; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix tr.firstprimary, | |
− | + | .ships-matrix tr.secondprimary | |
− | + | { | |
− | + | background-color: black; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix .firstprimary th, | |
− | + | .ships-matrix .secondprimary th | |
− | + | { | |
− | + | border-bottom: 1px solid #2D2413; | |
− | + | border-top: 1px solid #2D2413; | |
− | + | height: 20px; | |
− | + | line-height: 20px; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix .showexplain | |
− | + | { | |
− | + | text-align: right; | |
− | + | font-size: 80%; | |
− | + | color: #CCCCCC; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix .noshowexplain | |
− | + | { | |
− | + | text-align: center; | |
− | + | font-size: 14px; | |
− | + | color: #B89964; | |
− | + | font-family: trebuchet MS; | |
− | + | font-variant: small-caps; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix tr.primary | |
− | + | { | |
− | + | background-color: #222222; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix .primary .collapseButton, | |
− | + | .ships-matrix .special .collapseButton, | |
− | + | .ships-matrix .secondprimary .collapseButton | |
− | + | { | |
− | + | color: transparent; | |
− | + | display: block; | |
− | + | float: right; | |
− | + | padding: 0; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix .primary .collapseButton a, | |
− | + | .ships-matrix .special .collapseButton a, | |
− | + | .ships-matrix .secondprimary .collapseButton a | |
− | + | { | |
− | + | background-color: transparent; | |
− | + | color: #CCCCCC; | |
− | + | font-size: 80%; | |
− | + | left: 0; | |
− | + | width: 100%; | |
− | + | z-index: 20; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix .primary .collapseButton a:hover, | |
− | + | .ships-matrix .primary .collapseButton a.hover | |
− | + | { | |
− | + | background-color: #614F31; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix tr.highlight | |
− | + | { | |
− | + | background-color:#2D0404; | |
− | + | } | |
− | + | ||
− | + | .ships-matrix tr.special | |
− | + | { | |
− | + | background-color: #30281A; | |
− | + | } | |
− | + | ||
− | + | .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 nowraplinks'> <!-- nowraplinks is located in MediaWiki:Common.css --> | |
− | + | ||
− | + | <table cellspacing='0' cellpadding='0'> | |
− | + | ||
− | + | <tr class='firstprimary'> | |
− | + | <th class='firstcol showexplain'>{{#ifeq: {{lc: {{{expgroup}}} }} | all | | show advanced ships}}</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:Isis_caldari.png|center|x20px|link=]]</div>Caldari</th> | |
− | + | <th class='racialcol noshowexplain'><div class='img'>[[Image:Isis_gallente.png|center|x20px|link=]]</div>Gallente</th> | |
− | + | <th class='racialcol noshowexplain'><div class='img'>[[Image:Isis_minmatar.png|center|x20px|link=]]</div>Minmatar</th> | |
− | + | </tr> | |
− | + | ||
− | + | <tr> | |
− | + | <td colspan='5' style='padding:0'> | |
− | + | ||
+ | <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]] ▪ [[Inquisitor]] ▪ [[Tormentor]] ▪ [[Crucifier]] ▪ [[Punisher]] ▪ [[Magnate]]</th> | ||
+ | <th class='racialcol centertext'>[[Condor]] ▪ [[Bantam]] ▪ [[Kestrel]] ▪ [[Griffin]] ▪ [[Merlin]] ▪ [[Heron]]</th> | ||
+ | <th class='racialcol centertext'>[[Atron]] ▪ [[Navitas]] ▪ [[Tristan]] ▪ [[Maulus]] ▪ [[Incursus]] ▪ [[Imicus]]</th> | ||
+ | <th class='racialcol centertext'>[[Slasher]] ▪ [[Burst]] ▪ [[Breacher]] ▪ [[Vigil]] ▪ [[Rifter]] ▪ [[Probe]]</th> | ||
+ | </tr> | ||
+ | |||
+ | <tr class='highlight'> | ||
+ | <td class='groupheader firstindent'>Navy Faction Frigates</td> | ||
+ | <td class='centertext'>[[Imperial Navy Slicer]] ▪ [[Crucifier Navy Issue]] ▪ [ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</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.