Difference between revisions of "Template:ShipFitting/doc"
From EVE University Wiki
(Fixed category transclusion.) |
(Remove forum link because of phase out of the forum.) |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | ; 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 {{Tl|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 {{tl|ShipFitting}}. However, {{tl|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 {{tl|ShipFitting}} updated. These editors should make themselves known either by frequently updating the {{tl|ShipFitting}} on a page or by leaving a point of contact on the [https://www.mediawiki.org/wiki/Help:Talk_pages Talk Pages]. In all other cases the {{tl|ShipFitting}} will be removed or moved. [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 08:17, 23 May 2022 (UTC)}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | :; Features | |
− | + | * Item names tooltip on image hover | |
+ | * Extra information panels when clicking {{Button|EFT}}, {{Button|SKILLS}}, or {{Button|NOTES}} button. The buttons will be grayed out when empty. | ||
+ | * Fitting difficulty indicator. <!-- outdated: and WarSOP compliance indicator with reason displayed on icon hover --> | ||
+ | * EVE version to determine if a fit is still valid | ||
− | |||
− | + | ; Syntax | |
− | + | <pre style="margin-left: 2em;"> | |
− | <pre> | ||
{{ShipFitting | {{ShipFitting | ||
− | | ship | + | | ship= |
− | + | | 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 | + | | version= |
− | + | | skills= | |
− | + | | notes= | |
− | | version | + | | showTOC= |
− | + | | showSKILLS= | |
− | | skills= | + | | showNOTES= |
− | | notes= | ||
− | | showTOC= | ||
− | | showSKILLS= | ||
− | | showNOTES | ||
− | |||
}} | }} | ||
</pre> | </pre> | ||
+ | :; 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, <br>mid''<x>''name, <br>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, <br>mid''<x>''typeID, <br>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 "<nowiki></li><li></nowiki>". Do not add the starting "<nowiki><li></nowiki>" and closing "<nowiki></li></nowiki>"as these are included in the template. | ||
+ | ::; notes : A list of notes separated by "<nowiki></li><li></nowiki>". Do not add the starting "<nowiki><li></nowiki>" and closing "<nowiki></li></nowiki>"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]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | If you want multiple fittings on the same line place the code for the second fitting directly after the first. e.g. like this: | + | ; Usage |
− | <pre> | + | :; Helper tool |
− | + | :: [https://github.com/Hirmuolio/ShipFitting-template-creator/releases 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: | ||
+ | <pre style="margin-left: 2em;"> | ||
| skills= | | skills= | ||
| notes= | | notes= | ||
− | |||
}}{{ShipFitting | }}{{ShipFitting | ||
| ship= | | ship= | ||
</pre> | </pre> | ||
+ | The wiki will place as much fittings as possible beside each other and will automatically continue on the next line when needed. | ||
− | + | ||
− | An example of a proper fitting would be: | + | ; Example |
− | <pre> | + | : An example of a proper fitting would be: |
+ | <pre style="margin-left: 2em;"> | ||
+ | {{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= | ||
+ | }} | ||
+ | </pre> Producing: | ||
{{ShipFitting | {{ShipFitting | ||
− | | ship=Rokh | + | | ship= Rokh |
− | + | | fitName= Vanguards a | |
− | | fitName=Vanguards a | + | | fitID= Vanguards-a |
− | | fitID=Vanguards-a | + | | high1name= Modal Mega Neutron Particle Accelerator I |
− | | high1name=Modal Mega Neutron Particle Accelerator I | + | | high1typeID= 7783 |
− | | high1typeID=7783 | + | | high2name= Modal Mega Neutron Particle Accelerator I |
− | | high2name=Modal Mega Neutron Particle Accelerator I | + | | high2typeID= 7783 |
− | | high2typeID=7783 | + | | high3name= Modal Mega Neutron Particle Accelerator I |
− | | high3name=Modal Mega Neutron Particle Accelerator I | + | | high3typeID= 7783 |
− | | high3typeID=7783 | + | | high4name= Modal Mega Neutron Particle Accelerator I |
− | | high4name=Modal Mega Neutron Particle Accelerator I | + | | high4typeID= 7783 |
− | | high4typeID=7783 | + | | high5name= Modal Mega Neutron Particle Accelerator I |
− | | high5name=Modal Mega Neutron Particle Accelerator I | + | | high5typeID= 7783 |
− | | high5typeID=7783 | + | | high6name= Modal Mega Neutron Particle Accelerator I |
− | | high6name=Modal Mega Neutron Particle Accelerator I | + | | high6typeID= 7783 |
− | | high6typeID=7783 | + | | high7name= Modal Mega Neutron Particle Accelerator I |
− | | high7name=Modal Mega Neutron Particle Accelerator I | + | | high7typeID= 7783 |
− | | high7typeID=7783 | + | | high8name= Modal Mega Neutron Particle Accelerator I |
− | | high8name=Modal Mega Neutron Particle Accelerator I | + | | high8typeID= 7783 |
− | | high8typeID=7783 | + | | mid1name= Adaptive Invulnerability Field II |
− | | mid1name=Adaptive Invulnerability Field II | + | | mid1typeID= 2281 |
− | | mid1typeID=2281 | + | | mid2name= EM Ward Field II |
− | | mid2name=EM Ward Field II | + | | mid2typeID= 2301 |
− | | mid2typeID=2301 | + | | mid3name= Federation Navy Stasis Webifier |
− | | mid3name=Federation Navy Stasis Webifier | + | | mid3typeID= 17559 |
− | | mid3typeID=17559 | + | | mid4name= Federation Navy Stasis Webifier |
− | | mid4name=Federation Navy Stasis Webifier | + | | mid4typeID= 17559 |
− | | mid4typeID=17559 | + | | mid5name= Sensor Booster II |
− | | mid5name=Sensor Booster II | + | | mid5typeID= 1952 |
− | | mid5typeID=1952 | + | | mid6name= Tracking Computer II |
− | | mid6name=Tracking Computer II | + | | mid6typeID= 1978 |
− | | mid6typeID=1978 | + | | low1name= Damage Control II |
− | | low1name=Damage Control II | + | | low1typeID= 2048 |
− | | low1typeID=2048 | + | | low2name= Magnetic Field Stabilizer II |
− | | low2name=Magnetic Field Stabilizer II | + | | low2typeID= 10190 |
− | | low2typeID=10190 | + | | low3name= Magnetic Field Stabilizer II |
− | | low3name=Magnetic Field Stabilizer II | + | | low3typeID= 10190 |
− | | low3typeID=10190 | + | | low4name= Magnetic Field Stabilizer II |
− | | low4name=Magnetic Field Stabilizer II | + | | low4typeID= 10190 |
− | | low4typeID=10190 | + | | low5name= Tracking Enhancer II |
− | | low5name=Tracking Enhancer II | + | | low5typeID= 1999 |
− | | low5typeID=1999 | + | | drone1name= Hobgoblin I x5 |
− | | drone1name=Hobgoblin I x5 | + | | drone1typeID= 2454 |
− | | drone1typeID=2454 | + | | drone2name= open |
− | | drone2name=open | + | | drone3name= open |
− | | drone3name=open | + | | drone4name= open |
− | | drone4name=open | + | | drone5name= open |
− | | drone5name=open | + | | charge1name= Scan Resolution Script |
− | | charge1name=Scan Resolution Script | + | | charge1typeID= 29011 |
− | | charge1typeID=29011 | + | | charge2name= Optimal Range Script |
− | | charge2name=Optimal Range Script | + | | charge2typeID= 28999 |
− | | charge2typeID=28999 | + | | charge3name= Caldari Navy Antimatter Charge L |
− | | charge3name=Caldari Navy Antimatter Charge L | + | | charge3typeID= 21740 |
− | | charge3typeID=21740 | + | | charge4name= open |
− | | charge4name=open | + | | charge5name= open |
− | | charge5name=open | + | | rig1name= Large Anti-Thermal Screen Reinforcer I |
− | | rig1name=Large Anti-Thermal Screen Reinforcer I | + | | rig1typeID= 26082 |
− | | rig1typeID=26082 | + | | rig2name= Large Core Defense Field Extender I |
− | | rig2name=Large Core Defense Field Extender I | + | | rig2typeID= 26088 |
− | | rig2typeID=26088 | + | | rig3name= Large Core Defense Field Extender I |
− | | rig3name=Large Core Defense Field Extender I | + | | rig3typeID= 26088 |
− | | rig3typeID=26088 | + | | difficulty= 1 |
− | | difficulty=1 | + | | version= RET 1.0 |
− | + | | skills= Gunnery Supports IV</li><li>Caldari Battleship IV | |
− | + | | notes= Short range blasters</li><li>Something else | |
− | | version=RET 1.0 | + | | showTOC= |
− | + | | showSKILLS= | |
− | | skills=Gunnery Supports IV</li><li>Caldari Battleship IV | + | | showNOTES= |
− | | notes=Short range blasters</li><li>Something else | ||
− | | showTOC= | ||
− | | showSKILLS= | ||
− | | showNOTES= | ||
− | |||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ; Contact information | |
+ | If you have any questions or concerns or find any issues, please post in E-UNI's Discord #wiki. | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Formatting templates]]</includeonly> |
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 12:15, 4 November 2024
- 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:
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
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 DIFFICULTY
EVE VERSION
RET 1.0
ALPHA CAN USE
UNSET
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.