Difference between revisions of "Template:ShipArticle/doc"

From EVE University Wiki
Jump to: navigation, search
(Typos; phrasing; removed note and deprecated parameters. Awesome work Evon! :))
m (Remove Special Edition Shuttle class from template, it does not exist in-game.)
Line 1: Line 1:
{{cleanup|Standardize [[Template:Documentation/preload|documentation]]. Explain auto image fetching from [https://images.evetech.net/ CCP Servers]. [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 11:33, 27 July 2022 (UTC)}}
+
<includeonly>{{#css:
{{Work in progress|Both the actual template and the doc page are being overhauled. The doc in situ and the template in [[User:Evon R'al/Sandbox template]]|date= 13:15, 15 January 2023 (UTC) }}
+
<!-- More CSS in MediaWiki:Common.css -->
 +
<!--***  overrides  ***-->
 +
#bodyContent
 +
{
 +
  margin-top: -1.5em;
 +
}
  
; Description
+
#firstHeading
: This template is used to create a ship page for the [[:Category:Ship Database|Ship Database]].
+
{
 +
  display: none;
 +
}
  
; Dependencies
+
h1, h2
:; Uses:
+
{
:: [[MediaWiki:Common.css]] Elements identified by ''#ship-article''.
+
  background-color: black;
:: [[:file:no-image.png|no-image.png]] Default ship image when neither <kbd>shipid</kbd> nor <kbd>shipimg</kbd> are given. Default faction logo when <kbd>faction</kbd> is empty or unknown.
+
  border-bottom: 1px solid #2D2413;
::; Build-in UniWiki links to
+
  border-top: 1px solid #2D2413;
::: [[Ships]]
+
  clear: both;
::; Build-in external links to
+
  font-family: trebuchet MS;
::: [https://zkillboard.com/ zKillboard]
+
  font-variant: small-caps;
::: [https://www.eveworkbench.com/ EVE Workbench]
+
  height: 25px;
::: [https://evepraisal.com/ evepraisal]
+
  line-height: 25px;
::: [https://everef.net/ EVE Ref]
+
  padding: 0 3px;
::; Indirectly used:
+
  text-align: center;
::: {{T|RequiredSkill}} to fill the parameter '''reqskill'''
+
}
::: {{T|Ship}} which in-turn calls {{T|ShipBoxTooltip}} to fill the parameter '''variations'''
 
:; Used by:
 
:: {{T|Ship}} Wrapper for:
 
::: {{T|ShipBoxLarge}} Uses part of the parameter set. Used parameters are marked with {{Co|yellow|bl}}
 
::: {{T|ShipBoxTooltip}} Uses part of the parameter set. Used parameters are marked with {{Co|yellow|tt}}
 
  
; Syntax
+
h1 { color: darkorange; font-size: 140%; }
<pre>
+
h2 { color: white; font-size: 120%; }
&lt;onlyinclude&gt;{{{{#if:{{{mode|}}}|{{#switch:{{{mode}}}|box=ShipBoxLarge|#default=ShipBoxTooltip}}|ShipArticle}} <!-- Template marker : DON'T EDIT LINE -->
+
h3 { border-bottom: 1px solid #2C2B2B; clear: both; font-size: 132%; }
<!-----------------------------------------------------------
 
* 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
 
}}&lt;/onlyinclude&gt; <!-- Template marker : DON'T EDIT LINE -->
 
</pre>
 
  
: '''Note: '''While <nowiki>{{ShipArticle}}</nowiki> on its own will work, leaving out the other parts given in the syntax will break the functioning of <nowiki>{{ShipBoxTooltip}}</nowiki> and <nowiki>{{ShipBoxLarge}}</nowiki>.
+
.attributes
 +
{
 +
  background-color: transparent;
 +
  margin-left: 5px;
 +
}
  
{{CollapseBox
+
.attributes h3
|width= 40em
+
{
|This box contains all parameters for ease of copying into a new page.<br>
+
  color: #494949;
Paste into the syntax above, replacing "''{{!}}shipid  ... parameter list''".
+
  font-size: 12px;
|<pre>
+
  font-variant: small-caps;
| shipid=
+
  font-weight: normal;
| shipimg=
+
  line-height: 100%;
| shipname=
+
  text-align: right;
| class=
+
}
| grouping=
 
| hulltype=
 
| faction=
 
| race=
 
| roles=
 
| variations=
 
| tech=
 
| ecmprio=
 
  
| powergrid=
+
.attributes .token
| cpu=
+
{
| capacitor=
 
  
| highs=
+
}
| turrets=
 
| launchers=
 
| mediums=
 
| lows=
 
  
| mass=
+
.attributes .separator
| volume=
+
{
 +
  height: 0;
 +
}
  
| cargohold=
+
.att-line
| extraholdtype=
+
{
| extrahold=
+
  font-size: 11px;
| extrahold2type=
+
}
| extrahold2=
 
| extrahold3type=
 
| extrahold3=
 
| extrahold4type=
 
| extrahold4=
 
  
| dronebay=
+
.attributes .token .line-label .label
| bandwidth=
+
{
 +
  color: #494949;
 +
  font-size: 12px;
 +
  font-variant: small-caps;
 +
  font-weight: normal;
 +
  line-height: 100%;
 +
  text-align: right;
 +
}
  
| fighterbay=
+
.att-line .att-item
| fightertubes=
+
{
| lightfightersquadlimit=
+
  display: inline-block;
| heavyfightersquadlimit=
+
  margin-bottom: 3px;
| supportfightersquadlimit=
+
  padding: 1px 5px;
 +
}
  
| info=
+
.att-line .highlight
| bonuses=
+
{
 +
  color: white;
 +
}
  
| structurehp=
+
.att-line .att-item .item
 +
{
 +
  display: inline-block;
 +
  height: 21px;
 +
  line-height: 21px;
 +
}
  
| armorhp=
+
.att-line .att-item .snip
| armorem=
+
{
| armortherm=
+
  color: #656565;
| armorkin=
+
  font-size: 70%;
| armorexp=
+
  margin-left: 5px;
 +
  position: relative;
 +
}
  
| shieldhp=
+
.att-line .att-item .snip .desc
| shieldem=
+
{
| shieldtherm=
+
  background-color: black;
| shieldkin=
+
  border: 2px dashed #582806;
| shieldexp=
+
  color: #CCCCCC;
 +
  display: none;
 +
  font-size: 11px;
 +
  line-height: 120%;
 +
  padding: 5px;
 +
  position: absolute;
 +
  right: 0;
 +
  text-align: justify;
 +
  width: 300px;
 +
}
  
| maxvelocity=
+
.att-line .att-item .snip:hover .desc,
| inertia=
+
.att-line .att-item .snip.hover .desc
| warpspeed=
+
{
| warptime=
+
  display: block;
 +
}
  
| targetrange=
+
.att-line .att-item .att-img
| maxlockedtargets=
+
{
| sigradius=
+
  line-height: 20px;
| scanres=
+
  margin: 0 2px;
| sensortype=
+
}
| sensorvalue=
 
  
| reqskills=
+
.att-line .att-item .att-img img
| totaltraintime=
+
{
 +
  margin-top: -2px;
 +
}
  
| forumlinks=
+
.att-line .att-item .att-label
| wikireferences=
+
{
| externallinks=
+
  color: #7D6843;
| highlights1=
+
}
| highlights2=
 
| highlights3=
 
| highlights4=
 
  
| rigs_count=
+
.box-resist
| rigs_size=
+
{
| rigs_calibration=
+
  height: 15px;
</pre>
+
  line-height: 15px;
 +
  width: 50px;
 +
}
 +
 
 +
.bgr-em { background-color: #121923; }
 +
.bgr-thr { background-color: #290b0b; }
 +
.bgr-kin { background-color: #292021; }
 +
.bgr-exp { background-color: #2b190b; }
 +
.val-em { background-color: #1c5d85; }
 +
.val-thr { background-color: #8d1717; }
 +
.val-kin { background-color: #757575; }
 +
.val-exp { background-color: #875f1a; }
 +
 
 +
.box-resist .resist-value .value-text
 +
{
 +
  font-family: trebuchet MS;
 +
  font-size: 11px;
 +
  font-weight: bold;
 +
  text-align: center;
 +
  width: 50px;
 +
}
 +
 
 +
<!--***  overrides(end)  ***-->
 +
 
 +
#ship-article .ignore a
 +
{
 +
  background: none;
 +
  color: #4C4C4C;
 +
}
 +
 
 +
#ship-article .ignore a:hover,
 +
#ship-article .ignore a.hover
 +
{
 +
  color: orange;
 +
}
 +
 
 +
.techcorner
 +
{
 +
  width: 64px;
 +
  height: 64px;
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 +
  margin-left: 1px;
 +
  margin-top: 1px;
 +
}
 
}}
 
}}
 +
<div id='ship-article'>
 +
<!--####    Header    #####-->
 +
<div class='header'>
 +
  <div class='headerbg'>[[Image:Eve_university_dbase_header.png|605x50px|EVE University Database]]</div>
 +
  <div class='mask'>&nbsp;</div>
 +
  <div class='dbtitle'>Ship Database</div>
 +
  <div class='shipname'>{{#if: {{{shipname|}}} |{{{shipname}}} |{{Co|red|! shipname missing !}} }}</div>
 +
</div>
  
:; Parameters
+
<!--####    breadcrumbs    ####-->
::; shipid {{Co|palegreen|[Preferred]}} : EVE Online database ID for the ship. See [[How to get ID]] for how to find it. Used for: <br>* External links to zKillboard, EVE workbench, evepraisal and EVE Ref: <br>* Ship image from CCP image server when no local image available.
+
<!--* Breadcrumbs *-->
:;; shipimg {{Co|palegreen|[Preferred]}} {{Co|yellow|[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''')
+
<div class='breadcrumbs'>[[:Category:Ship Database|Ship Database]]<span class='separator'>&#9656;</span>{{#if: {{{grouping|}}} |[[:Category:{{{grouping}}}|{{{grouping}}}]] |{{Co|red|! grouping missing !}} }}<span class='separator'>&#9656;</span>{{#if: {{{shipname|}}} | [[{{{shipname}}}]] }}
:;; shipname {{Co|palegreen|[Required]}} {{Co|yellow|[bl, tt]}} : The name of the ship. Exactly as written in-game. Must be identical to the article name. Used for: <br>* Show ship name; <br>* Show ship name when hovering over the image; <br>* Breadcrumbs; <br>* Naming of external links, (see '''shipid''').
+
</div>
::; class {{Co|palegreen|[Required]}} {{Co|yellow|[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: <br>* Excluding (special edition) shuttles from the external EVE Workbench link; <br>* Determine the (default) number of rigs (in combination with '''tech'''); <br>* Determine the (default) rig size; <br>* Determine (default) number of calibration points (in combination with '''grouping'''); <br>* Determine presence of Frigate Escape Bay; <br>* Part of the header text, {{Co|yellow|[bl]}} only
+
 
{{Note box|
+
<!--#####    Main    ####-->
2022-12-28 - Be aware: the tables give the "old" values. this part of the template is being worked on.
+
<div class='main'>
}}
+
  <table cellspacing='0' cellpadding='0' style='width: 100%'>
 +
  <tr>
 +
 
 +
<!--***************
 +
***  Main left  ***
 +
*******************-->
 +
    <td valign='top' class='left-col'>
 +
 
 +
<!--* Ship image block *-->
 +
    <div style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}}
 +
      | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
 +
      }}{{#ifexist: File:{{{shipimg}}}
 +
        | [[Image:{{{shipimg}}}|center|link= |256x256px|{{{shipname|}}}]]
 +
        | {{#if: {{{shipid|}}}
 +
          | https://images.evetech.net/types/{{{shipid}}}/render?size=256&.jpg
 +
          | [[Image:no-image.png|center|link= |256x256px|{{{shipname|}}}]]
 +
          }}
 +
        }}
 +
    </div>
 +
 
 +
    <div class='box-line box-info'>
 +
      <table class='ecm-info' cellspacing='0' cellpadding='0'>
 +
      <tr>
 +
 
 +
<!--** Ship image block "caption" left **-->
 +
        <td rowspan='3' class='faction-img'>[[Image:{{#switch: {{lc: {{{faction}}} }}
 +
          | angel cartel= Logo_faction_angel_cartel.png
 +
          | amarr empire= Logo_faction_amarr_empire.png
 +
          | blood raiders= Logo_faction_the_blood_raider_covenant.png
 +
          | caldari state= Logo_faction_caldari_state.png
 +
          | concord= Logo_faction_concord_assembly.png
 +
          | edencom= Logo_faction_edencom.png
 +
          | gallente federation= Logo_faction_gallente_federation.png
 +
          | guristas= Logo_faction_guristas_pirates.png
 +
          | intaki syndicate= Logo faction the syndicate.png
 +
          | interbus= Logo faction the interbus.png
 +
          | jovian directorate= Logo faction jove empire.png
 +
          | minmatar republic= Logo_faction_minmatar_republic.png
 +
          | mordu's legion= Logo_faction_mordus_legion.png
 +
          | outer ring excavations= Logo_faction_outer_ring_excavations.png
 +
          | sansha's nation= Logo_faction_sanshas_nation.png
 +
          | serpentis= Logo_faction_serpentis.png
 +
          | sisters of eve= Logo_faction_sisters_of_eve.png
 +
          | society of conscious thought= Logo_faction_the_society.png
 +
          | triglavian collective= Logo faction triglavian collective.png
 +
          | #default= no-image.png
 +
          }}|center|link=|50px|{{{faction|}}} ]]
 +
        </td>
 +
 
 +
<!--** Ship image block "caption" center, line 1 **-->
 +
        <td class='faction'>{{#if: {{{faction|}}} |{{{faction}}} |{{Co|red|! faction missing !}} }}</td>
 +
 
 +
<!--** Ship image block "caption" right **-->
 +
        <td rowspan='3' style='width: 70px;'>
 +
        <div class='ecm-priority'>
 +
          <div class='label'>ECM PRIORITY</div>
 +
          <div class='value normal'>{{#switch: {{{ecmprio}}}
 +
            | 0= NONE
 +
            | 1= LOW
 +
            | 2= NORMAL
 +
            | 3= HIGH
 +
            | 4= HIGHEST
 +
            | #default= UNKNOWN
 +
            }}
 +
          </div>
 +
          <div class='label2 type-gravimetric'>{{#ifeq: {{lc: {{{sensortype}}} }} | magnetometric
 +
            | <span style='font-size: 9px;'>Magnetometric</span>
 +
            | {{#if: {{{sensortype|}}} |{{{sensortype}}} | Multi }}
 +
            }}
 +
          </div>
 +
          <div class='snip'>what's this?</div>
 +
          <div class='ecm-desc'>
 +
          <p>
 +
            <div class='innervalue'><span class='normal'>{{#switch: {{{ecmprio}}}
 +
              | 0= NONE
 +
              | 1= LOW
 +
              | 2= NORMAL
 +
              | 3= HIGH
 +
              | 4= HIGHEST
 +
              | #default= Unknown
 +
              }}</span> Priority Target
 +
            </div>
 +
            <hr>Refer to your best judgement or the FC instructions on jamming targets. The priority displayed here is meant only as a basic guideline for prioritizing targets on a theoretical level, actual field priority may differ depending on the circumstances.
 +
            <hr>
 +
            <ul>
 +
            <li> [[Alphabetical_Ship_List|List of Jamming Priorities by Alphabet]]</li>
 +
            <li> [https://forum.eveuniversity.org/search.php?keywords=ewar Forum Discussions for E-War]</li>
 +
            </ul>
 +
          </p>
 +
          </div>
 +
        </div>
 +
        </td>
 +
      </tr>
 +
 
 +
<!--** Ship image block "caption" center, line 2 **-->
 +
      <tr>
 +
        <td class='hull-type'>{{#if: {{{grouping|}}} |[[:Category:{{{grouping}}} |{{{grouping}}} ]] }}</td>
 +
      </tr>
 +
 
 +
<!--** Ship image block "caption" center, line 3 **-->
 +
      <tr>
 +
        <td class='hull-title'>{{#if: {{{hulltype|}}} |{{{hulltype}}} |{{Co|red|! hulltype missing !}} }}</td>
 +
      </tr>
 +
 
 +
      </table>
 +
    </div><!--
 +
* Highlights *
 +
-->  {{#if: {{{highlights1|}}} {{{highlights2|}}} {{{highlights3|}}} {{{highlights4|}}}
 +
      |
 +
    <div class='box-line box-awards'><!--
 +
-->    {{#if: {{{highlights1|}}}
 +
      | <div class='award'>
 +
          <div class='award-img'>[[Image:Icon_highlights.png|15x15px|Highlight]]</div>
 +
          <div class='award-label'>{{{highlights1}}}</div>
 +
          <div class='award-bgr'>HIGHLIGHTS</div>
 +
        </div>
 +
    }}<!--
 +
 
 +
-->  {{#if: {{{highlights2|}}}
 +
      | <div class='award'>
 +
          <div class='award-img'>[[Image:Icon_highlights.png|15x15px|Highlight]]</div>
 +
          <div class='award-label'>{{{highlights2}}}</div>
 +
          <div class='award-bgr'>HIGHLIGHTS</div>
 +
        </div>
 +
    }}<!--
 +
 
 +
-->  {{#if: {{{highlights3|}}}
 +
      | <div class='award'>
 +
          <div class='award-img'>[[Image:Icon_highlights.png|15x15px|Highlight]]</div>
 +
          <div class='award-label'>{{{highlights3}}}</div>
 +
          <div class='award-bgr'>HIGHLIGHTS</div>
 +
        </div>
 +
    }}<!--
 +
 
 +
-->  {{#if: {{{highlights4|}}}
 +
      | <div class='award'>
 +
          <div class='award-img'>[[Image:Icon_highlights.png|15x15px|Highlight]]</div>
 +
          <div class='award-label'>{{{highlights4}}}</div>
 +
          <div class='award-bgr'>HIGHLIGHTS</div>
 +
        </div>
 +
    }}
 +
    </div>
 +
}}<!--
 +
 
 +
* Forum links *-->
 +
    {{#if: {{{forumlinks|}}}
 +
      | <div class='box-line box-discussion'>
 +
        <div class='discussion-bgr'>FORUM DISCUSSION</div>
 +
        <div class='linkname'>{{{forumlinks}}}</div>
 +
        </div>
 +
    }}
 +
<!--
 +
* Wiki links *-->
 +
    <div class='box-line box-discussion'>
 +
      <div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
 +
      <div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div>
 +
    </div>
 +
 
 +
<!--* External links *-->
 +
    <div class='box-line box-discussion'>
 +
      <div class='discussion-bgr'>EXTERNAL LINKS</div>
 +
      <div class='linkname'>{{#if: {{{shipid|}}}
 +
        | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }}
 +
          | shuttle=
 +
          | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench]
 +
          }} <br>[https://evepraisal.com/item/{{{shipid}}}/ {{{shipname|}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref]
 +
      }}<br>{{{externallinks|}}}</div>
 +
    </div>
 +
    </td>
  
:::: {| class="wikitable collapsible collapsed sortable"
+
<!--****************
|+ Ship classes
+
***  Main right  ***
|-
+
********************-->
! style="min-width: 10em;" | Class !! style="min-width: 8em;" | Grouping<sup title="Market group in which the class can be found" style="color: orange; cursor: help;">?</sup> !! Class group !! Notes
+
    <td valign='top'>
|-
 
| rowspan=3 | Shuttle || Shuttles || rowspan=4 | Shuttle
 
|-
 
| Special Edition Shuttles
 
|-
 
| Faction Shuttles
 
|-
 
| ''Special Edition Shuttle'' || Special Edition Shuttles || In template, not In-game
 
  
|-
+
<!--* TOC and Ship info *-->
| rowspan=2 | Corvette || Corvettes || rowspan=2 | Corvette
+
    <div class='box-line'>
|-
+
      __TOC__
| Special Edition Corvettes
+
<!---->{{{info|}}} <!-- Comment in front is to suppress <pre> parsing -->
 +
    </div><!--
  
|-
+
* Ship bonuses(traits) *-->
| rowspan=5 | Frigate || Precursor Frigates || rowspan=18 | Frigate
+
    {{#if: {{{bonuses|}}}
|-
+
      | <div class='box-line box-bonuses'>
| Standard Frigates
+
          <div class='label'>SHIP BONUSES</div>
|-
+
<!--   -->{{{bonuses}}} <!-- Comment in front is to suppress <pre> parsing -->
| Special Edition Frigates
+
        </div>
|-
+
    }}<!--
| Navy Faction (Frigates)
 
|-
 
| Pirate Faction (Frigates)
 
|-
 
| rowspan=2 | Assault Frigate || Assault Frigates
 
|-
 
| Special Edition Assault Frigates
 
|-
 
| Logistics Frigate || Logistics Frigates
 
|-
 
| rowspan=2 | Covert Ops || Covert Ops
 
|-
 
| Special Edition Covert Ops
 
|-
 
| rowspan=2 | Electronic Attack Ship || Electronic Attack Frigates
 
|-
 
| Special Edition Electronic Attack Frigates
 
|-
 
| Expedition Frigate || Expedition Frigates
 
|-
 
| rowspan=2 | Interceptor || Interceptors
 
|-
 
| Special Edition Interceptors
 
|-
 
| rowspan=2 | Stealth Bomber || Covert Ops
 
|-
 
| Special Edition Covert Ops
 
|-
 
| '''Prototype Exploration Ship''' || Special Edition Frigates|| In-game, not in template
 
  
|-
+
-->  <div class='box-line'>
| rowspan=3 | Destroyer || Precursor Destroyers || rowspan=6 | Destroyer
+
      <table class='midinfo' cellspacing='0' cellpadding='0'>
|-
+
      <tr>
| Standard Destroyers
 
|-
 
| Navy Faction (Destroyers)
 
|-
 
| Command Destroyer || Command Destroyers
 
|-
 
| Tactical Destroyer || Tactical Destroyers
 
|-
 
| Interdictor || Interdictors
 
  
|-
+
<!--* Required skills *-->
| rowspan=5 | Cruiser || Precursor Cruisers || rowspan=16 | Cruiser
+
        <td class='left' style='width: 330px;'>
|-
+
        <div class='title'>Required Skills</div>
| Standard Cruisers
+
<!--   -->{{#if: {{{reqskills|}}} |{{{reqskills}}} |<i>none</i> }} <!-- comment in front is to suppress <pre> parsing -->
|-
+
<!--** Training time **-->
| Special Edition Cruisers
+
          {{#if: {{{reqskills|}}}
|-
+
            | <div class='skillstime'>
| Navy Faction (Cruisers)
+
                <span style='font-variant: small-caps;'>Training Time </span><span style='font-size: 70%;'>what's this?</span><div class='value'>{{{totaltraintime|}}}</div>
|-
+
                <div class='desc'>Estimated training time only for the listed skills based on zero [[Skills_and_learning#Implants|implants]] and without [[Skills_and_learning#Neural_remaps|neural remaps]].
| Pirate Faction (Cruisers)
+
                </div>
|-
+
              </div>
| Combat Recon Ship || Recon Ships
+
          }}
|-
+
        </td>
| rowspan=2 | Force Recon Ship || Recon Ships
 
|-
 
| Special Edition Recon Ships
 
|-
 
| rowspan=2 | Heavy Assault Cruiser || Heavy Assault Cruisers
 
|-
 
| Special Edition Heavy Assault Cruisers
 
|-
 
| rowspan=2 | Heavy Interdiction Cruiser || Heavy Interdiction Cruisers
 
|-
 
| Special Edition Heavy Interdiction Cruisers
 
|-
 
| ''Logistics Cruiser'' ||  || In-game: Logistics
 
|-
 
| rowspan=2 | '''Logistics''' || Logistics || rowspan=2 | In database: Logistics Cruiser
 
|-
 
| Special Edition Logistics
 
|-
 
| Strategic Cruiser || Strategic Cruisers
 
  
|-
+
<!--* Grouping *-->
| Attack Battlecruiser || Standard Battlecruisers || rowspan=6 | Battlecruiser
+
        <td class='right'>
|-
+
        <div class='title'>Grouping</div>
| rowspan=4 | Combat Battlecruiser || Precursor Battlecruisers
+
        <table cellspacing='0' cellpadding='0'>
|-
+
          <tr>
| Standard Battlecruisers
+
          <td style='width:70px;'><span style='color: #7D6843;font-size: 90%;'>&#9642; Role(s)</span></td>
|-
+
          <td><span>{{#if: {{{roles|}}} |{{{roles}}} |<i>unspecified</i> }}</span></td>
| Special Edition Battlecruisers
+
          </tr>
|-
+
        </table>
| Navy Faction (Battlecruisers)
+
        <div style='color: #7D6843; font-size: 90%;'>&#9642; Variations</div> <!-- to suppress <pre> parsing
|-
+
      --><span style='padding-left: 10px; display: block;'>{{#if: {{{variations|}}} |{{{variations}}} |<i>none</i> }}</span>
| Command Ship || Command Ships
+
        </td>
 +
        </tr>
 +
      </table>
 +
    </div>
  
|-
+
<!--* Ship attributes *-->
| rowspan=5 | Battleship || Precursor Battleships || rowspan=8 | Battleship
+
    <div class='box-line box-attributes'>
|-
+
      <h2 style='margin-left: 0;'>Ship Attributes</h2>
| Standard Battleships
+
      <table class='attributes' cellspacing='0' cellpadding='0'>
|-
 
| Special Edition Battleships
 
|-
 
| Navy Faction (Battleships)
 
|-
 
| Pirate Faction (Battleships)
 
|-
 
| rowspan=2 | Black Ops || Black Ops
 
|-
 
| Special Edition Battleships
 
|-
 
| Marauder || Marauders
 
  
|-
+
<!--** Ship attributes - Fittings **-->
| Carrier || Carriers || Carrier
+
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Fittings</span></td>
 +
        <td class='att-line'>
  
|-
+
<!--*** Powergrid ***-->
| rowspan=2 | Supercarrier || Carriers || rowspan=2 | Supercarrier
+
        <div class='att-item'>
|-
+
          <div class='item att-label'>Powergrid</div><div class='item att-img'>[[Image:icon_powergrid.png|20px|powergrid]]</div><div class='item att-value'>{{#if: {{{powergrid|}}} |{{{powergrid}}} |0 MW }}</div>
| Faction Carriers
+
        </div>
  
|-
+
<!--*** CPU ***-->
| rowspan=2 | Force Auxiliary || Force Auxiliaries || rowspan=2 | Force Auxiliary
+
        <div class='att-item'>
|-
+
          <div class='item att-label'>CPU</div><div class='item att-img'>[[Image:icon_cpu.png|20px|cpu output]]</div><div class='item att-value'>{{#if: {{{cpu|}}} |{{{cpu}}} |0 tf }}</div>
| Faction Force Auxiliaries
+
        </div>
  
|-
+
<!--*** Capacitor ***-->
| rowspan=3 | Dreadnought || Dreadnoughts || rowspan=3 | Dreadnought
+
        <div class='att-item'>
|-
+
          <div class='item att-label'>Capacitor</div><div class='item att-img'>[[Image:Icon_capacitor_capacity.png|20px|capacitor]]</div><div class='item att-value'>{{#if: {{{capacitor|}}} |{{{capacitor}}} |0 GJ }}</div>
| Navy Faction (Dreadnoughts)
+
        </div>
|-
 
| Pirate Faction (Dreadnoughts)
 
  
|-
+
<!--*** High slots ***-->
| rowspan=2 | Titan || Titans || rowspan=2 | Titan
+
        <div class='att-item'>
|-
+
          <div class='item att-label'>High</div><div class='item att-img'>[[Image:icon_hi_slot.png|20px|high slots]]</div><div class='item att-value'>{{#if: {{{highs|}}} |{{{highs}}} |0 }}</div>
| Faction Titans
 
  
|-
+
<!--*** Launchers ***-->
| rowspan=2 | Hauler || Standard Haulers || rowspan=4 | Hauler
+
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px;'>Launchers</div><div class='item att-img'>[[Image:icon_launcher_hp.png|20px|launcher slots]]</div><div class='item att-value'>{{#if: {{{launchers|}}} |{{{launchers}}} |0 }}</div>
|-
 
| Special Edition Industrial Ships || Industrial Ships is the "old" name for Haulers
 
|-
 
| Blockade Runner || Advanced Haulers
 
|-
 
| Deep Space Transport || Advanced Haulers
 
  
|-
+
<!--*** Turrets ***-->
| Freighter || Freighters || Freighter
+
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px;'>Turrets</div><div class='item att-img'>[[Image:icon_turret_hp.png|20px|turret slots]]</div><div class='item att-value'>{{#if: {{{turrets|}}} |{{{turrets}}} |0 }}</div>
  
|-
+
        </div>
| Jump Freighter || Jump Freighters || Jump Freighter
+
<!--*** Medium slots ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Medium</div><div class='item att-img'>[[Image:icon_mid_slot.png|20px|medium slots]]</div><div class='item att-value'>{{#if: {{{mediums|}}} |{{{mediums}}} |0 }}</div>
 +
        </div>
  
|-
+
<!--*** Low slots ***-->
| Mining Barge || Mining Barges ||Mining Barge
+
        <div class='att-item'>
 +
          <div class='item att-label'>Low</div><div class='item att-img'>[[Image:icon_low_slot.png|20px|low slots]]</div><div class='item att-value'>{{#if: {{{lows|}}} |{{{lows}}} |0 }}</div>
 +
        </div>
  
|-
+
<!--*** Rigs ***-->
| Exhumer || Exhumers || Exhumer
+
        <div class='att-item'>
 +
          <div class='item att-label'>Rig </div><div class='item att-img'>[[Image:icon_rigs.png|20px|rigs]]</div>
 +
              {{#if: {{{rigs_count|}}}
 +
              | <div class='item att-value'>{{{rigs_count}}}</div>
 +
              | <div class='item att-value'>{{#switch: {{lc: {{{class}}} }}
 +
                | corvette
 +
                | shuttle
 +
                | freighter
 +
                | jump freighter= 0
 +
                | #default={{#switch: {{{tech}}}
 +
                  | 2= 2
 +
                  | #default= 3
 +
                  }}
 +
                }}</div>
 +
              }}
 +
              &nbsp;{{#if: {{{rigs_size|}}}
 +
                |<div class='item att-value'>{{{rigs_size}}}</div>
 +
                |<div class='item att-value'>{{#switch: {{lc: {{{class}}} }}
 +
                  | corvette
 +
                  | shuttle
 +
                  | freighter
 +
                  | jump freighter= ''
  
|-
+
                  | assault frigate
| Industrial Command Ship || Industrial Command Ships || Industrial Command Ship ?
+
                  | logistics frigate
 +
                  | covert ops
 +
                  | destroyer
 +
                  | command destroyer
 +
                  | tactical destroyer
 +
                  | electronic attack ship
 +
                  | expedition frigate
 +
                  | frigate
 +
                  | interceptor
 +
                  | interdictor
 +
                  | stealth bomber= small
  
|-
+
                  | attack battlecruiser
| Capital Industrial Ship || Capital Industrial Ships || Capital Industrial Ship
+
                  | 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 cruiser= medium
  
|}
+
                  | battleship
:::: '''Bold''': In-game, not used in the template<br> ''Italic'': Used in the template not found in-game
+
                  | black ops
:::: {| class="wikitable collapsible collapsed"
+
                  | industrial command ship
|+ Default number of rigs
+
                  | marauder= large  
|-
 
! style="min-width: 10em;" | Class !! style="min-width: 8em;" | Tech !! # Rigs
 
|-
 
| Corvette<br> Shuttle<br> Freighter<br> Jump Freighter
 
| -
 
| 0
 
|-
 
| rowspan=2 | Other
 
| 2
 
| 2
 
|-
 
| Other
 
| 3
 
|}
 
:::: {| class="wikitable collapsible collapsed"
 
|+ Default rig size
 
! style="min-width: 10em;" | Class !! style="min-width: 8em;" | Size
 
|-
 
| Corvette<br>
 
Shuttle<br>
 
Special Edition Shuttle<br>
 
Freighter<br>
 
Jump Freighter
 
| ''None''
 
|-
 
|
 
Frigate<br>
 
Assault Frigate<br>
 
Expedition Frigate<br>
 
Logistics Frigate<br>
 
Covert Ops<br>
 
Destroyer<br>
 
Command Destroyer<br>
 
Tactical Destroyer<br>
 
Electronic Attack Ship<br>
 
Interceptor<br>
 
Interdictor<br>
 
Stealth Bomber
 
| small
 
|-
 
| Attack Battlecruiser<br>
 
Blockade Runner<br>
 
Combat Battlecruiser<br>
 
Combat Recon Ship<br>
 
Command Ship<br>
 
Cruiser<br>
 
Deep Space Transport<br>
 
Exhumer<br>
 
Force Recon Ship<br>
 
Hauler<br>
 
Heavy Assault Cruiser<br>
 
Heavy Interdiction Cruiser<br>
 
Logistics Cruiser<br>
 
Mining Barge<br>
 
Strategic Cruiser
 
| medium
 
|-
 
| Battleship<br>
 
Black Ops<br>
 
Industrial Command Ship<br>
 
Marauder
 
| large
 
|-
 
| Capital Industrial Ship<br>
 
Carrier<br>
 
Force Auxiliary<br>
 
Dreadnought<br>
 
Supercarrier<br>
 
Titan
 
| capital
 
|}
 
:::: {| class="wikitable collapsible collapsed"
 
|+ Default number of calibration points
 
|-
 
! style="min-width: 10em;" | Class !! style="min-width: 8em;" | Grouping !! Points
 
|-
 
| Corvette<br> Freighter<br> Jump Freighter || rowspan=2 | - || 0
 
|-
 
| Shuttle<br> Special Edition Shuttle || 1
 
|-
 
| rowspan=2 | ''Other''
 
| Pirate Faction Ships || 350
 
|-
 
| ''Other'' || 400
 
|}
 
::; grouping {{Co|palegreen|[Required]}} {{Co|yellow|[tt]}} : Name of the market group the ship belongs to. Used for: <br>* Ship category in breadcrumbs; <br>* Ship category under ship image; <br>* Determine (default) number of calibration points (in combination with '''class'''); <br>* Part of the header, {{Co|yellow|[tt]}}
 
::; hulltype {{Co|palegreen|[Required]}} {{Co|yellow|[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. <br>Used for: <''Hull type''> Class under ship image. The word Class must be included.
 
::; faction {{Co|palegreen|[Required]}} {{Co|yellow|[bl]}} : Name of the faction the ship belongs to. Used for: <br>* Faction name under ship image; <br>* Faction logo under ship image; <br>* Show faction name when hovering over the logo.
 
::; roles {{Co|yellow|[bl]}} : List of ship role(s). Defaults to: ''unspecified''<br> When more than one, separate by "<code>,<space></code>".
 
::; variations {{Co|yellow|[bl]}} : List of ship variations. Defaults to: ''none''<br>Use the template {{Tl|Ship}}. If more than one, separate by "<code>,<space></code>".
 
::; tech {{Co|yellow|[bl, tt]}} : The ships tech "level". Unused for Tech1 ships (2 for Tech2, 3 for Tech3 and F for faction) Used for: <br>* Techcorner on ship image; <br>* Determine the (default) number of rigs (in combination with '''class''')
 
::; ecmprio : Priority in which the ship should be an ECM target (0 = none, 1 = low, 2 = normal, 3 = high, 4 = highest). Defaults to: unknown.<br> "''Somebody's''" interpretation. Used for: <br>* ECM priority block under ship image; <br>* ECM priority info on the ECM priority block "what's this?" pop-up
 
  
 +
                  | capital industrial ship
 +
                  | carrier
 +
                  | force auxiliary
 +
                  | dreadnought
 +
                  | supercarrier
 +
                  | titan= capital
  
::; powergrid {{Co|yellow|[tt]}} : Amount of Powergrid the ship has. Including the unit i.e. <code>700 MW</code>. Defaults to: 0 MW
+
                  | #default= {{Co|red|?}}
::; cpu {{Co|yellow|[tt]}} : Amount of CPU the ship has. Including the unit i.e. <code>300 tf</code>. Defaults to: 0 tf
+
                }}</div>
::; capacitor : Capacitor capacity. Including the unit i.e. <code>1,450 GJ</code>. Defaults to: 0 GJ
+
              }}
  
 +
<!--*** Calibration ***-->
 +
              <div class='item att-label' style='color: #9E8F75; margin-left: 5px;'>Calibration </div><div class='item att-img'>[[Image:icon_calibration.png|16px|calibration]]</div><div class='item att-value'>{{#if: {{{rigs_calibration|}}}
 +
                | {{{rigs_calibration}}}
 +
                | {{#switch: {{lc: {{{class}}} }}
 +
                  | corvette
 +
                  | freighter
 +
                  | jump freighter= 0
 +
                  | shuttle= 1
 +
                  | #default={{#switch: {{lc: {{{grouping}}} }}
 +
                    | pirate faction ships= 350
 +
                    | #default= 400
 +
                    }}
 +
                  }}
 +
              }}</div>
 +
        </div>
 +
        </td>
 +
      </tr>
  
::; highs {{Co|yellow|[bl, tt]}} : Number of high power slots. Defaults to: 0
+
      <tr><td class='separator'></td></tr>
::; turrets {{Co|yellow|[bl, tt]}} : Number of turret hard-points. Defaults to: 0
 
::; launchers {{Co|yellow|[bl, tt]}} : Number of launcher hard-points. Defaults to: 0
 
::; mediums {{Co|yellow|[bl, tt]}} : Number of medium power slots. Defaults to: 0
 
::; lows {{Co|yellow|[bl, tt]}} : Number of low power slots. Defaults to: 0
 
  
 +
<!--** Ship attributes - Navigation **-->
 +
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Navigation</span></td>
 +
        <td class='att-line'>
  
::; mass : The ship's mass. Including the unit i.e. <code>1,100,000 kg</code>. Defaults to: 0 kg
+
<!--*** Max velocity ***-->
::; volume : The ship's volume (unpackaged). Including the unit i.e. <code>115,000 <nowiki>{{m3}}</nowiki></code>. Defaults to: 0 {{m3}}
+
        <div class='att-item'>
 +
          <div class='item att-label'>Max Velocity</div><div class='item att-img'>[[Image:Icon_velocity.png|20px|max. velocity]]</div><div class='item att-value'>{{#if: {{{maxvelocity|}}} |{{{maxvelocity}}} |0 m/s }}</div>
 +
        </div>
  
 +
<!--*** inertia modifier ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Inertia Modifier</div><div class='item att-img'>[[Image:icon_inertia.png|20px|inertia modifier (agility)]]</div><div class='item att-value'>{{#if: {{{inertia|}}} |{{{inertia}}} |0.0 }}</div>
 +
        </div>
  
::; cargohold {{Co|yellow|[bl, tt]}} : Capacity of the standard cargo hold. Including the unit i.e. <code>480 <nowiki>{{m3}}</nowiki></code>. Defaults to: 0 {{m3}}
+
<!--*** Warp speed ***-->
::; extraholdtype {{Co|wheat|Optional}} : Type of an additional hold/bay (Mining, Gas, Ice, Minerals, Planetary Commodities, Command Center, Ammo, Fleet Hangar, Fuel Bay, Ship Maintenance Bay).
+
        <div class='att-item'>
::; extrahold {{Co|wheat|Optional}} : Capacity of an additional hold/bay.
+
          <div class='item att-label'>Warp Speed</div><div class='item att-img'>[[Image:Icon_warp_speed.png|20px|inertia modifier (agility)]]</div><div class='item att-value'>{{#if: {{{warpspeed|}}} |{{{warpspeed}}} |0 AU/s }}</div>
::; extrahold<''x''>type {{Co|wheat|Optional}} : <''x''> is 2 till 4. See '''extraholdtype'''
+
        </div>
::; extrahold<''x''>  {{Co|wheat|Optional}}: <''x''> is 2 till 4. See '''extrahold'''
 
  
 +
<!--*** Base time to warp ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label' style='margin-right: 3px;'>Base Time to Warp</div><div class='item att-img'>[[Image:Icon_warp_time.png|20px|base time to warp]]</div><div class='item att-value'>{{#if: {{{warptime|}}} |{{{warptime}}} |{{Co|red|?}} }}</div><div class='item att-value snip'>what's this?
 +
          <div class='desc'>Base Time to Warp is essentially the time needed for this ship to align and accelerate until it reaches 75% of its top speed and goes to warp. The time displayed here is the base calculated time with no account for any warp related skills, modules or any other effects.
 +
          </div>
 +
          </div>
 +
        </div>
 +
        </td>
 +
      </tr>
  
:: Drones. Overruled when '''fighterbay''' is used. Defaults to: "No drone bay." when neither '''dronebay''' nor '''fighterbay''' are used.
+
      <tr><td class='separator'></td></tr>
::; dronebay {{Co|yellow|[bl]}} : Dronebay capacity. Including the unit i.e. <code>125 <nowiki>{{m3}}</nowiki></code>.
 
::; bandwidth {{Co|yellow|[bl]}} : Drone bandwidth. Including the unit i.e. <code>75 Mbit/sec</code>. {{Co|palegreen|[Required]}} when '''dronebay''' is used.
 
  
 +
<!--** Ship attributes - Drones/Fighters **-->
 +
      <tr class='token'>
 +
        {{#if: {{{fighterbay|}}}
 +
          | <td class='line-label'><span class='label'>Fighters</span></td>
 +
            <td class='att-line'>
 +
              <div class='att-item'>
 +
                <div class='item att-label'>Fighter Bay Capacity</div><div class='item att-img'>[[Image:icon_drone_capacity.png|20px|fighter bay capacity]]</div><div class='item att-value'>{{{fighterbay}}}</div>
 +
              </div>
 +
              <div class='att-item'>
 +
                <div class='item att-label'>Fighter Squad Tubes</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|fighter squad tubes]]</div><div class='item att-value'>{{#if: {{{fightertubes|}}} |{{{fightertubes}}} |{{Co|red|?}} }}</div>
 +
              </div>
 +
<!--        -->{{#if: {{{lightfightersquadlimit|}}}
 +
                | <div class='att-item'>
 +
                    <div class='item att-label'>Light Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|light fighter squad limit]]</div><div class='item att-value'>{{{lightfightersquadlimit}}}</div>
 +
                  </div>
 +
              }}<!--
 +
            -->{{#if: {{{heavyfightersquadlimit|}}}
 +
                | <div class='att-item'>
 +
                    <div class='item att-label'>Heavy Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|heavy fighter squad limit]]</div><div class='item att-value'>{{{heavyfightersquadlimit}}}</div>
 +
                  </div>
 +
              }}<!--
 +
            -->{{#if: {{{supportfightersquadlimit|}}}
 +
                | <div class='att-item'>
 +
                    <div class='item att-label'>Support Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|support fighter squad limit]]</div><div class='item att-value'>{{{supportfightersquadlimit}}}</div>
 +
                  </div>
 +
              }}
 +
            </td>
  
:: Fighters. Overrules '''dronebay'''.
+
          | <td class='line-label'><span class='label'>Drones</span></td>
::; fighterbay : Fighter bay capacity. Including the unit i.e. <code>125 <nowiki>{{m3}}</nowiki></code>.
+
            <td class='att-line'>
::; fightertubes : Number of fighter tubes. {{Co|palegreen|[Required]}} when '''fighterbay''' is used.
+
              <div class='att-item'> {{#if: {{{dronebay|}}}
::; lightfightersquadlimit : Max number of light fighters. ({{Co|wheat|Optional}} not visible when not used)
+
                |  <div class='item att-label'>Drone Capacity</div><div class='item att-img'>[[Image:icon_drone_capacity.png|20px|drone capacity]]</div><div class='item att-value'>{{{dronebay}}}</div>
::; heavyfightersquadlimit : Max number of heavy fighters. ({{Co|wheat|Optional}} not visible when not used)
+
              </div>
::; supportfightersquadlimit : Max number of support fighters. ({{Co|wheat|Optional}} not visible when not used)
+
              <div class='att-item'>
 +
                  <div class='item att-label'>Drone Bandwidth</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|drone bandwidth]]</div><div class='item att-value'>{{#if: {{{bandwidth|}}} |{{{bandwidth}}} |{{Co|red|?}} }}</div>
 +
              </div>
  
 +
                | <div class='item att-label' style="font-style: italic;">No drone bay.</div>
 +
                }}
 +
              </div>
 +
            </td>
 +
        }}
 +
      </tr>
  
::; info {{Co|yellow|[bl]}} : The text found on the Description tab of the in-game ship info.
+
      <tr><td class='separator'></td></tr>
::; bonuses {{Co|yellow|[bl]}} : List of bonuses applied to the ship (Source; Trait tab in-game ship info). {{Co|wheat|Optional}} not visible when not used.<br> 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 <nowiki><br></nowiki> and may each be put on their own line to make it easier to read the source. Use &amp;bull;&amp;nbsp; for things like "Can fit ''module''" <br> example: {{code|1= bonuses= <nowiki>'''</nowiki>Gallente Cruiser bonuses (per skill level):<nowiki>'''<br></nowiki><br>5% bonus to Medium Hybrid Turret damage<nowiki><br></nowiki><br>10% bonus to Drone hitpoints, damage and mining yield<nowiki><br></nowiki><br>&amp;bull;&amp;nbsp;Can fit ''module''
 
}}
 
  
 +
<!--** Ship attributes - Targeting **-->
 +
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Targeting</span></td>
 +
        <td class='att-line'>
  
::; structurehp : Hitpoint value of the hull. Including the unit i.e. <code>2,000 HP</code>. Defaults to: 0 HP
+
<!--*** Max range ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Max Tgt. Range</div><div class='item att-img'>[[Image:icon_target_range.png|20px|max. targeting range]]</div><div class='item att-value'>{{#if: {{{targetrange|}}} |{{{targetrange}}} |0 km }}</div>
 +
        </div>
  
 +
<!--*** Max targets ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Max Locked Targets</div><div class='item att-img'>[[Image:icon_target_max.png|20px|max. locked targets]]</div><div class='item att-value'>{{#if: {{{maxlockedtargets|}}} |{{{maxlockedtargets}}} |0 }}</div>
 +
        </div>
  
::; armorhp {{Co|yellow|[bl]}} : Hitpoint value of the armor. Including the unit i.e. <code>2,000 HP</code>. Defaults to: 0 HP
+
<!--*** Sensor ***-->
::; armorem {{Co|yellow|[bl]}} : Armor resistance percentage for electromagnetic damage. Defaults to: 0
+
        <div class='att-item'>
::; armorherm {{Co|yellow|[bl]}} : Armor resistance percentage for thermal damage. Defaults to: 0
+
          <div class='item att-label'>{{#if: {{{sensortype|}}} |{{{sensortype}}} | Multi }} Sensor</div><div class='item att-img'>{{#switch: {{lc: {{{sensortype}}} }}
::; armorkin {{Co|yellow|[bl]}} : Armor resistance percentage for kinetic damage. Defaults to: 0
+
              | gravimetric= [[Image:Icon_sensor_gravimetric.png|20px|Gravimetric sensor strength]]
::; armorexp {{Co|yellow|[bl]}} : Armor resistance percentage for explosive damage. Defaults to: 0
+
              | ladar= [[Image:Icon_sensor_ladar.png|20px|LADAR sensor strength]]
 +
              | magnetometric= [[Image:Icon_sensor_magnetometric.png|20px|Magnetometric sensor strength]]
 +
              | radar= [[Image:Icon_sensor_radar.png|20px|RADAR sensor strength]]
 +
              | #default= [[Image:Icon_sensor_gravimetric.png|20px|Multitype sensor strength]]}}</div><div class='item att-value'>{{#if: {{{sensorvalue|}}} |{{{sensorvalue}}} |0 points }}</div>
 +
        </div>
  
 +
<!--*** Signature radius ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Sig. Radius</div><div class='item att-img'>[[Image:icon_ship_sig.png|20px|signature radius]]</div><div class='item att-value'>{{#if: {{{sigradius|}}} |{{{sigradius}}} |0 m }}</div>
 +
        </div>
  
::; shieldhp {{Co|yellow|[bl]}} : Hitpoint value of the shield. Including the unit i.e. <code>2,000 HP</code>. Defaults to: 0 HP
+
<!--*** Scan resolution ***-->
::; shieldem {{Co|yellow|[bl]}} : Shield resistance percentage for electromagnetic damage. Defaults to: 0
+
        <div class='att-item'>
::; shieldtherm {{Co|yellow|[bl]}} : Shield resistance percentage for thermal damage. Defaults to: 0
+
          <div class='item att-label'>Scan Res.</div><div class='item att-img'>[[Image:icon_sensor_resolution.png|20px|scan resolution]]</div><div class='item att-value'>{{#if: {{{scanres|}}} |{{{scanres}}} |0 mm }}</div>
::; shieldkin {{Co|yellow|[bl]}} : Shield resistance percentage for kinetic damage. Defaults to: 0
+
        </div>
::; shieldexp {{Co|yellow|[bl]}} : Shield resistance percentage for explosive damage. Defaults to: 0
+
        </td>
 +
      </tr>
  
 +
      <tr><td class='separator'></td></tr>
  
::; maxvelocity {{Co|yellow|[bl, tt]}} : Maximum velocity. Including the unit i.e. <code>195 m/s</code>. Defaults to: 0 m/s
+
<!--** Ship attributes - Structure **-->
::; inertia : Inertia modifier. Defaults to: 0.0
+
      <tr class='token'>
::; warpspeed : Warp speed. Including the unit i.e. <code>4 AU/s</code>. Defaults to: 0 AU/s
+
        <td class='line-label'><span class='label'>Structure</span></td>
::; warptime : Base time to warp (manually calculated). Including the unit i.e. <code>8.62 s</code>. (see [[Acceleration#Accelerating_to_warp|Accelerating to warp]] for the calculation.)
+
        <td class='att-line'>
  
 +
<!--*** hitpoints ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Structure Hitpoints</div><div class='item att-img'>[[Image:icon_volume.png|20px|structure hitpoints]]</div><div class='item att-value'>{{#if: {{{structurehp|}}} |{{{structurehp}}} |0 HP }}</div>
 +
        </div>
  
::; targetrange {{Co|yellow|[bl]}} : Maximum range to lock targets. Including the unit i.e. <code>52.5 km</code>. Defaults to: 0 km
+
<!--*** Mass ***-->
::; maxlockedtargets : Maximum number of simultaneously lockable targets. Defaults to: 0
+
        <div class='att-item'>
::; sigradius {{Co|yellow|[bl]}} : Signature radius. Including the unit i.e. <code>145 m</code>. Defaults to: 0 m
+
          <div class='item att-label'>Mass</div><div class='item att-img'>[[Image:icon_mass.png|20px|ship mass]]</div><div class='item att-value'>{{#if: {{{mass|}}} |{{{mass}}} |0 kg }}</div>
::; scanres : Scan Resolution. Including the unit i.e. <code>280 mm</code>. Defaults to 0 mm
+
        </div>
::; sensortype : Type of sensor used. Defaults to: Multi. Otherwise use one of Gravimetric, LADAR, Magnetrometric or RADAR. Used for: <br>* Ship attributes; <br>* Sensor type info on the ECM priority block "what's this?" pop-up.
 
::; sensorvalue : Sensor strength value. Including the unit i.e. <code>16 points</code>. Defaults to: 0 points
 
  
 +
<!--*** Volume ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Volume</div><div class='item att-img'>[[Image:icon_volume.png|20px|ship volume]]</div><div class='item att-value'>{{#if: {{{volume|}}} |{{{volume}}} |0 m&#179; }}</div>
 +
        </div>
  
::; reqskills : List of skills required to fly the hull. Use the template {{Tl|RequiredSkill}}. Defaults to: ''none''<br> 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.)<br> Example {{Code|1= reqskills= <nowiki>* {{RequiredSkill|Gallente Cruiser|I}}
+
<!--*** Cargo capacity ***-->
** {{RequiredSkill|Spaceship Command|II}}
+
        <div class='att-item'>
** {{RequiredSkill|Gallente Destroyer|III}}
+
          <div class='item att-label'>Cargo Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|20px|cargo capacity]]</div><div class='item att-value'>{{#if: {{{cargohold|}}} |{{{cargohold}}} |0 m&#179; }}</div>
*** {{RequiredSkill|Gallente Frigate|III}}
+
        </div><!--
**** {{RequiredSkill|Spaceship Command|I}}</nowiki>
 
}}
 
::; totaltraintime : Training time for the skills in Required Skill (manually calculated). Including the unit i.e. <code>19h 15m 30s</code>. Not visible when no required skills.
 
  
 +
*** Escape bay ***
 +
-->      {{#switch: {{lc: {{{class}}} }}
 +
          | battleship
 +
          | black ops
 +
          | marauder=
 +
            <div class='att-item'>
 +
              <div class='item att-label'>Frigate Escape Bay</div><div class='item att-img'>[[Image:Isis_frigate.png|20px|Frigate Capacity]]</div><div class='item att-value'>1 Frigate</div>
 +
            </div>
 +
        }}<!--
  
::; forumlinks {{Co|wheat|Optional}} : List of relevant forum links. When more than one separate by "<code>,<nowiki><br></nowiki></code>". (not visible when not used)
+
*** Extrahold ***
::; wikireferences : List of relevant UniWiki article links (Has some build-in). When more than one separate by "<code>,<nowiki><br></nowiki></code>".
+
-->      {{#if: {{{extrahold|}}}
::; externallinks : List of relevant external links (zKillboard, EVE Workbench, evepraisal and EVE Ref are build in). When more than one separate by "<code>,<nowiki><br></nowiki></code>".
+
          | <div class='att-item'>
::; highlights<''x''> {{Co|wheat|Optional}} {{Co|yellow|[tt]}} : <''x''> is 1 till 4. highlights. (not visible when not used)
+
              <div class='item att-label'>{{{extraholdtype}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|20px|capacity]]</div><div class='item att-value'>{{{extrahold}}}</div>
 +
            </div>
 +
        }}<!--
  
 +
*** Extrahold 2 ***
 +
-->      {{#if: {{{extrahold2|}}}
 +
          | <div class='att-item'>
 +
              <div class='item att-label'>{{{extrahold2type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|20px|capacity]]</div><div class='item att-value'>{{{extrahold2}}}</div>
 +
        </div>
 +
        }}<!--
  
:: Overrides, use only when the build in results are incorrect.
+
*** Extrahold 3 ***
:::; rigs_count : Override for (default) number of rigs.
+
-->      {{#if: {{{extrahold3|}}}
:::; rigs_size : Override for (default) size of rigs.
+
          | <div class='att-item'>
:::; rigs_calibration : Override for (default)  number of calibration points.
+
              <div class='item att-label'>{{{extrahold3type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|20px|capacity]]</div><div class='item att-value'>{{{extrahold3|}}}</div>
 +
        </div>
 +
        }}<!--
  
=== Example ===
+
*** Extrahold 4 ***
<div style="float: right;">[[#top|Top]]</div>
+
-->     {{#if: {{{extrahold4|}}}
An example of a proper template would be:
+
          | <div class='att-item'>
<pre>
+
              <div class='item att-label'>{{{extrahold4type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|20px|capacity]]</div><div class='item att-value'>{{{extrahold4}}}</div>
{{ShipArticle
+
        </div>
<!--  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
 
| roles=
 
| variations=
 
| tech=
 
| ecmprio= 0 <!-- 0 = none, 1 = low, 2 = normal, 3 = high, 4 = highest -->
 
  
| powergrid= 15,000 MW
+
        </td>
| cpu= 780 tf
+
      </tr>
| capacitor= 6,000 GJ
 
  
| highs= 8
+
      <tr><td class='separator'></td></tr>
| turrets= 8
 
| launchers= 4
 
| mediums= 6
 
| lows= 5
 
  
| mass= 105,300,000 kg
+
<!--** Ship attributes - Armor **-->
| volume= 470,000 m&#179;
+
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Armor</span></td>
 +
        <td class='att-line'>
  
| cargohold= 820 m&#179;
+
<!--*** hitpoints ***-->
| extraholdtype=
+
        <div class='att-item'>
| extrahold=
+
          <div class='item att-label'>Armor Hitpoints</div><div class='item att-img'>[[Image:icon_armor.png|20px|armor hitpoints]]</div><div class='item att-value'>{{#if: {{{armorhp|}}} |{{{armorhp}}} |0 HP }}</div>
  
| dronebay= 50 m&#179;
+
<!--*** resistances ***-->
| bandwidth= 50 Mbit/sec
+
          <div class='item att-label' style='margin-left: 5px;'>Armor Resistances</div>
  
| 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.
+
          <div class='item'>
| bonuses=<b>Caldari Battleship bonuses (per skill level):</b><br>
+
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>EM</div>
10% bonus to Large Hybrid Turret optimal range<br>
+
          <div class='item att-img'>[[Image:icon_resist_em.png|20px|electromagnetic resistance]]</div>
4% bonus to all shield resistances<br>
+
          <div style='display: inline-block;'>
'''Role bonus:'''<br>
+
            <div class='box-resist bgr-em'>
100% bonus to Shield Extender hitpoints<br>
+
            <div class='resist-value val-em' style='width: {{#if: {{{armorem|}}}
50% bonus to Armor Plate hitpoints<br>
+
                | {{#expr: {{{armorem}}}/2 round 0 }}
5% additional bonus to Reinforced Bulkhead hitpoints
+
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armorem|}}}
 +
                  | {{{armorem}}}
 +
                  | 0
 +
                }}
 +
              </div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
  
| structurehp= 8,250 HP
+
          <div class='item'>
 +
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>THR</div>
 +
          <div class='item att-img'>[[Image:icon_resist_therm.png|20px|thermal resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-thr'>
 +
            <div class='resist-value val-thr' style='width: {{#if: {{{armortherm|}}}
 +
                | {{#expr: {{{armortherm}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armortherm|}}}
 +
                  | {{{armortherm}}}
 +
                  | 0
 +
                }}
 +
              </div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
  
| armorhp= 7,700 HP
+
          <div class='item'>
| armorem= 50
+
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div>
| armortherm= 45
+
          <div class='item att-img'>[[Image:icon_resist_kin.png|20px|kinetic resistance]]</div>
| armorkin= 25
+
          <div style='display: inline-block;'>
| armorexp= 10
+
            <div class='box-resist bgr-kin'>
 +
            <div class='resist-value val-kin' style='width: {{#if: {{{armorkin|}}}
 +
                | {{#expr: {{{armorkin}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armorkin|}}}
 +
                  | {{{armorkin}}}
 +
                  | 0
 +
                }}
 +
              </div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
  
| shieldhp= 9,350 HP
+
          <div class='item'>
| shieldem= 0
+
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div>
| shieldtherm= 20
+
          <div class='item att-img'>[[Image:icon_resist_exp.png|20px|explosive resistance]]</div>
| shieldkin= 40
+
          <div style='display: inline-block;'>
| shieldexp= 50
+
            <div class='box-resist bgr-exp'>
 +
            <div class='resist-value val-exp' style='width: {{#if: {{{armorexp|}}}
 +
                | {{#expr: {{{armorexp}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armorexp|}}}
 +
                  | {{{armorexp}}}
 +
                  | 0
 +
                }}
 +
              </div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
        </div>
 +
        </td>
 +
      </tr>
  
| maxvelocity= 89 m/sec
+
      <tr><td class='separator'></td></tr>
| inertia= 0.136
 
| warpspeed= 3 AU/s
 
| warptime= 19.85 s
 
  
| targetrange= 108 km
+
<!--** Ship attributes - Shield **-->
| maxlockedtargets= 7
+
      <tr class='token'>
| sigradius= 500 m
+
        <td class='line-label'><span class='label'>Shields</span></td>
| scanres= 98 mm
+
        <td class='att-line' style='border-bottom: medium none;'>
| sensortype= Gravimetric
 
| sensorvalue= 24 points
 
  
| reqskills=*{{RequiredSkill|Caldari Battleship|I}}
+
<!--*** hitpoints ***-->
**{{RequiredSkill|Spaceship Command|IV}}
+
        <div class='att-item'>
**{{RequiredSkill|Caldari Battlecruiser|III}}
+
          <div class='item att-label'>Shield Capacity</div><div class='item att-img'>[[Image:icon_shield.png|20px|shield hitpoints]]</div><div class='item att-value'>{{#if: {{{shieldhp|}}} |{{{shieldhp}}} |0 HP }}</div>
***{{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=
+
<!--*** resistances ***-->
| wikireferences=
+
          <div class='item att-label' style='margin-left: 5px;'>Shield Resistances</div>
| externallinks=
 
| highlights1=
 
| highlights2=  
 
| highlights3=  
 
| highlights4=
 
}}
 
</pre>
 
  
 +
          <div class='item'>
 +
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>EM</div>
 +
          <div class='item att-img'>[[Image:icon_resist_em.png|20px|electromagnetic resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-em'>
 +
            <div class='resist-value val-em' style='width: {{#if: {{{shieldem|}}}
 +
                | {{#expr: {{{shieldem}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{shieldem|}}}
 +
                  | {{{shieldem}}}
 +
                  | 0
 +
                }}
 +
              </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
        </div>
  
 +
        <div class='item'>
 +
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>THR</div>
 +
          <div class='item att-img'>[[Image:icon_resist_therm.png|20px|thermal resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
          <div class='box-resist bgr-thr'>
 +
            <div class='resist-value val-thr' style='width: {{#if: {{{shieldtherm|}}}
 +
                | {{#expr: {{{shieldtherm}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
            <div class='value-text'>{{#if: {{{shieldtherm|}}}
 +
                | {{{shieldtherm}}}
 +
                | 0
 +
                }}
 +
              </div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
  
<!---
+
          <div class='item'>
The helper tool was awesome while it was accurate, but it hasn't kept up with stat changes on existing ships or with the introduction of new ships. So I'm commenting it out. But it was so useful that I'm leaving the documentation content here, just in case it gets updated again. -{{User:Antei thantonne}}
+
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div>
 +
          <div class='item att-img'>[[Image:icon_resist_kin.png|20px|kinetic resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-kin'>
 +
            <div class='resist-value val-kin' style='width: {{#if: {{{shieldkin|}}}
 +
                | {{#expr: {{{shieldkin}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{shieldkin|}}}
 +
                  | {{{shieldkin}}}
 +
                  | 0
 +
                }}
 +
              </div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
  
=== Helper tool ===
+
          <div class='item'><!--  open div 2  -->
To automatically generate template code for an existing ship, you can use the tool located [https://ubik2.github.io/eveuniversity-wiki-helpers/ship_template.html here].
+
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div>
 +
          <div class='item att-img'>[[Image:icon_resist_exp.png|20px|explosive resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-exp'>
 +
            <div class='resist-value val-exp' style='width: {{#if: {{{shieldexp|}}}
 +
                | {{#expr: {{{shieldexp}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{shieldexp|}}}
 +
                  | {{{shieldexp}}}
 +
                  | 0
 +
                }}
 +
              </div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
        </div>
 +
        </td>
 +
      </tr>
  
2022-12-10 See [https://github.com/ubik2/eveuniversity-wiki-helpers GitHub for the source] which had its last update in june 2014.
+
      </table>
--->
+
    </div>
 +
    </td>
 +
  </tr>
 +
  </table>
  
<includeonly>[[Category:Formatting templates]]</includeonly>
+
</div>
<noinclude>[[Category:Template documentation]]</noinclude>
+
</div></includeonly>
 +
<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 12:01, 16 January 2023


Template documentation (for the above template, sometimes hidden or invisible)
This template currently doesn't have any documentation! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
Visit Template:ShipArticle/doc/doc to edit this text! (How does this work?) (Refresh this text - why?)