Difference between revisions of "Template:ShipFitting"

From EVE University Wiki
Jump to: navigation, search
(Replaced the images used for the vertical-text headers with CSS that does the same thing. If this breaks anything, please revert; I'm going to test on the latest versions of IE, Chrome, and Firefox.)
(Undo revision 80678 by Proton zero (talk) because it breaks the ingame browser compatibility, see talk-page.)
Line 113: Line 113:
 
}
 
}
  
.shipFitting .mainSlots .slotLabelContainer {
+
.shipFitting .mainSlots .slotLabel {
width: 20px;
+
width: 18px;
height: 48px;
+
height: 46px;
 +
border: solid 1px #404040;
 
margin-right: 4px;
 
margin-right: 4px;
 
float: left;
 
float: left;
}
 
.shipFitting .mainSlots .slotLabel {
 
width: 46px;
 
height: 18px;
 
border: solid 1px #404040;
 
font-size: 10px;
 
line-height: 18px;
 
-moz-transform:    matrix(0.000, -1.000, 1.000, 0.000, 0.000px, 48.000px);
 
-webkit-transform: matrix(0.000, -1.000, 1.000, 0.000, 0.000, 48.000);
 
-ms-transform:    matrix(0.000, -1.000, 1.000, 0.000, 0.000, 48.000);
 
-o-transform:      matrix(0.000, -1.000, 1.000, 0.000, 0.000, 48.000);
 
transform:        matrix(0.000, -1.000, 1.000, 0.000, 0.000, 48.000);
 
transform-origin: 0.0px 0.0px;
 
 
}
 
}
  
Line 163: Line 151:
 
margin-bottom: 6px;
 
margin-bottom: 6px;
 
}
 
}
.shipFitting .subSlots .slotLabelContainer {
+
 
 +
.shipFitting .subSlots .slotLabel {
 
width: 12px;
 
width: 12px;
 
height: 30px;
 
height: 30px;
 +
border: solid 1px #404040;
 
margin-right: 4px;
 
margin-right: 4px;
 
float: left;
 
float: left;
}
 
.shipFitting .subSlots .slotLabel {
 
width: 30px;
 
height: 12px;
 
border: solid 1px #404040;
 
font-size: 10px;
 
line-height: 12px;
 
-moz-transform:    matrix(0.000, -1.000, 1.000, 0.000, 0.000px, 32.000px);
 
-webkit-transform: matrix(0.000, -1.000, 1.000, 0.000, 0.000, 32.000);
 
-ms-transform:    matrix(0.000, -1.000, 1.000, 0.000, 0.000, 32.000);
 
-o-transform:      matrix(0.000, -1.000, 1.000, 0.000, 0.000, 32.000);
 
transform:        matrix(0.000, -1.000, 1.000, 0.000, 0.000, 32.000);
 
transform-origin: 0.0px 0.0px;
 
 
}
 
}
  
Line 397: Line 374:
 
<div class="main">
 
<div class="main">
 
<div class="mainSlots highSlots">
 
