Difference between revisions of "Template:ShipFitting"
From EVE University Wiki
Proton zero (talk | contribs) (Adjusted CSS to fix unevenness of the fitting difficulty bar. Removed WARSOP entry because the article claims WARSOP doesn't exist anymore? Please revert if I'm mistaken.) |
Proton zero (talk | contribs) (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.) |
||
Line 113: | Line 113: | ||
} | } | ||
+ | .shipFitting .mainSlots .slotLabelContainer { | ||
+ | width: 20px; | ||
+ | height: 48px; | ||
+ | margin-right: 4px; | ||
+ | float: left; | ||
+ | } | ||
.shipFitting .mainSlots .slotLabel { | .shipFitting .mainSlots .slotLabel { | ||
− | width: | + | width: 46px; |
− | height: | + | height: 18px; |
border: solid 1px #404040; | 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 151: | Line 163: | ||
margin-bottom: 6px; | margin-bottom: 6px; | ||
} | } | ||
− | + | .shipFitting .subSlots .slotLabelContainer { | |
− | .shipFitting .subSlots . | ||
width: 12px; | width: 12px; | ||
height: 30px; | height: 30px; | ||
− | |||
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 374: | Line 397: | ||
<div class="main"> | <div class="main"> | ||
<div class="mainSlots highSlots"> | <div class="mainSlots highSlots"> | ||
− | <div class="slotLabel"> | + | <div class="slotLabelContainer"><div class="slotLabel">HIGH</div></div> |
{{#switch: {{{high1name|none}}} | none = <div class="module high inactive"> | | {{#switch: {{{high1name|none}}} | none = <div class="module high inactive"> | | ||
Line 410: | Line 433: | ||
<div class="mainSlots midSlots"> | <div class="mainSlots midSlots"> | ||
− | <div class="slotLabel"> | + | <div class="slotLabelContainer"><div class="slotLabel">MID</div></div> |
{{#switch: {{{mid1name|none}}} | none = <div class="module mid inactive"> | | {{#switch: {{{mid1name|none}}} | none = <div class="module mid inactive"> | | ||
Line 446: | Line 469: | ||
<div class="mainSlots lowSlots"> | <div class="mainSlots lowSlots"> | ||
− | <div class="slotLabel"> | + | <div class="slotLabelContainer"><div class="slotLabel">LOW</div></div> |
{{#switch: {{{low1name|none}}} | none = <div class="module low inactive"> | | {{#switch: {{{low1name|none}}} | none = <div class="module low inactive"> | | ||
Line 484: | Line 507: | ||
<div class="sub"> | <div class="sub"> | ||
<div class="subSlots subsystems"> | <div class="subSlots subsystems"> | ||
− | <div class="slotLabel"> | + | <div class="slotLabelContainer"><div class="slotLabel">SUB</div></div> |
{{#switch: {{{subsystem1name|none}}} | none = <div class="subMod subsystem inactive"> | | {{#switch: {{{subsystem1name|none}}} | none = <div class="subMod subsystem inactive"> | | ||
Line 508: | Line 531: | ||
<div class="subSlots drones"> | <div class="subSlots drones"> | ||
− | <div class="slotLabel"> | + | <div class="slotLabelContainer"><div class="slotLabel">DRN</div></div> |
{{#switch: {{{drone1name|none}}} | none = <div class="subMod drone inactive"> | | {{#switch: {{{drone1name|none}}} | none = <div class="subMod drone inactive"> | | ||
Line 532: | Line 555: | ||
<div class="subSlots charges"> | <div class="subSlots charges"> | ||
− | <div class="slotLabel"> | + | <div class="slotLabelContainer"><div class="slotLabel">CHRG</div></div> |
{{#switch: {{{charge1name|none}}} | none = <div class="subMod charge inactive"> | | {{#switch: {{{charge1name|none}}} | none = <div class="subMod charge inactive"> | | ||
Line 556: | Line 579: | ||
<div class="subSlots rigs"> | <div class="subSlots rigs"> | ||
− | <div class="slotLabel"> | + | <div class="slotLabelContainer"><div class="slotLabel">RIG</div></div> |
{{#switch: {{{rig1name|none}}} | none = <div class="subMod rig inactive"> | | {{#switch: {{{rig1name|none}}} | none = <div class="subMod rig inactive"> | |
Revision as of 22:24, 16 February 2015
{{{fitName}}}
{{{ship}}}: {{{fitName}}}SHIP INFO
EFT
[{{{ship}}}, {{{fitName}}}]
HIGH
MID
LOW
SUB
DRN
CHRG
RIG
FITTING DIFFICULTY
EVE VERSION
unknown
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.
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 aSHIP 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
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
HIGH
MID
LOW
SUB
DRN
CHRG
RIG
FITTING DIFFICULTY
EVE VERSION
RET 1.0
RECOMMENDED SKILLS
- Gunnery Supports IV
- Caldari Battleship IV
NOTES
- Short range blasters
- Something else
- Contact information