Difference between revisions of "Template:ShipFitting"
From EVE University Wiki
m (Added link to reference for typeIDs for help with manual editing of fits.) |
(clean up example templates to make them easier to edit similar to what wikipedia does with templates with the pipe in front of line) |
||
Line 630: | Line 630: | ||
To format of the code is as follows: | To format of the code is as follows: | ||
<pre> | <pre> | ||
− | {{ShipFitting| | + | {{ShipFitting |
− | ship=| | + | | ship= |
− | shipTypeID=| | + | | shipTypeID= |
− | fitName=| | + | | fitName= |
− | fitID=| | + | | fitID= |
− | high1name=| | + | | high1name= |
− | high1typeID=| | + | | high1typeID= |
− | mid1name=| | + | | mid1name= |
− | mid1typeID=| | + | | mid1typeID= |
− | low1name=| | + | | low1name= |
− | low1typeID=| | + | | low1typeID= |
− | subsystem1name=| | + | | subsystem1name= |
− | subsystem1typeID=| | + | | subsystem1typeID= |
− | drone1name=| | + | | drone1name= |
− | drone1typeID=| | + | | drone1typeID= |
− | charge1name=| | + | | charge1name= |
− | charge1typeID=| | + | | charge1typeID= |
− | rig1name=| | + | | rig1name= |
− | rig1typeID=| | + | | rig1typeID= |
− | difficulty=| | + | | difficulty= |
− | warsop=| | + | | warsop= |
− | warsopReason=| | + | | warsopReason= |
− | version=| | + | | version= |
− | shipDNA=| | + | | shipDNA= |
− | skills=| | + | | skills= |
− | notes=}} | + | | notes= |
+ | }} | ||
</pre> | </pre> | ||
Line 677: | Line 678: | ||
If you want multiple fittings on the same line place the code for the second fitting directly after the first. e.g. like this: | If you want multiple fittings on the same line place the code for the second fitting directly after the first. e.g. like this: | ||
<pre> | <pre> | ||
− | shipDNA=| | + | | shipDNA= |
− | skills=| | + | | skills= |
− | notes=}}{{ShipFitting| | + | | notes= |
− | ship= | + | }}{{ShipFitting |
+ | | ship= | ||
</pre> | </pre> | ||
Line 687: | Line 689: | ||
An example of a proper fitting would be: | An example of a proper fitting would be: | ||
<pre> | <pre> | ||
− | shipTypeID=24688| | + | {{ShipFitting |
− | fitName=Vanguards a| | + | | ship=Rokh |
− | fitID=Vanguards-a| | + | | shipTypeID=24688 |
− | high1name=Modal Mega Neutron Particle Accelerator I| | + | | fitName=Vanguards a |
− | high1typeID=7783| | + | | fitID=Vanguards-a |
− | high2name=Modal Mega Neutron Particle Accelerator I| | + | | high1name=Modal Mega Neutron Particle Accelerator I |
− | high2typeID=7783| | + | | high1typeID=7783 |
− | high3name=Modal Mega Neutron Particle Accelerator I| | + | | high2name=Modal Mega Neutron Particle Accelerator I |
− | high3typeID=7783| | + | | high2typeID=7783 |
− | high4name=Modal Mega Neutron Particle Accelerator I| | + | | high3name=Modal Mega Neutron Particle Accelerator I |
− | high4typeID=7783| | + | | high3typeID=7783 |
− | high5name=Modal Mega Neutron Particle Accelerator I| | + | | high4name=Modal Mega Neutron Particle Accelerator I |
− | high5typeID=7783| | + | | high4typeID=7783 |
− | high6name=Modal Mega Neutron Particle Accelerator I| | + | | high5name=Modal Mega Neutron Particle Accelerator I |
− | high6typeID=7783| | + | | high5typeID=7783 |
− | high7name=Modal Mega Neutron Particle Accelerator I| | + | | high6name=Modal Mega Neutron Particle Accelerator I |
− | high7typeID=7783| | + | | high6typeID=7783 |
− | high8name=Modal Mega Neutron Particle Accelerator I| | + | | high7name=Modal Mega Neutron Particle Accelerator I |
− | high8typeID=7783| | + | | high7typeID=7783 |
− | mid1name=Adaptive Invulnerability Field II| | + | | high8name=Modal Mega Neutron Particle Accelerator I |
− | mid1typeID=2281| | + | | high8typeID=7783 |
− | mid2name=EM Ward Field II| | + | | mid1name=Adaptive Invulnerability Field II |
− | mid2typeID=2301| | + | | mid1typeID=2281 |
− | mid3name=Federation Navy Stasis Webifier| | + | | mid2name=EM Ward Field II |
− | mid3typeID=17559| | + | | mid2typeID=2301 |
− | mid4name=Federation Navy Stasis Webifier| | + | | mid3name=Federation Navy Stasis Webifier |
− | mid4typeID=17559| | + | | mid3typeID=17559 |
− | mid5name=Sensor Booster II| | + | | mid4name=Federation Navy Stasis Webifier |
− | mid5typeID=1952| | + | | mid4typeID=17559 |
− | mid6name=Tracking Computer II| | + | | mid5name=Sensor Booster II |
− | mid6typeID=1978| | + | | mid5typeID=1952 |
− | low1name=Damage Control II| | + | | mid6name=Tracking Computer II |
− | low1typeID=2048| | + | | mid6typeID=1978 |
− | low2name=Magnetic Field Stabilizer II| | + | | low1name=Damage Control II |
− | low2typeID=10190| | + | | low1typeID=2048 |
− | low3name=Magnetic Field Stabilizer II| | + | | low2name=Magnetic Field Stabilizer II |
− | low3typeID=10190| | + | | low2typeID=10190 |
− | low4name=Magnetic Field Stabilizer II| | + | | low3name=Magnetic Field Stabilizer II |
− | low4typeID=10190| | + | | low3typeID=10190 |
− | low5name=Tracking Enhancer II| | + | | low4name=Magnetic Field Stabilizer II |
− | low5typeID=1999| | + | | low4typeID=10190 |
− | drone1name=Hobgoblin I x5| | + | | low5name=Tracking Enhancer II |
− | drone1typeID=2454| | + | | low5typeID=1999 |
− | drone2name=open| | + | | drone1name=Hobgoblin I x5 |
− | drone3name=open| | + | | drone1typeID=2454 |
− | drone4name=open| | + | | drone2name=open |
− | drone5name=open| | + | | drone3name=open |
− | charge1name=Scan Resolution Script| | + | | drone4name=open |
− | charge1typeID=29011| | + | | drone5name=open |
− | charge2name=Optimal Range Script| | + | | charge1name=Scan Resolution Script |
− | charge2typeID=28999| | + | | charge1typeID=29011 |
− | charge3name=Caldari Navy Antimatter Charge L| | + | | charge2name=Optimal Range Script |
− | charge3typeID=21740| | + | | charge2typeID=28999 |
− | charge4name=open| | + | | charge3name=Caldari Navy Antimatter Charge L |
− | charge5name=open| | + | | charge3typeID=21740 |
− | rig1name=Large Anti-Thermal Screen Reinforcer I| | + | | charge4name=open |
− | rig1typeID=26082| | + | | charge5name=open |
− | rig2name=Large Core Defense Field Extender I| | + | | rig1name=Large Anti-Thermal Screen Reinforcer I |
− | rig2typeID=26088| | + | | rig1typeID=26082 |
− | rig3name=Large Core Defense Field Extender I| | + | | rig2name=Large Core Defense Field Extender I |
− | rig3typeID=26088| | + | | rig2typeID=26088 |
− | difficulty=1| | + | | rig3name=Large Core Defense Field Extender I |
− | warsop=Y| | + | | rig3typeID=26088 |
− | warsopReason=test| | + | | difficulty=1 |
− | version=RET 1.0| | + | | warsop=Y |
− | shipDNA=24688:7783;8:1952;1:1978;1:2281;1:2301;1:17559;2:1999;1:2048;1:10190;3:26082;1:26088;2:2454;5:21740;1:28999;1:29011;1::| | + | | warsopReason=test |
− | skills=Gunnery Supports IV</li><li>Caldari Battleship IV| | + | | version=RET 1.0 |
− | notes=Short range blasters</li><li>Something else}} | + | | shipDNA=24688:7783;8:1952;1:1978;1:2281;1:2301;1:17559;2:1999;1:2048;1:10190;3:26082;1:26088;2:2454;5:21740;1:28999;1:29011;1:: |
+ | | skills=Gunnery Supports IV</li><li>Caldari Battleship IV | ||
+ | | notes=Short range blasters</li><li>Something else | ||
+ | }} | ||
</pre> | </pre> | ||
Revision as of 15:13, 19 May 2013
{{{fitName}}}
{{{ship}}}: {{{fitName}}}SHIP INFO
Features
- Item names on image hover
- Clicking on item picture brings up item info in-game
- Clicking SHIP INFO button brings up ship info in-game
- Clicking EVE button displays fitting in-game
- Clicking EFT, skills, or notes button opens respective panel
- Fitting difficulty indicator
- WarSOP compliance indicator with reason displayed on icon hover
- EVE version to determine if a fit is still valid
Template Format
To automatically generate template code from EFT code you can use the tool located here.
To format of the code is as follows:
{{ShipFitting | ship= | shipTypeID= | fitName= | fitID= | high1name= | high1typeID= | mid1name= | mid1typeID= | low1name= | low1typeID= | subsystem1name= | subsystem1typeID= | drone1name= | drone1typeID= | charge1name= | charge1typeID= | rig1name= | rig1typeID= | difficulty= | warsop= | warsopReason= | version= | shipDNA= | skills= | notes= }}
The parameters are:
- ship - The name of the ship
- shipTypeID - The typeID 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 "-".
- high1name, mid1name, low1name, etc. - The name of the module in that slot. Set as "open" for an empty slot or omit is slot does not exist.
- high1typeID, mid1typeID, low1typeID, etc. - The typeID of the module in that slot. Can 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. Please use your best judgement when assigning difficulty levels.
- warsop - Whether or not the fit is approved for use during war. Possible values are "A" for approved for everyone, "S" for requires sophomore title, and "G" for required graduate title, and "D" for director authorization required.
- warsopReason - The reason for the indicated warsop rating. This will be displayed when hovering over the warsop icon on restricted and not approved fittings only.
- version - The version of EVE the fit was created for.
- shipDNA - The shipDNA string for the fit. More information can be found here
- skills - A list of recommended skills separated by "</li><li>".
- notes - A list of notes separated by "</li><li>".
- showTOC - Allows removing fit from the table of contents of a page. Use value "N" to hide. Default is to show.
If you want multiple fittings on the same line place the code for the second fitting directly after the first. e.g. like this:
| shipDNA= | skills= | notes= }}{{ShipFitting | ship=
Example
An example of a proper fitting would be:
{{ShipFitting | ship=Rokh | shipTypeID=24688 | 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 | warsop=Y | warsopReason=test | version=RET 1.0 | shipDNA=24688:7783;8:1952;1:1978;1:2281;1:2301;1:17559;2:1999;1:2048;1:10190;3:26082;1:26088;2:2454;5:21740;1:28999;1:29011;1:: | skills=Gunnery Supports IV</li><li>Caldari Battleship IV | notes=Short range blasters</li><li>Something else }}
A list of typeIDs can be found here. (May be out of date or incomplete)
If you have any questions or concerns or find any issues, please post in this thread on the E-UNI forums