<div class="mainSlots highSlots">
<div class="slotLabelContainer"><div class="slotLabel">HIGH</div></div>
+
<div class="slotLabel">[[File: Fitting template high slot label.png|18x46px|center|link=]]</div>
  
 
{{#switch: {{{high1name|none}}} | none = <div class="module high inactive"> |  
 
{{#switch: {{{high1name|none}}} | none = <div class="module high inactive"> |  
Line 433: Line 410:
 
 
 
<div class="mainSlots midSlots">
 
<div class="mainSlots midSlots">
<div class="slotLabelContainer"><div class="slotLabel">MID</div></div>
+
<div class="slotLabel">[[File: Fitting template mid slots label.png|18x46px|center|link=]]</div>
  
 
{{#switch: {{{mid1name|none}}} | none = <div class="module mid inactive"> |  
 
{{#switch: {{{mid1name|none}}} | none = <div class="module mid inactive"> |  
Line 469: Line 446:
 
 
 
<div class="mainSlots lowSlots">
 
<div class="mainSlots lowSlots">
<div class="slotLabelContainer"><div class="slotLabel">LOW</div></div>
+
<div class="slotLabel">[[File: Fitting template low slots label.png|18x46px|center|link=]]</div>
  
 
{{#switch: {{{low1name|none}}} | none = <div class="module low inactive"> |  
 
{{#switch: {{{low1name|none}}} | none = <div class="module low inactive"> |  
Line 507: Line 484:
 
<div class="sub">
 
<div class="sub">
 
<div class="subSlots subsystems">
 
<div class="subSlots subsystems">
<div class="slotLabelContainer"><div class="slotLabel">SUB</div></div>
+
<div class="slotLabel">[[File: Fitting template subsystem slots label.png|18x30px|center|link=]]</div>
  
 
{{#switch: {{{subsystem1name|none}}} | none = <div class="subMod subsystem inactive"> |  
 
{{#switch: {{{subsystem1name|none}}} | none = <div class="subMod subsystem inactive"> |  
Line 531: Line 508:
 
 
 
<div class="subSlots drones">
 
<div class="subSlots drones">
<div class="slotLabelContainer"><div class="slotLabel">DRN</div></div>
+
<div class="slotLabel">[[File: Fitting template drone slots label.png|18x30px|center|link=]]</div>
  
 
{{#switch: {{{drone1name|none}}} | none = <div class="subMod drone inactive"> |  
 
{{#switch: {{{drone1name|none}}} | none = <div class="subMod drone inactive"> |  
Line 555: Line 532:
 
 
 
<div class="subSlots charges">
 
<div class="subSlots charges">
<div class="slotLabelContainer"><div class="slotLabel">CHRG</div></div>
+
<div class="slotLabel">[[File: Fitting template charge slots label.png|18x30px|center|link=]]</div>
  
 
{{#switch: {{{charge1name|none}}} | none = <div class="subMod charge inactive"> |  
 
{{#switch: {{{charge1name|none}}} | none = <div class="subMod charge inactive"> |  
Line 579: Line 556:
  
 
<div class="subSlots rigs">
 
<div class="subSlots rigs">
<div class="slotLabelContainer"><div class="slotLabel">RIG</div></div>
+
<div class="slotLabel">[[File: Fitting template rig slots label.png|18x30px|center|link=]]</div>
  
 
{{#switch: {{{rig1name|none}}} | none = <div class="subMod rig inactive"> |  
 
{{#switch: {{{rig1name|none}}} | none = <div class="subMod rig inactive"> |  

Revision as of 12:13, 17 February 2015

{{{fitName}}}
{{{ship}}}: {{{fitName}}}
SHIP INFO
EFT
[{{{ship}}}, {{{fitName}}}]





Fitting template high slot label.png
Fitting template mid slots label.png
Fitting template low slots label.png
Fitting template subsystem slots label.png
Fitting template drone slots label.png
Fitting template charge slots label.png
Fitting template rig slots label.png
FITTING DIFFICULTY
EVE VERSION
unknown
EVE
EFT
SKILLS
NOTES
RECOMMENDED SKILLS
NOTES
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to display fittings across the UniWiki and is used on a large number of pages. Please test any edits to the template itself in your personal userspace before committing them to this template page.
Articles, in the Main namespace and not deprecated, with {{ShipFitting}} on them must be put into the Category:Fittings regardless of what other categories they belong to.

Icon information square.png Note: As per the UniWiki:Announcements, EVE University decided to remove most of the {{ShipFitting}}. However, {{ShipFitting}} are still allowed in the Main namespace, but if and only if there is at least one editor willing to take full responsibility for keeping {{ShipFitting}} updated. These editors should make themselves known either by frequently updating the {{ShipFitting}} on a page or by leaving a point of contact on the Talk Pages. In all other cases the {{ShipFitting}} will be removed or moved. Arin Mara (talk) 08:17, 23 May 2022 (UTC)

Features
  • Item names tooltip on image hover
  • Extra information panels when clicking EFT, SKILLS, or NOTES button. The buttons will be grayed out when empty.
  • Fitting difficulty indicator.
  • EVE version to determine if a fit is still valid


Syntax
{{ShipFitting
| ship= 
| fitName= 
| fitID= 
| high1name= 
| high1typeID= 
| mid1name= 
| mid1typeID= 
| low1name= 
| low1typeID= 
| subsystem1name= 
| subsystem1typeID= 
| drone1name= 
| drone1typeID= 
| charge1name= 
| charge1typeID= 
| rig1name= 
| rig1typeID= 
| difficulty= 
| version= 
| skills= 
| notes= 
| showTOC= 
| showSKILLS= 
| showNOTES= 
}}
Parameters
ship 
The name of the ship
fitName 
The name of the fit
fitID 
A (hopefully) unique identifier for the fit. By appending "#(fitID)" to the end of a ship page of the wiki you can link directly to a specific fit. The automatic tool generates this by replacing all spaces in the fit name with a "-".
high<x>name,
mid<x>name,
low<x>name
Where <x> is the slot position. The name of the module in that slot. Set as "open" or "[Empty High Slot]" for an empty slot or omit if slot does not exist.
high<x>typeID,
mid<x>typeID,
low<x>typeID
Where <x> is the slot position. The typeID of the module in that slot. Should be omitted if the slot is empty or does not exist.
difficulty 
The difficulty of the fit. Possible values are "0" for beginner, "1" for advanced, and "2" for expert. Defaults to "0", beginner. Please use your best judgement when assigning difficulty levels.
version 
The version of EVE the fit was created or updated for.
skills 
A list of recommended skills separated by "</li><li>". Do not add the starting "<li>" and closing "</li>"as these are included in the template.
notes 
A list of notes separated by "</li><li>". Do not add the starting "<li>" and closing "</li>"as these are included in the template.
showTOC 
Allows removing fit from the table of contents of a page. Use value "N" to hide. Default is to show.
showSKILLS 
Allows to show skills pane by default; will not automatically display if there are no skills entered. Use value "Y" to show.
showNOTES 
Allows to show notes pane by default; will not automatically display if there are no notes entered. Use value "Y" to show.

To acquire typeIDs see How to get ID

Usage
Helper tool
ShipFitting-template-creator. Can automatically generate a template code in wiki-markup, from EFT fitting code. Paste the code into an article, replacing old fittings as necessary.
Multiple fittings
If you want multiple fittings on the same line place the code for the second fitting directly after the first. e.g. like this:
| skills=
| notes=
}}{{ShipFitting
| ship=

The wiki will place as much fittings as possible beside each other and will automatically continue on the next line when needed.


Example
An example of a proper fitting would be:
{{ShipFitting
| ship= Rokh
| fitName= Vanguards a
| fitID= Vanguards-a
| high1name= Modal Mega Neutron Particle Accelerator I
| high1typeID= 7783
| high2name= Modal Mega Neutron Particle Accelerator I
| high2typeID= 7783
| high3name= Modal Mega Neutron Particle Accelerator I
| high3typeID= 7783
| high4name= Modal Mega Neutron Particle Accelerator I
| high4typeID= 7783
| high5name= Modal Mega Neutron Particle Accelerator I
| high5typeID= 7783
| high6name= Modal Mega Neutron Particle Accelerator I
| high6typeID= 7783
| high7name= Modal Mega Neutron Particle Accelerator I
| high7typeID= 7783
| high8name= Modal Mega Neutron Particle Accelerator I
| high8typeID= 7783
| mid1name= Adaptive Invulnerability Field II
| mid1typeID= 2281
| mid2name= EM Ward Field II
| mid2typeID= 2301
| mid3name= Federation Navy Stasis Webifier
| mid3typeID= 17559
| mid4name= Federation Navy Stasis Webifier
| mid4typeID= 17559
| mid5name= Sensor Booster II
| mid5typeID= 1952
| mid6name= Tracking Computer II
| mid6typeID= 1978
| low1name= Damage Control II
| low1typeID= 2048
| low2name= Magnetic Field Stabilizer II
| low2typeID= 10190
| low3name= Magnetic Field Stabilizer II
| low3typeID= 10190
| low4name= Magnetic Field Stabilizer II
| low4typeID= 10190
| low5name= Tracking Enhancer II
| low5typeID= 1999
| drone1name= Hobgoblin I x5
| drone1typeID= 2454
| drone2name= open
| drone3name= open
| drone4name= open
| drone5name= open
| charge1name= Scan Resolution Script
| charge1typeID= 29011
| charge2name= Optimal Range Script
| charge2typeID= 28999
| charge3name= Caldari Navy Antimatter Charge L
| charge3typeID= 21740
| charge4name= open
| charge5name= open
| rig1name= Large Anti-Thermal Screen Reinforcer I
| rig1typeID= 26082
| rig2name= Large Core Defense Field Extender I
| rig2typeID= 26088
| rig3name= Large Core Defense Field Extender I
| rig3typeID= 26088
| difficulty= 1
| version= RET 1.0
| skills= Gunnery Supports IV</li><li>Caldari Battleship IV
| notes= Short range blasters</li><li>Something else
| showTOC= 
| showSKILLS= 
| showNOTES= 
}}
Producing:
Vanguards a
Rokh: Vanguards a
SHIP INFO
EFT
[Rokh, Vanguards a]
Modal Mega Neutron Particle Accelerator I
Modal Mega Neutron Particle Accelerator I
Modal Mega Neutron Particle Accelerator I
Modal Mega Neutron Particle Accelerator I
Modal Mega Neutron Particle Accelerator I
Modal Mega Neutron Particle Accelerator I
Modal Mega Neutron Particle Accelerator I
Modal Mega Neutron Particle Accelerator I

Adaptive Invulnerability Field II
EM Ward Field II
Federation Navy Stasis Webifier
Federation Navy Stasis Webifier
Sensor Booster II
Tracking Computer II

Damage Control II
Magnetic Field Stabilizer II
Magnetic Field Stabilizer II
Magnetic Field Stabilizer II
Tracking Enhancer II

Large Anti-Thermal Screen Reinforcer I
Large Core Defense Field Extender I
Large Core Defense Field Extender I

Hobgoblin I x5

Scan Resolution Script
Optimal Range Script
Caldari Navy Antimatter Charge L
Fitting template high slot label.png
7783_64.png
7783_64.png
7783_64.png
7783_64.png
7783_64.png
7783_64.png
7783_64.png
7783_64.png
Fitting template mid slots label.png
2281_64.png
2301_64.png
17559_64.png
17559_64.png
1952_64.png
1978_64.png
Fitting template low slots label.png
2048_64.png
10190_64.png
10190_64.png
10190_64.png
1999_64.png
Fitting template subsystem slots label.png
Fitting template drone slots label.png
2454_64.png
Icon dashed diamond.png
Icon dashed diamond.png
Icon dashed diamond.png
Icon dashed diamond.png
Fitting template charge slots label.png
29011_64.png
28999_64.png
21740_64.png
Icon dashed triangle.png
Icon dashed triangle.png
Fitting template rig slots label.png
26082_64.png
26088_64.png
26088_64.png
FITTING DIFFICULTY
EVE VERSION
RET 1.0
EVE
EFT
SKILLS
NOTES
RECOMMENDED SKILLS
  • Gunnery Supports IV
  • Caldari Battleship IV
NOTES
  • Short range blasters
  • Something else


Contact information
If you have any questions or concerns or find any issues, please post in E-UNI's Discord #wiki or the Fittings Discussion board on the E-UNI forums.
Visit Template:ShipFitting/doc to edit this text! (How does this work?) (Refresh this text - why?)