Difference between revisions of "Template:ShipFitting"
From EVE University Wiki
(Added FLEET-UP button and handling - additional handling was added to .js wiki file) |
|||
Line 280: | Line 280: | ||
.shipFitting .button.notes { | .shipFitting .button.notes { | ||
+ | margin-right: 0px; | ||
+ | } | ||
+ | .shipFitting .button.fleetup { | ||
+ | width: 65px; | ||
margin-right: 0px; | margin-right: 0px; | ||
} | } | ||
Line 591: | Line 595: | ||
<div class="button eve" data-shipdna="{{{shipDNA}}}" title="View fit (in game)">EVE</div> | <div class="button eve" data-shipdna="{{{shipDNA}}}" title="View fit (in game)">EVE</div> | ||
<div class="button eft" title="Open EFT format">EFT</div> | <div class="button eft" title="Open EFT format">EFT</div> | ||
+ | {{#if: {{{fleetup|}}}| | ||
+ | <div class="button fleetup {{#if: {{{fleetup|}}}||empty}}" data-fleetup="http://fleet-up.com/Fitting/Item/{{{fleetup}}}" title="Open fit at Fleet-Up.com">FLEET-UP</div> | ||
+ | <br /> | ||
+ | |}} | ||
<div class="button skills {{#if: {{{skills|}}}||empty}}" title="Open recommended skills">SKILLS</div> | <div class="button skills {{#if: {{{skills|}}}||empty}}" title="Open recommended skills">SKILLS</div> | ||
<div class="button notes {{#if: {{{notes|}}}||empty}}" title="Open notes">NOTES</div> | <div class="button notes {{#if: {{{notes|}}}||empty}}" title="Open notes">NOTES</div> |
Revision as of 15:13, 4 November 2014
{{{fitName}}}
{{{ship}}}: {{{fitName}}}SHIP INFO
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
RECOMMENDED SKILLS
- Gunnery Supports IV
- Caldari Battleship IV
NOTES
- Short range blasters
- Something else
- Contact information