Difference between revisions of "Template:ShipArticle"
From EVE University Wiki
m (Add separate Pirate faction <Type> logic.) |
m (Preparation for Equinox expansion.) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 222: | Line 222: | ||
<div class='box-info'> | <div class='box-info'> | ||
− | <table class=' | + | <table class='faction-info' cellspacing='0' cellpadding='0'> |
<tr> | <tr> | ||
Line 246: | Line 246: | ||
| society of conscious thought= Logo_faction_the_society.png | | society of conscious thought= Logo_faction_the_society.png | ||
| triglavian collective= Logo faction triglavian collective.png | | triglavian collective= Logo faction triglavian collective.png | ||
+ | | upwell= Upwell_Consortium_logo.png | ||
| #default= no-image.png | | #default= no-image.png | ||
}}|center|link=|50px|{{{faction|}}} ]] | }}|center|link=|50px|{{{faction|}}} ]] | ||
Line 252: | Line 253: | ||
<!--** Ship image block "caption" center, line 1 **--> | <!--** Ship image block "caption" center, line 1 **--> | ||
<td class='faction'>{{#if: {{{faction|}}} |{{{faction}}} |{{Co|red|! faction missing !}} }}</td> | <td class='faction'>{{#if: {{{faction|}}} |{{{faction}}} |{{Co|red|! faction missing !}} }}</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!--** Ship image block "caption" center, line 2 **--> | <!--** Ship image block "caption" center, line 2 **--> | ||
Line 370: | Line 329: | ||
| shuttle= | | shuttle= | ||
| #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench] | | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench] | ||
− | }} <br>[https:// | + | }} <br>[https://janice.e-351.com/i/{{{shipid}}}/ {{{shipname|}}} on Janice]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref] |
}}<br>{{{externallinks|}}}</div> | }}<br>{{{externallinks|}}}</div> | ||
</div> | </div> | ||
Line 415: | Line 374: | ||
<td class='right'> | <td class='right'> | ||
<div class='title'>Grouping</div> | <div class='title'>Grouping</div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div style='color: #7D6843; font-size: 90%;'>▪ Variations</div> <!-- to suppress <pre> parsing | <div style='color: #7D6843; font-size: 90%;'>▪ Variations</div> <!-- to suppress <pre> parsing | ||
--><span style='padding-left: 10px; display: block;'>{{#if: {{{variations|}}} |{{{variations}}} |<i>none</i> }}</span> | --><span style='padding-left: 10px; display: block;'>{{#if: {{{variations|}}} |{{{variations}}} |<i>none</i> }}</span> | ||
Line 559: | Line 512: | ||
| pirate faction ships | | pirate faction ships | ||
| pirate faction battleships | | pirate faction battleships | ||
− | | pirate faction | + | | pirate faction battlecruisers |
| pirate faction cruisers | | pirate faction cruisers | ||
+ | | pirate faction destroyers | ||
| pirate faction dreadnoughts | | pirate faction dreadnoughts | ||
+ | | pirate faction force auxiliaries | ||
| pirate faction frigates | | pirate faction frigates | ||
+ | | pirate faction supercarriers | ||
| pirate faction titans= 350 | | pirate faction titans= 350 | ||
| #default= 400 | | #default= 400 |
Latest revision as of 11:09, 16 May 2024
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to create a ship page for the Ship Database.
![Icon timer non-capsuleer.png](/images/e/ea/Icon_timer_non-capsuleer.png)
{{Sh}}
and {{ShipsMatrix}}
templates and check the required for info of the required skills.![Icon timer non-capsuleer.png](/images/e/ea/Icon_timer_non-capsuleer.png)
- Dependencies
-
- Uses
- MediaWiki:Common.css Elements identified by #ship-article.
- no-image.png Default ship image when neither shipid nor shipimg are given. Default faction logo when faction is empty or unknown.
{{Imageserver}}
When no local image of ship is available and shipid is known.- Build-in UniWiki links to
- Ships
- Build-in external links to
- zKillboard
- EVE Workbench
- Janice
- EVE Ref
- Indirectly uses
- {{RequiredSkill}} to fill the parameter reqskill
- {{Ship}} which in-turn calls {{ShipBoxTooltip}} to fill the parameter variations
- Used by
- {{Ship}} Wrapper for:
- {{ShipBoxLarge}} Uses part of the parameter set. Used parameters are marked with bl
- {{ShipBoxTooltip}} Uses part of the parameter set. Used parameters are marked with tt
- Syntax
<onlyinclude>{{{{#if:{{{mode|}}}|{{#switch:{{{mode}}}|box=ShipBoxLarge|#default=ShipBoxTooltip}}|ShipArticle}} <!-- Template marker : DON'T EDIT LINE --> <!----------------------------------------------------------- * SHIP ATTRIBUTES SECTION (last update : 2022-12-10) ------------------------------------------------------------- * on editing the attributes, please make sure that you don't * leave/mistype any tags required. please follow the same * format below and edit only the values (after the = sign). -------------------------------------------------------------> | shipid= | shipimg= | shipname= ... parameter list }}</onlyinclude> <!-- Template marker : DON'T EDIT LINE -->
This box contains all parameters for ease of copying into a new page. Paste into the syntax above, replacing "|shipid ... parameter list". |
---|
| shipid= | shipimg= | shipname= | class= | grouping= | hulltype= | faction= | variations= | tech= | powergrid= | cpu= | capacitor= | highs= | turrets= | launchers= | mediums= | lows= | mass= | volume= | cargohold= | extraholdtype= | extrahold= | extrahold2type= | extrahold2= | extrahold3type= | extrahold3= | extrahold4type= | extrahold4= | dronebay= | bandwidth= | fighterbay= | fightertubes= | lightfightersquadlimit= | heavyfightersquadlimit= | supportfightersquadlimit= | info= | bonuses= | structurehp= | armorhp= | armorem= | armortherm= | armorkin= | armorexp= | shieldhp= | shieldem= | shieldtherm= | shieldkin= | shieldexp= | maxvelocity= | inertia= | warpspeed= | warptime= | targetrange= | maxlockedtargets= | sigradius= | scanres= | sensortype= | sensorvalue= | reqskills= | totaltraintime= | forumlinks= | wikireferences= | externallinks= | highlights1= | highlights2= | highlights3= | highlights4= <!-- Overrides: Only to be used when automatic results are incorrect. Otherwise delete them. --> | rigs_count= | rigs_size= | rigs_calibration= |
- Parameters
-
- shipid [Preferred] [bl, tt]
- EVE Online database ID for the ship. See How to get ID for how to find it. Used for:
* External links to zKillboard, EVE Workbench, Janice and EVE Ref: (not for tt)
* Ship image from CCP image server when no local image available. - shipimg [Preferred] [bl, tt]
- Name of the local image file with extension. Used to show the image. Overrules the use of the CCP image server (see shipid)
- shipname [Required] [bl, tt]
- The name of the ship. Exactly as written in-game. Must be identical to the article name. Used for:
* Show ship name;
* Show ship name when hovering over the image;
* Breadcrumbs;
* Naming of external links, (see shipid). - class [Required] [bl]
- Class the ship belongs to. This info can be found in-game on the ship info. It is in the header, after the ship name, in parentheses (see table Ship classes). Used for:
* Excluding (special edition) shuttles from the external EVE Workbench link;
* Determine the (default) number of rigs (in combination with tech);
* Determine the (default) rig size;
* Determine (default) number of calibration points (in combination with grouping);
* Determine presence of Frigate Escape Bay;
* Part of the header text, [bl] only
Ship classes Class Grouping? Class group Notes Shuttle Shuttles Shuttle Special Edition Shuttles Faction Shuttles Corvette Corvettes Corvette Special Edition Corvettes Frigate Precursor Frigates Frigate Standard Frigates Special Edition Frigates Navy Faction Frigates Pirate Faction Frigates Assault Frigate Assault Frigates Special Edition Assault Frigates Logistics Frigate Logistics Frigates Covert Ops Covert Ops Special Edition Covert Ops Electronic Attack Ship Electronic Attack Frigates Special Edition Electronic Attack Frigates Expedition Frigate Expedition Frigates Interceptor Interceptors Special Edition Interceptors Stealth Bomber Covert Ops Special Edition Covert Ops Prototype Exploration Ship Special Edition Frigates Destroyer Precursor Destroyers Destroyer Standard Destroyers Navy Faction Destroyers Command Destroyer Command Destroyers Tactical Destroyer Tactical Destroyers Interdictor Interdictors Cruiser Precursor Cruisers Cruiser Standard Cruisers Special Edition Cruisers Navy Faction Cruisers Pirate Faction Cruisers Combat Recon Ship Recon Ships Force Recon Ship Recon Ships Special Edition Recon Ships Heavy Assault Cruiser Heavy Assault Cruisers Special Edition Heavy Assault Cruisers Heavy Interdiction Cruiser Heavy Interdiction Cruisers Special Edition Heavy Interdiction Cruisers Logistics Cruiser Logistics Cruisers In-game: Logistics Special Edition Logistics Cruisers Strategic Cruiser Strategic Cruisers Attack Battlecruiser Standard Battlecruisers Battlecruiser Combat Battlecruiser Precursor Battlecruisers Standard Battlecruisers Special Edition Battlecruisers Navy Faction Battlecruisers Command Ship Command Ships Battleship Precursor Battleships Battleship Standard Battleships Special Edition Battleships Navy Faction Battleships Pirate Faction Battleships Black Ops Black Ops Special Edition Battleships Marauder Marauders Carrier Carriers Carrier Supercarrier Supercarriers Supercarrier In-game grouping: Carriers Pirate Faction Supercarriers Force Auxiliary Force Auxiliaries Force Auxiliary Pirate Faction Force Auxiliaries Dreadnought Dreadnoughts Dreadnought Navy Faction Dreadnoughts Pirate Faction Dreadnoughts Titan Titans Titan Faction Titans Hauler Standard Haulers Hauler Special Edition Industrial Ships Industrial Ships is the "old" name for Haulers Blockade Runner Transport Ships Deep Space Transport Transport Ships Freighter Freighters Freighter Jump Freighter Jump Freighters Jump Freighter Mining Barge Mining Barges Mining Barge Exhumer Exhumers Exhumer Industrial Command Ship Industrial Command Ships Industrial Command Ship ? Capital Industrial Ship Capital Industrial Ships Capital Industrial Ship
Default number of rigs Class Tech # Rigs Corvette
Freighter
Jump Freighter
Prototype Exploration Ship
Shuttle- 0 Other 2 2 Other 3
Default rig size Class Size Corvette
Freighter
Jump Freighter
Prototype Exploration Ship
ShuttleNone Assault Frigate
Command Destroyer
Covert Ops
Destroyer
Electronic Attack Ship
Expedition Frigate
Frigate
Interceptor
Interdictor
Logistics Frigate
Stealth Bomber
Tactical Destroyersmall Attack Battlecruiser
Blockade Runner
Combat Battlecruiser
Combat Recon Ship
Command Ship
Cruiser
Deep Space Transport
Exhumer
Force Recon Ship
Hauler
Heavy Assault Cruiser
Heavy Interdiction Cruiser
Logistics Cruiser
Mining Barge
Strategic Cruisermedium Battleship
Black Ops
Industrial Command Ship
Marauderlarge Capital Industrial Ship
Carrier
Dreadnought
Force Auxiliary
Supercarrier
Titancapital
Default number of calibration points Class Grouping Points Corvette
Freighter
Jump Freighter- 0 Prototype Exploration Ship
Shuttle1 Other Pirate Faction Ships
Pirate Faction Frigates
Pirate Faction Destroyers
Pirate Faction Cruisers
Pirate Faction Battlecruisers
Pirate Faction Battleships
Pirate Faction Dreadnoughts
Pirate Faction Supercarriers
Pirate Faction Force Auxiliaries
Pirate Faction Titans350 Other 400
Frigate escape bay Class Grouping Battleship Precursor Battleships Standard Battleships Special Edition Battleships Navy Faction Battleships Pirate Faction Battleships Black Ops Black Ops Special Edition Battleships Marauder Marauders
- grouping [Required] [tt]
- Name of the market group the ship belongs to (See grouping guidlines). Used for:
* Ship category in breadcrumbs;
* Ship category under ship image;
* Determine (default) number of calibration points (in combination with class);
* Part of the header, [tt]
grouping guidelines
|
---|
grouping is the name of the market group that directly contains ships, ignoring faction groups.
|
- hulltype [Required] [tt]
- Ships basic hulltype. The Tech1 shipname when there are variations i.e. The Vexor, Guardian-Vexor, Ishtar and Vexor Navy Issue all have Vexor for their hulltype. Otherwise use the shipname.
Used for: <Hull type> Class under ship image. The word Class must be included. - faction [Required] [bl]
- Name of the faction the ship belongs to. Used for:
* Faction name under/on ship image;
* Faction logo under ship image;
* Show faction name when hovering over the logo. - variations [bl]
- List of ship on the variations tab in-game. Defaults to: none
Use the template{{Ship}}
. If more than one, separate by ",<space>
".
Put other ship comparisons in the notes section of the ship article. - tech [bl, tt]
- The ships tech "level". Unused for Tech1 ships (2 for Tech2, 3 for Tech3, F for faction and S for storyline) Used for:
* Techcorner on ship image;
* Determine the (default) number of rigs (in combination with class)
- powergrid [tt]
- Amount of Powergrid the ship has. Including the unit i.e.
700 MW
. Defaults to: 0 MW - cpu [tt]
- Amount of CPU the ship has. Including the unit i.e.
300 tf
. Defaults to: 0 tf - capacitor
- Capacitor capacity. Including the unit i.e.
1,450 GJ
. Defaults to: 0 GJ
- highs [bl, tt]
- Number of high power slots. Defaults to: 0
- turrets [bl, tt]
- Number of turret hard-points. Defaults to: 0
- launchers [bl, tt]
- Number of launcher hard-points. Defaults to: 0
- mediums [bl, tt]
- Number of medium power slots. Defaults to: 0
- lows [bl, tt]
- Number of low power slots. Defaults to: 0
- mass
- The ship's mass. Including the unit i.e.
1,100,000 kg
. Defaults to: 0 kg - volume
- The ship's volume (unpackaged). Including the unit i.e.
115,000 {{m3}}
. Defaults to: 0 m3
- cargohold [bl, tt]
- Capacity of the standard cargo hold. Including the unit i.e.
480 {{m3}}
. Defaults to: 0 m3 - extraholdtype Optional
- Type of an additional hold/bay (Mining, Gas, Ice, Minerals, Planetary Commodities, Command Center, Ammo, Fleet Hangar, Fuel Bay, Ship Maintenance Bay).
- extrahold Optional
- Capacity of an additional hold/bay. Required when extraholdtype is used.
- extrahold<x>type Optional
- <x> is 2 till 4. See extraholdtype
- extrahold<x> Optional
- <x> is 2 till 4. See extrahold
- Drones. Overruled when fighterbay is used. Defaults to: "No drone bay." when neither dronebay nor fighterbay are used.
- dronebay [bl]
- Dronebay capacity. Including the unit i.e.
125 {{m3}}
. - bandwidth [bl]
- Drone bandwidth. Including the unit i.e.
75 Mbit/sec
. Required when dronebay is used.
- Drones. Overruled when fighterbay is used. Defaults to: "No drone bay." when neither dronebay nor fighterbay are used.
- Fighters. Overrules dronebay.
- fighterbay [bl]
- Fighter bay capacity. Including the unit i.e.
60,000 {{m3}}
. - fightertubes [bl]
- Number of fighter tubes. Required when fighterbay is used.
- lightfightersquadlimit
- Max number of light fighters. (Optional not visible when not used)
- heavyfightersquadlimit
- Max number of heavy fighters. (Optional not visible when not used)
- supportfightersquadlimit
- Max number of support fighters. (Optional not visible when not used)
- Fighters. Overrules dronebay.
- info [bl]
- The text found on the Description tab of the in-game ship info.
- bonuses [bl]
- List of bonuses applied to the ship (Source; Trait tab in-game ship info). Optional not visible when not used.
Preferably in the same order as on the Traits tab. Group headers like <skill> or role are bolded, header and actual bonuses are separated by <br> and may each be put on their own line to make it easier to read the source. Use • for things like "Can fit module"
example:bonuses= '''Gallente Cruiser bonuses (per skill level):'''<br>
5% bonus to Medium Hybrid Turret damage<br>
10% bonus to Drone hitpoints, damage and mining yield<br>
• Can fit module
- structurehp
- Hitpoint value of the hull. Including the unit i.e.
2,000 HP
. Defaults to: 0 HP
- armorhp [bl]
- Hitpoint value of the armor. Including the unit i.e.
2,000 HP
. Defaults to: 0 HP - armorem [bl]
- Armor resistance percentage for electromagnetic damage. Defaults to: 0
- armorherm [bl]
- Armor resistance percentage for thermal damage. Defaults to: 0
- armorkin [bl]
- Armor resistance percentage for kinetic damage. Defaults to: 0
- armorexp [bl]
- Armor resistance percentage for explosive damage. Defaults to: 0
- shieldhp [bl]
- Hitpoint value of the shield. Including the unit i.e.
2,000 HP
. Defaults to: 0 HP - shieldem [bl]
- Shield resistance percentage for electromagnetic damage. Defaults to: 0
- shieldtherm [bl]
- Shield resistance percentage for thermal damage. Defaults to: 0
- shieldkin [bl]
- Shield resistance percentage for kinetic damage. Defaults to: 0
- shieldexp [bl]
- Shield resistance percentage for explosive damage. Defaults to: 0
- maxvelocity [bl, tt]
- Maximum velocity. Including the unit i.e.
195 m/s
. Defaults to: 0 m/s - inertia
- Inertia modifier. Defaults to: 0.0
- warpspeed
- Warp speed. Including the unit i.e.
4 AU/s
. Defaults to: 0 AU/s - warptime
- Base time to warp (manually calculated). Including the unit i.e.
8.62 s
. (see Accelerating to warp for the calculation.)
- targetrange [bl]
- Maximum range to lock targets. Including the unit i.e.
52.5 km
. Defaults to: 0 km - maxlockedtargets
- Maximum number of simultaneously lockable targets. Defaults to: 0
- sigradius [bl]
- Signature radius. Including the unit i.e.
145 m
. Defaults to: 0 m - scanres
- Scan Resolution. Including the unit i.e.
280 mm
. Defaults to 0 mm - sensortype
- Type of sensor used. Defaults to: Multi. Otherwise use one of Gravimetric, LADAR, Magnetrometric or RADAR. Used for: Ship attributes.
- sensorvalue
- Sensor strength value. Including the unit i.e.
16 points
. Defaults to: 0 points
- reqskills
- List of skills required to fly the hull. Use the template
{{RequiredSkill}}
. Defaults to: none
Use wiki mark-up for an unordered list (*). For skills that are prerequisites for other skills use nested lists. (Note: make sure the * starts at the first position of the line, except for the first if behind reqskills=, otherwise the wiki mark-up will not recognize it as an unordered list.)
Examplereqskills= * {{RequiredSkill|Gallente Cruiser|I}} ** {{RequiredSkill|Spaceship Command|II}} ** {{RequiredSkill|Gallente Destroyer|III}} *** {{RequiredSkill|Gallente Frigate|III}} **** {{RequiredSkill|Spaceship Command|I}} - totaltraintime
- Training time for the skills in Required Skill (manually calculated). Including the unit i.e.
19h 15m 30s
. Not visible when no required skills.
- forumlinks Optional
- List of relevant forum links. When more than one separate by "
,<br>
". (not visible when not used) - wikireferences
- List of relevant UniWiki article links (Has some build-in). When more than one separate by "
,<br>
". - externallinks
- List of relevant external links (zKillboard, EVE Workbench, Janice and EVE Ref are build in). When more than one separate by "
,<br>
". - highlights<x> Optional [tt]
- <x> is 1 till 4. highlights. (not visible when not used)
- Overrides, use only when the build in results are incorrect.
- rigs_count
- Override for (default) number of rigs.
- rigs_size
- Override for (default) size of rigs.
- rigs_calibration
- Override for (default) number of calibration points.
- Overrides, use only when the build in results are incorrect.
Example
An example of a proper template would be:
{{ShipArticle <!-- Template marker : DON'T EDIT LINE --> <!----------------------------------------------------------- * SHIP ATTRIBUTES SECTION (last update : 2022-12-10) ------------------------------------------------------------- * on editing the attributes, please make sure that you don't * leave/mistype any tags required. please follow the same * format below and edit only the values (after the = sign). -------------------------------------------------------------> | shipid= 24688 | shipimg= Rokh.jpg | shipname= Rokh | class= Battleship | grouping= Standard Battleships | hulltype= Rokh Class | faction= Caldari State | variations= | tech= | powergrid= 15,000 MW | cpu= 780 tf | capacitor= 6,000 GJ | highs= 8 | turrets= 8 | launchers= 4 | mediums= 6 | lows= 5 | mass= 105,300,000 kg | volume= 470,000 m³ | cargohold= 820 m³ | extraholdtype= | extrahold= | dronebay= 50 m³ | bandwidth= 50 Mbit/sec | info= <b>Development</b><br>Having long suffered the lack of an adequate hybrid platform, the Caldari State's capsule pilots found themselves rejoicing as the Rokh's design specs were released. A fleet vessel if ever there was one, this far-reaching and durable beast is expected to see a great deal of service on battlefields near and far. | bonuses=<b>Caldari Battleship bonuses (per skill level):</b><br> 10% bonus to Large Hybrid Turret optimal range<br> 4% bonus to all shield resistances<br> '''Role bonus:'''<br> 100% bonus to Shield Extender hitpoints<br> 50% bonus to Armor Plate hitpoints<br> 5% additional bonus to Reinforced Bulkhead hitpoints | structurehp= 8,250 HP | armorhp= 7,700 HP | armorem= 50 | armortherm= 45 | armorkin= 25 | armorexp= 10 | shieldhp= 9,350 HP | shieldem= 0 | shieldtherm= 20 | shieldkin= 40 | shieldexp= 50 | maxvelocity= 89 m/sec | inertia= 0.136 | warpspeed= 3 AU/s | warptime= 19.85 s | targetrange= 108 km | maxlockedtargets= 7 | sigradius= 500 m | scanres= 98 mm | sensortype= Gravimetric | sensorvalue= 24 points | reqskills=*{{RequiredSkill|Caldari Battleship|I}} **{{RequiredSkill|Spaceship Command|IV}} **{{RequiredSkill|Caldari Battlecruiser|III}} ***{{RequiredSkill|Spaceship Command|III}} ***{{RequiredSkill|Caldari Cruiser|III}} ****{{RequiredSkill|Spaceship Command|II}} ****{{RequiredSkill|Caldari Destroyer|III}} *****{{RequiredSkill|Caldari Frigate|III}} ******{{RequiredSkill|Spaceship Command|I}} | totaltraintime= 3d 20h 55m 10s | forumlinks= | wikireferences= | externallinks= | highlights1= | highlights2= | highlights3= | highlights4= }}