Difference between revisions of "Template:ShipFitting/doc"

From EVE University Wiki
Jump to: navigation, search
(Removed attributes that are not in the template anymore)
(→‎Features: removed comment on fleet-up button)
Line 11: Line 11:
 
*Fitting difficulty indicator. <!-- outdated: and WarSOP compliance indicator with reason displayed on icon hover -->
 
*Fitting difficulty indicator. <!-- outdated: and WarSOP compliance indicator with reason displayed on icon hover -->
 
*EVE version to determine if a fit is still valid
 
*EVE version to determine if a fit is still valid
*Clicking FLEET-UP will open the fit at fleet-up.com (requires fleetup data)
+
<!--*Clicking FLEET-UP will open the fit at fleet-up.com (requires fleetup data)-->
  
 
==Usage==
 
==Usage==

Revision as of 06:31, 30 January 2020

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.

Features

  • Item names tooltip on image hover
  • In-game compatability:
    • 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
  • Extra information panels when clicking EFT, skills, or notes button
  • Fitting difficulty indicator.
  • EVE version to determine if a fit is still valid

Usage

Helper tool

If you need help, use the tool located here. It will automatically generate a template code in wiki-markup, from EFT fitting code. Paste the code into an article, replacing old fittings as necessary.

Template Format

To format of the code is as follows:

{{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=
| fleetup=
}}

Parameters

The parameters are:

  • 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 "-".
  • high1name, mid1name, low1name, etc. - The name of the module in that slot. Set as "open" or "[Empty High Slot]" 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.
  • version - The version of EVE the fit was created for.
  • 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.
  • showSKILLS - Allows to show skills pane by default; will not automatically display if there are no skills to entered
  • showNOTES - Allows to show notes pane by default; will not automatically display if there are no notes to entered
  • fleetup - Enter the fit id from the direct link url; will display a FLEET-UP button that is clickable to open fit

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=
| fleetup=
}}{{ShipFitting
| ship=

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=Y
| showSKILLS=N
| showNOTES=N
| fleetup=12345
}}

A list of typeIDs can be found here: https://www.fuzzwork.co.uk

Contact information

If you have any questions or concerns or find any issues, please post in this section on the E-UNI forums.

Again, please see also the E-UNI Fitting Parser, an external tool that allows you to paste in a fit from EVE or EFT, annotate it, click the "Parse input" button, and get the code you need to insert into a wiki page.