Difference between revisions of "Template:ShipArticle"

From EVE University Wiki
Jump to: navigation, search
m (Change rigs size logic to show no size where the default number of rigs = 0.)
(Add logo image for Deathless Circle.)
(23 intermediate revisions by 2 users not shown)
Line 188: Line 188:
 
<!--####    Header    #####-->
 
<!--####    Header    #####-->
 
  <div class='header'>
 
  <div class='header'>
   <div class='headerbg'>[[Image:Eve_university_dbase_header.png|605x50px|Eve University Database]]</div>
+
   <div class='headerbg'>[[Image:Eve_university_dbase_header.png|605x50px|EVE University Database]]</div>
 
   <div class='mask'>&nbsp;</div>
 
   <div class='mask'>&nbsp;</div>
 
   <div class='dbtitle'>Ship Database</div>
 
   <div class='dbtitle'>Ship Database</div>
   <div class='shipname'>{{{shipname|Unknown}}}</div>
+
   <div class='shipname'>{{#if: {{{shipname|}}} |{{{shipname}}} |{{Co|red|! shipname missing !}} }}</div>
 
  </div>
 
  </div>
  
 
<!--####    breadcrumbs    ####-->
 
<!--####    breadcrumbs    ####-->
 
<!--* Breadcrumbs *-->
 
<!--* Breadcrumbs *-->
  <div class='breadcrumbs'>[[:Category:Ship Database|Ship Database]]<span class='separator'>&#9656;</span>[[:Category:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]<span class='separator'>&#9656;</span>[[{{{shipname|Unknown}}}]]
+
  <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}}}]] }}
 
  </div>
 
  </div>
  
Line 212: Line 212:
 
     <div style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}}
 
     <div style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}}
 
       | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
 
       | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
      |
 
 
       }}{{#ifexist: File:{{{shipimg}}}
 
       }}{{#ifexist: File:{{{shipimg}}}
         | [[Image:{{{shipimg}}}|center|link= |256x256px|{{#if: {{{shipname}}}
+
         | [[Image:{{{shipimg}}}|center|link= |256x256px|{{{shipname|}}}]]
          | {{{shipname}}}
+
         | {{#if: {{{shipid|}}}
          | Unknown Ship
+
           | {{Imageserver|types|{{{shipid}}}|render|size=256}}
          }}]]
+
           | [[Image:no-image.png|center|link= |256x256px|{{{shipname|}}}]]
         |{{#if: {{{shipid}}}
 
           | https://images.evetech.net/types/{{{shipid}}}/render?size=256&.jpg
 
           | [[Image:no-image.png|center|link= |256x256px|{{#if: {{{shipname}}}
 
              | {{{shipname}}}
 
              | Unknown Ship
 
            }}]]
 
 
           }}
 
           }}
 
         }}
 
         }}
 
     </div>
 
     </div>
  
     <div class='box-line box-info'>
+
     <div class='box-info'>
       <table class='ecm-info' cellspacing='0' cellpadding='0'>
+
       <table class='faction-info' cellspacing='0' cellpadding='0'>
 
       <tr>
 
       <tr>
  
 
<!--** Ship image block "caption" left **-->
 
<!--** Ship image block "caption" left **-->
         <td rowspan='3' class='faction-img'>[[Image:{{#switch: {{{faction}}}
+
         <td rowspan='3' class='faction-img'>[[Image:{{#switch: {{lc: {{{faction}}} }}
           | Angel Cartel= Logo_faction_angel_cartel.png
+
           | angel cartel= Logo_faction_angel_cartel.png
           | Amarr Empire= Logo_faction_amarr_empire.png
+
           | amarr empire= Logo_faction_amarr_empire.png
           | Blood Raiders= Logo_faction_the_blood_raider_covenant.png
+
           | blood raiders= Logo_faction_the_blood_raider_covenant.png
           | Caldari State= Logo_faction_caldari_state.png
+
           | caldari state= Logo_faction_caldari_state.png
           | CONCORD= Logo_faction_concord_assembly.png
+
           | concord= Logo_faction_concord_assembly.png
           | EDENCOM= Logo_faction_edencom.png
+
           | deathless circle= Logo faction deathless circle.png
           | Gallente Federation= Logo_faction_gallente_federation.png
+
          | edencom= Logo_faction_edencom.png
           | Guristas= Logo_faction_guristas_pirates.png
+
           | gallente federation= Logo_faction_gallente_federation.png
           | Intaki Syndicate= Logo faction the syndicate.png
+
           | guristas= Logo_faction_guristas_pirates.png
           | InterBus= Logo faction the interbus.png
+
           | intaki syndicate= Logo faction the syndicate.png
           | Minmatar Republic= Logo_faction_minmatar_republic.png
+
           | interbus= Logo faction the interbus.png
           | Mordu's Legion= Logo_faction_mordus_legion.png
+
           | jovian directorate= Logo faction jove empire.png
           | Outer Ring Excavations= Logo_faction_outer_ring_excavations.png
+
          | minmatar republic= Logo_faction_minmatar_republic.png
           | Sansha's Nation= Logo_faction_sanshas_nation.png
+
           | mordu's legion= Logo_faction_mordus_legion.png
           | Serpentis= Logo_faction_serpentis.png
+
           | outer ring excavations= Logo_faction_outer_ring_excavations.png
           | Sisters of EVE= Logo_faction_sisters_of_eve.png
+
           | sansha's nation= Logo_faction_sanshas_nation.png
           | Society of Conscious Thought= Logo_faction_the_society.png
+
           | serpentis= Logo_faction_serpentis.png
           | Triglavian Collective= Logo faction triglavian collective.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
 +
          | upwell= Upwell_Consortium_logo.png
 
           | #default= no-image.png
 
           | #default= no-image.png
           }}|center|link=|50x50px|{{#if: {{{faction|}}}
+
           }}|center|link=|50px|{{{faction|}}} ]]
              | {{{faction}}}
 
              | Unknown
 
            }}]]
 
 
         </td>
 
         </td>
  
 
<!--** Ship image block "caption" center, line 1 **-->
 
<!--** Ship image block "caption" center, line 1 **-->
         <td class='faction'>{{{faction|Unknown}}}</td>
+
         <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: {{{sensortype}}} | Magnetometric
 
            | <span style='font-size: 9px;'>Magnetometric</span>
 
            | {{{sensortype|Multi}}}
 
            }}
 
          </div>
 
          <div class='snip'>what's this?</div>
 
          <div class='ecm-desc'>
 
          <p>
 
            <div class='innervalue'><span class='normal'>{{#switch: {{{ecmprio}}}
 
              | 0= NO/UNKNOWN
 
              | 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 **-->
 
<!--** Ship image block "caption" center, line 2 **-->
 
       <tr>
 
       <tr>
         <td class='hull-type'>[[:Category:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]</td>
+
         <td class='hull-type'>{{#if: {{{grouping|}}} |[[:Category:{{{grouping}}} |{{{grouping}}} ]] }}</td>
 
       </tr>
 
       </tr>
  
 
<!--** Ship image block "caption" center, line 3 **-->
 
<!--** Ship image block "caption" center, line 3 **-->
 
       <tr>
 
       <tr>
         <td class='hull-title'>{{{hulltype|Unknown Class}}}</td>
+
         <td class='hull-title'>{{#if: {{{hulltype|}}} |{{{hulltype}}} |{{Co|red|! hulltype missing !}} }}</td>
 
       </tr>
 
       </tr>
  
 
       </table>
 
       </table>
 
     </div><!--
 
     </div><!--
 +
 +
* class missing error *
 +
-->  {{#if: {{{class|}}} | <!-- Nothing --> | <div class='box-discussion' style='text-align: center; color: red;'> ! class missing ! </div> }}<!--
 +
 
* Highlights *
 
* Highlights *
 
-->  {{#if: {{{highlights1|}}} {{{highlights2|}}} {{{highlights3|}}} {{{highlights4|}}}
 
-->  {{#if: {{{highlights1|}}} {{{highlights2|}}} {{{highlights3|}}} {{{highlights4|}}}
 
       |  
 
       |  
     <div class='box-line box-awards'><!--
+
     <div class='box-awards'><!--
 
-->    {{#if: {{{highlights1|}}}
 
-->    {{#if: {{{highlights1|}}}
 
       | <div class='award'>
 
       | <div class='award'>
Line 355: Line 310:
  
 
* Forum links *-->
 
* Forum links *-->
     {{#if: {{{forumlinks}}}
+
     {{#if: {{{forumlinks|}}}
       | <div class='box-line box-discussion'>
+
       | <div class='box-discussion'>
 
         <div class='discussion-bgr'>FORUM DISCUSSION</div>
 
         <div class='discussion-bgr'>FORUM DISCUSSION</div>
 
         <div class='linkname'>{{{forumlinks}}}</div>
 
         <div class='linkname'>{{{forumlinks}}}</div>
 
         </div>
 
         </div>
      |
 
 
     }}
 
     }}
 
<!--
 
<!--
 
* Wiki links *-->
 
* Wiki links *-->
     <div class='box-line box-discussion'>
+
     <div class='box-discussion'>
 
       <div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
 
       <div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
 
       <div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div>
 
       <div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div>
Line 370: Line 324:
  
 
<!--* External links *-->
 
<!--* External links *-->
     <div class='box-line box-discussion'>
+
     <div class='box-discussion'>
 
       <div class='discussion-bgr'>EXTERNAL LINKS</div>
 
       <div class='discussion-bgr'>EXTERNAL LINKS</div>
 
       <div class='linkname'>{{#if: {{{shipid|}}}
 
       <div class='linkname'>{{#if: {{{shipid|}}}
         | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|unknown}}} on zKillboard]{{#switch: {{{class}}}
+
         | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }}
           | Shuttle
+
           | shuttle=
           | Special Edition Shuttle=
+
           | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench]
          | <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|unknown}}} on EVE Workbench]
+
           }} <br>[https://janice.e-351.com/i/{{{shipid}}}/ {{{shipname|}}} on Janice]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref]
           }} <br>[https://evepraisal.com/item/{{{shipid}}}/ {{{shipname|unknown}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|unknown}}} on EVE Ref]
 
        |
 
 
       }}<br>{{{externallinks|}}}</div>
 
       }}<br>{{{externallinks|}}}</div>
 
     </div>
 
     </div>
Line 400: Line 352:
 
<!--    -->{{{bonuses}}} <!-- Comment in front is to suppress <pre> parsing -->
 
<!--    -->{{{bonuses}}} <!-- Comment in front is to suppress <pre> parsing -->
 
         </div>
 
         </div>
      | <!-- do nothing -->
 
 
     }}<!--
 
     }}<!--
  
Line 410: Line 361:
 
         <td class='left' style='width: 330px;'>
 
         <td class='left' style='width: 330px;'>
 
         <div class='title'>Required Skills</div>
 
         <div class='title'>Required Skills</div>
<!--  -->{{{reqskills|<i>none</i>}}} <!-- comment in front is to suppress <pre> parsing -->
+
<!--  -->{{#if: {{{reqskills|}}} |{{{reqskills}}} |<i>none</i> }} <!-- comment in front is to suppress <pre> parsing -->
 
<!--** Training time **-->
 
<!--** Training time **-->
 
           {{#if: {{{reqskills|}}}
 
           {{#if: {{{reqskills|}}}
Line 424: Line 375:
 
         <td class='right'>
 
         <td class='right'>
 
         <div class='title'>Grouping</div>
 
         <div class='title'>Grouping</div>
        <table cellspacing='0' cellpadding='0'>
 
          <tr>
 
          <td style='width:70px;'><span style='color: #7D6843;font-size: 90%;'>&#9642; Role(s)</span></td>
 
          <td><span>{{{roles|<i>unspecified</i>}}}</span></td>
 
          </tr>
 
        </table>
 
 
         <div style='color: #7D6843; font-size: 90%;'>&#9642; Variations</div> <!-- to suppress <pre> parsing
 
         <div style='color: #7D6843; font-size: 90%;'>&#9642; Variations</div> <!-- to suppress <pre> parsing
       --><span style='padding-left: 10px; display: block;'>{{{variations|<i>none</i>}}}</span>
+
       --><span style='padding-left: 10px; display: block;'>{{#if: {{{variations|}}} |{{{variations}}} |<i>none</i> }}</span>
 
         </td>
 
         </td>
 
         </tr>
 
         </tr>
Line 438: Line 383:
  
 
<!--* Ship attributes *-->
 
<!--* Ship attributes *-->
     <div class='box-line box-attributes'>
+
     <div class='box-attributes'>
 
       <h2 style='margin-left: 0;'>Ship Attributes</h2>
 
       <h2 style='margin-left: 0;'>Ship Attributes</h2>
 
       <table class='attributes' cellspacing='0' cellpadding='0'>
 
       <table class='attributes' cellspacing='0' cellpadding='0'>
Line 449: Line 394:
 
<!--*** Powergrid ***-->
 
<!--*** Powergrid ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Powergrid</div><div class='item att-img'>[[Image:icon_powergrid.png|20px|middle|powergrid]]</div><div class='item att-value'>{{{powergrid|0 MW}}}</div>
+
           <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>
 
         </div>
 
         </div>
  
 
<!--*** CPU ***-->
 
<!--*** CPU ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>CPU</div><div class='item att-img'>[[Image:icon_cpu.png|20px|middle|cpu output]]</div><div class='item att-value'>{{{cpu|0 tf}}}</div>
+
           <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>
 
         </div>
 
         </div>
  
 
<!--*** Capacitor ***-->
 
<!--*** Capacitor ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Capacitor</div><div class='item att-img'>[[Image:Icon_capacitor_capacity.png|20px|middle|capacitor]]</div><div class='item att-value'>{{{capacitor|0 GJ}}}</div>
+
           <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>
 
         </div>
 
         </div>
  
 
<!--*** High slots ***-->
 
<!--*** High slots ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>High</div><div class='item att-img'>[[Image:icon_hi_slot.png|20px|middle|high slots]]</div><div class='item att-value'>{{{highs|0}}}</div>
+
           <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>
  
 
<!--*** Launchers ***-->
 
<!--*** Launchers ***-->
           <div class='item att-label' style='color: #9E8F75; margin-left: 5px;'>Launchers</div><div class='item att-img'>[[Image:icon_launcher_hp.png|20px|middle|launcher slots]]</div><div class='item att-value'>{{{launchers|0}}}</div>
+
           <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>
  
 
<!--*** Turrets ***-->
 
<!--*** Turrets ***-->
           <div class='item att-label' style='color: #9E8F75; margin-left: 5px;'>Turrets</div><div class='item att-img'>[[Image:icon_turret_hp.png|20px|middle|turret slots]]</div><div class='item att-value'>{{{turrets|0}}}</div>
+
           <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>
 
         </div>
 +
 
<!--*** Medium slots ***-->
 
<!--*** Medium slots ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Medium</div><div class='item att-img'>[[Image:icon_mid_slot.png|20px|middle|middle slots]]</div><div class='item att-value'>{{{mediums|0}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** Low slots ***-->
 
<!--*** Low slots ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Low</div><div class='item att-img'>[[Image:icon_low_slot.png|20px|middle|low slots]]</div><div class='item att-value'>{{{lows|0}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** Rigs ***-->
 
<!--*** Rigs ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Rig </div><div class='item att-img'>[[Image:icon_rigs.png|20px|middle|rigs]]</div>
+
           <div class='item att-label'>Rig </div><div class='item att-img'>[[Image:icon_rigs.png|20px|rigs]]</div>
 
               {{#if: {{{rigs_count|}}}
 
               {{#if: {{{rigs_count|}}}
 
               | <div class='item att-value'>{{{rigs_count}}}</div>
 
               | <div class='item att-value'>{{{rigs_count}}}</div>
               | <div class='item att-value'>{{#switch: {{{class}}}
+
               | <div class='item att-value'>{{#switch: {{lc: {{{class}}} }}
                 | Corvette
+
                 | corvette
                 | Shuttle
+
                 | freighter
                 | Special Edition Shuttle
+
                 | jump freighter
                 | Freighter
+
                 | prototype exploration ship
                 | Jump Freighter= 0
+
                 | shuttle= 0
 
                 | #default={{#switch: {{{tech}}}
 
                 | #default={{#switch: {{{tech}}}
 
                   | 2= 2
 
                   | 2= 2
Line 502: Line 448:
 
               &nbsp;{{#if: {{{rigs_size|}}}
 
               &nbsp;{{#if: {{{rigs_size|}}}
 
                 |<div class='item att-value'>{{{rigs_size}}}</div>
 
                 |<div class='item att-value'>{{{rigs_size}}}</div>
                 |<div class='item att-value'>{{#switch: {{{class}}}
+
                 |<div class='item att-value'>{{#switch: {{lc: {{{class}}} }}
                   | Corvette
+
                   | corvette
                   | Shuttle
+
                   | freighter
                   | Special Edition Shuttle
+
                   | jump freighter
                   | Freighter
+
                   | prototype exploration ship
                   | Jump Freighter= ''
+
                   | shuttle= ''
  
                   | Assault Frigate
+
                   | assault frigate
                   | Logistics Frigate
+
                   | command destroyer
                   | Covert Ops
+
                   | covert ops
                   | Destroyer
+
                   | destroyer
                   | Command Destroyer
+
                   | electronic attack ship
                   | Tactical Destroyer
+
                   | expedition frigate
                   | Electronic Attack Ship
+
                   | frigate
                   | Expedition Frigate
+
                   | interceptor
                   | Frigate
+
                   | interdictor
                   | Interceptor
+
                   | logistics frigate
                   | Interdictor
+
                   | stealth bomber
                   | Stealth Bomber= small
+
                   | tactical destroyer= small
  
                   | Attack Battlecruiser
+
                   | attack battlecruiser
                   | Blockade Runner
+
                   | blockade runner
                   | Combat Battlecruiser
+
                   | combat battlecruiser
                   | Combat Recon Ship
+
                   | combat recon ship
                   | Command Ship
+
                   | command ship
                   | Cruiser
+
                   | cruiser
                   | Deep Space Transport
+
                   | deep space transport
                   | Exhumer
+
                   | exhumer
                   | Force Recon Ship
+
                   | force recon ship
                   | Heavy Assault Cruiser
+
                   | hauler
                   | Heavy Interdiction Cruiser
+
                   | heavy assault cruiser
                   | Industrial
+
                   | heavy interdiction cruiser
                   | Logistics Cruiser
+
                   | logistics <!-- In-game name for logistics cruiser -->
                   | Mining Barge
+
                   | logistics cruiser
                   | Strategic Cruiser= medium
+
                   | mining barge
 +
                  | strategic cruiser= medium
  
                   | Battleship
+
                   | battleship
                   | Black Ops
+
                   | black ops
                   | Industrial Command Ship
+
                   | industrial command ship
                   | Marauder= large  
+
                   | marauder= large  
  
                   | Capital Industrial Ship
+
                   | capital industrial ship
                   | Carrier
+
                   | carrier
                   | Force Auxiliary
+
                   | dreadnought
                   | Dreadnought
+
                   | force auxiliary
                   | Supercarrier
+
                   | supercarrier
                   | Titan= capital
+
                   | titan= capital
  
                   | #default= ?
+
                   | #default= {{Co|red|?}}
 
                 }}</div>
 
                 }}</div>
 
               }}
 
               }}
  
 
<!--*** Calibration ***-->
 
<!--*** Calibration ***-->
               <div class='item att-label' style='color: #9E8F75; margin-left: 5px;'>Calibration </div><div class='item att-img'>[[Image:icon_calibration.png|16px|middle|calibration]]</div><div class='item att-value'>{{#if: {{{rigs_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}}}
 
                 | {{{rigs_calibration}}}
                 | {{#switch: {{{class}}}
+
                 | {{#switch: {{lc: {{{class}}} }}
                   | Corvette
+
                   | corvette
                   | Shuttle
+
                   | freighter
                   | Limited Edition Shuttle
+
                   | jump freighter= 0
                   | Freighter
+
                   | prototype exploration ship
                   | Jump Freighter= 0
+
                   | shuttle= 1
                   | #default={{#switch: {{{grouping}}}
+
                   | #default={{#switch: {{lc: {{{grouping}}} }}
                     | Pirate Faction Ships= 350
+
                    | pirate faction ships
 +
                    | pirate faction battleships
 +
                    | pirate faction battlecruisers
 +
                    | pirate faction cruisers
 +
                    | pirate faction destroyers
 +
                    | pirate faction dreadnoughts
 +
                    | pirate faction force auxiliaries
 +
                    | pirate faction frigates
 +
                    | pirate faction supercarriers
 +
                     | pirate faction titans= 350
 
                     | #default= 400
 
                     | #default= 400
 
                     }}
 
                     }}
Line 582: Line 538:
 
<!--*** Max velocity ***-->
 
<!--*** Max velocity ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Max Velocity</div><div class='item att-img'>[[Image:Icon_velocity.png|20px|middle|max. velocity]]</div><div class='item att-value'>{{{maxvelocity|0 m/s}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** inertia modifier ***-->
 
<!--*** inertia modifier ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Inertia Modifier</div><div class='item att-img'>[[Image:icon_inertia.png|20px|middle|inertia modifier (agility)]]</div><div class='item att-value'>{{{inertia|0.0}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** Warp speed ***-->
 
<!--*** Warp speed ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Warp Speed</div><div class='item att-img'>[[Image:Icon_warp_speed.png|20px|middle|inertia modifier (agility)]]</div><div class='item att-value'>{{{warpspeed|0 AU/s}}}</div>
+
           <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>
 
         </div>
 
         </div>
  
 
<!--*** Base time to warp ***-->
 
<!--*** Base time to warp ***-->
 
         <div class='att-item'>
 
         <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|middle|base time to warp]]</div><div class='item att-value'>{{{warptime|0.0 s}}}</div><div class='item att-value snip'>what's this?
+
           <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 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>
Line 613: Line 569:
 
             <td class='att-line'>
 
             <td class='att-line'>
 
               <div class='att-item'>
 
               <div class='att-item'>
                 <div class='item att-label'>Fighter Bay Capacity</div><div class='item att-img'>[[Image:icon_drone_capacity.png|20px|middle|fighter bay capacity]]</div><div class='item att-value'>{{{fighterbay|0 m&#179;}}}</div>
+
                 <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>
 
               <div class='att-item'>
 
               <div class='att-item'>
                 <div class='item att-label'>Fighter Squad Tubes</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|middle|fighter tubes]]</div><div class='item att-value'>{{{fightertubes|0}}}</div>
+
                 <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>
 
               </div>
 
<!--        -->{{#if: {{{lightfightersquadlimit|}}}
 
<!--        -->{{#if: {{{lightfightersquadlimit|}}}
 
                 | <div class='att-item'>
 
                 | <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|middle|squad limit]]</div><div class='item att-value'>{{{lightfightersquadlimit|0}}}</div>
+
                     <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>
 
                   </div>
 
               }}<!--
 
               }}<!--
 
             -->{{#if: {{{heavyfightersquadlimit|}}}
 
             -->{{#if: {{{heavyfightersquadlimit|}}}
 
                 | <div class='att-item'>
 
                 | <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|middle|squad limit]]</div><div class='item att-value'>{{{heavyfightersquadlimit|0}}}</div>
+
                     <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>
 
                   </div>
 
               }}<!--
 
               }}<!--
 
             -->{{#if: {{{supportfightersquadlimit|}}}
 
             -->{{#if: {{{supportfightersquadlimit|}}}
 
                 | <div class='att-item'>
 
                 | <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|middle|squad limit]]</div><div class='item att-value'>{{{supportfightersquadlimit|0}}}</div>
+
                     <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>
 
                   </div>
 
               }}
 
               }}
Line 638: Line 594:
 
             <td class='att-line'>
 
             <td class='att-line'>
 
               <div class='att-item'> {{#if: {{{dronebay|}}}
 
               <div class='att-item'> {{#if: {{{dronebay|}}}
                 |  <div class='item att-label'>Drone Capacity</div><div class='item att-img'>[[Image:icon_drone_capacity.png|20px|middle|drone capacity]]</div><div class='item att-value'>{{{dronebay|0 m&#179;}}}</div>
+
                 |  <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>
 
               </div>
 
               </div>
 
               <div class='att-item'>
 
               <div class='att-item'>
                   <div class='item att-label'>Drone Bandwidth</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|middle|drone bandwidth]]</div><div class='item att-value'>{{{bandwidth|0 Mbit/sec}}}</div>
+
                   <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>
  
Line 660: Line 616:
 
<!--*** Max range ***-->
 
<!--*** Max range ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Max Tgt. Range</div><div class='item att-img'>[[Image:icon_target_range.png|20px|middle|max. targeting range]]</div><div class='item att-value'>{{{targetrange|0 km}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** Max targets ***-->
 
<!--*** Max targets ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Max Locked Targets</div><div class='item att-img'>[[Image:icon_target_max.png|20px|middle|max. locked targets]]</div><div class='item att-value'>{{{maxlockedtargets|0}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** Sensor ***-->
 
<!--*** Sensor ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>{{{sensortype|Multi}}} Sensor</div><div class='item att-img'>{{#switch: {{{sensortype}}}
+
           <div class='item att-label'>{{#if: {{{sensortype|}}} |{{{sensortype}}} | Multi }} Sensor</div><div class='item att-img'>{{#switch: {{lc: {{{sensortype}}} }}
               | RADAR= [[Image:Icon_sensor_radar.png|20px|middle|RADAR sensor strength]]
+
               | gravimetric= [[Image:Icon_sensor_gravimetric.png|20px|Gravimetric sensor strength]]
               | Gravimetric= [[Image:Icon_sensor_gravimetric.png|20px|middle|Gravimetric sensor strength]]
+
               | ladar= [[Image:Icon_sensor_ladar.png|20px|LADAR sensor strength]]
               | Magnetometric= [[Image:Icon_sensor_magnetometric.png|20px|middle|Magnetometric sensor strength]]
+
               | magnetometric= [[Image:Icon_sensor_magnetometric.png|20px|Magnetometric sensor strength]]
               | LADAR= [[Image:Icon_sensor_ladar.png|20px|middle|LADAR sensor strength]]
+
               | radar= [[Image:Icon_sensor_radar.png|20px|RADAR sensor strength]]
               | #default= [[Image:Icon_sensor_gravimetric.png|20px|middle|Multitype sensor strength]]}}</div><div class='item att-value'>{{{sensorvalue|0 points}}}</div>
+
               | #default= [[Image:Icon_sensor_gravimetric.png|20px|Multitype sensor strength]]}}</div><div class='item att-value'>{{#if: {{{sensorvalue|}}} |{{{sensorvalue}}} |0 points }}</div>
 
         </div>
 
         </div>
  
 
<!--*** Signature radius ***-->
 
<!--*** Signature radius ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Sig. Radius</div><div class='item att-img'>[[Image:icon_ship_sig.png|20px|middle|ship signature radius]]</div><div class='item att-value'>{{{sigradius|0 m}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** Scan resolution ***-->
 
<!--*** Scan resolution ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Scan Res.</div><div class='item att-img'>[[Image:icon_sensor_resolution.png|20px|middle|scan resolution]]</div><div class='item att-value'>{{{scanres|0 mm}}}</div>
+
           <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>
 
         </div>
 
         </div>
 
         </td>
 
         </td>
Line 699: Line 655:
 
<!--*** hitpoints ***-->
 
<!--*** hitpoints ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Structure Hitpoints</div><div class='item att-img'>[[Image:icon_volume.png|20px|middle|structure hitpoints]]</div><div class='item att-value'>{{{structurehp|0 HP}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** Mass ***-->
 
<!--*** Mass ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Mass</div><div class='item att-img'>[[Image:icon_mass.png|20px|middle|ship mass]]</div><div class='item att-value'>{{{mass|0 kg}}}</div>
+
           <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>
 
         </div>
 
         </div>
  
 
<!--*** Volume ***-->
 
<!--*** Volume ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Volume</div><div class='item att-img'>[[Image:icon_volume.png|20px|middle|ship volume]]</div><div class='item att-value'>{{{volume|0 m&#179;}}}</div>
+
           <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>
 
         </div>
  
 
<!--*** Cargo capacity ***-->
 
<!--*** Cargo capacity ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Cargo Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|cargo capacity]]</div><div class='item att-value'>{{{cargohold|0 m&#179;}}}</div>
+
           <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>
 
         </div><!--
 
         </div><!--
  
 
*** Escape bay ***
 
*** Escape bay ***
-->      {{#ifeq: {{{class|}}} | Battleship
+
-->      {{#switch: {{lc: {{{class}}} }}
           | <div class='att-item'>
+
          | battleship
               <div class='item att-label'>Frigate Escape Bay</div><div class='item att-img'>[[Image:Isis_frigate.png|center|20px|Frigate Capacity]]</div><div class='item att-value'>1 Frigate</div>
+
          | 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>
 
             </div>
 
         }}<!--
 
         }}<!--
Line 727: Line 686:
 
-->      {{#if: {{{extrahold|}}}
 
-->      {{#if: {{{extrahold|}}}
 
           | <div class='att-item'>
 
           | <div class='att-item'>
               <div class='item att-label'>{{{extraholdtype}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold|0 m&#179;}}}</div>
+
               <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>
 
             </div>
 
         }}<!--
 
         }}<!--
Line 734: Line 693:
 
-->      {{#if: {{{extrahold2|}}}
 
-->      {{#if: {{{extrahold2|}}}
 
           | <div class='att-item'>
 
           | <div class='att-item'>
               <div class='item att-label'>{{{extrahold2type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold2|0 m&#179;}}}</div>
+
               <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>
 
         </div>
 
         }}<!--
 
         }}<!--
Line 741: Line 700:
 
-->      {{#if: {{{extrahold3|}}}
 
-->      {{#if: {{{extrahold3|}}}
 
           | <div class='att-item'>
 
           | <div class='att-item'>
               <div class='item att-label'>{{{extrahold3type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold3|0 m&#179;}}}</div>
+
               <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>
 
         </div>
 
         }}<!--
 
         }}<!--
Line 748: Line 707:
 
-->      {{#if: {{{extrahold4|}}}
 
-->      {{#if: {{{extrahold4|}}}
 
           | <div class='att-item'>
 
           | <div class='att-item'>
               <div class='item att-label'>{{{extrahold4type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold4|0 m&#179;}}}</div>
+
               <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>
 
         </div>
 
         </div>
 
         }}
 
         }}
Line 764: Line 723:
 
<!--*** hitpoints ***-->
 
<!--*** hitpoints ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Armor Hitpoints</div><div class='item att-img'>[[Image:icon_armor.png|20px|middle|armor]]</div><div class='item att-value'>{{{armorhp|0 HP}}}</div>
+
           <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>
  
 
<!--*** resistances ***-->
 
<!--*** resistances ***-->
Line 771: Line 730:
 
           <div class='item'>
 
           <div class='item'>
 
           <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>EM</div>
 
           <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|shield electromagnetic resistance]]</div>
+
           <div class='item att-img'>[[Image:icon_resist_em.png|20px|electromagnetic resistance]]</div>
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
             <div class='box-resist bgr-em'>
 
             <div class='box-resist bgr-em'>
Line 778: Line 737:
 
                 | 0
 
                 | 0
 
                 }}px;'>
 
                 }}px;'>
               <div class='value-text'>{{#if: {{{armorem|}}}
+
               <div class='value-text'>{{#if: {{{armorem|}}} |{{{armorem}}} |0 }}</div>
                  | {{{armorem}}}
 
                  | 0
 
                }}
 
              </div>
 
 
             </div>
 
             </div>
 
             </div>
 
             </div>
Line 790: Line 745:
 
           <div class='item'>
 
           <div class='item'>
 
           <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>THR</div>
 
           <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|armor thermal resistance]]</div>
+
           <div class='item att-img'>[[Image:icon_resist_therm.png|20px|thermal resistance]]</div>
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
             <div class='box-resist bgr-thr'>
 
             <div class='box-resist bgr-thr'>
Line 797: Line 752:
 
                 | 0
 
                 | 0
 
                 }}px;'>
 
                 }}px;'>
               <div class='value-text'>{{#if: {{{armortherm|}}}
+
               <div class='value-text'>{{#if: {{{armortherm|}}} |{{{armortherm}}} |0 }}</div>
                  | {{{armortherm}}}
 
                  | 0
 
                }}
 
              </div>
 
 
             </div>
 
             </div>
 
             </div>
 
             </div>
Line 809: Line 760:
 
           <div class='item'>
 
           <div class='item'>
 
           <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div>
 
           <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|armor kinetic resistance]]</div>
+
           <div class='item att-img'>[[Image:icon_resist_kin.png|20px|kinetic resistance]]</div>
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
             <div class='box-resist bgr-kin'>
 
             <div class='box-resist bgr-kin'>
Line 816: Line 767:
 
                 | 0
 
                 | 0
 
                 }}px;'>
 
                 }}px;'>
               <div class='value-text'>{{#if: {{{armorkin|}}}
+
               <div class='value-text'>{{#if: {{{armorkin|}}} |{{{armorkin}}} |0 }}</div>
                  | {{{armorkin}}}
 
                  | 0
 
                }}
 
              </div>
 
 
             </div>
 
             </div>
 
             </div>
 
             </div>
Line 828: Line 775:
 
           <div class='item'>
 
           <div class='item'>
 
           <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div>
 
           <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|armor explosive resistance]]</div>
+
           <div class='item att-img'>[[Image:icon_resist_exp.png|20px|explosive resistance]]</div>
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
             <div class='box-resist bgr-exp'>
 
             <div class='box-resist bgr-exp'>
Line 835: Line 782:
 
                 | 0
 
                 | 0
 
                 }}px;'>
 
                 }}px;'>
               <div class='value-text'>{{#if: {{{armorexp|}}}
+
               <div class='value-text'>{{#if: {{{armorexp|}}} |{{{armorexp}}} |0 }}</div>
                  | {{{armorexp}}}
 
                  | 0
 
                }}
 
              </div>
 
 
             </div>
 
             </div>
 
             </div>
 
             </div>
 
           </div>
 
           </div>
 
           </div>
 
           </div>
 +
 
         </div>
 
         </div>
 
         </td>
 
         </td>
Line 857: Line 801:
 
<!--*** hitpoints ***-->
 
<!--*** hitpoints ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>Shield Capacity</div><div class='item att-img'>[[Image:icon_shield.png|20px|middle|shields]]</div><div class='item att-value'>{{{shieldhp|0 HP}}}</div>
+
           <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>
  
 
<!--*** resistances ***-->
 
<!--*** resistances ***-->
Line 864: Line 808:
 
           <div class='item'>
 
           <div class='item'>
 
           <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>EM</div>
 
           <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|shield electromagnetic resistance]]</div>
+
           <div class='item att-img'>[[Image:icon_resist_em.png|20px|electromagnetic resistance]]</div>
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
             <div class='box-resist bgr-em'>
 
             <div class='box-resist bgr-em'>
Line 871: Line 815:
 
                 | 0
 
                 | 0
 
                 }}px;'>
 
                 }}px;'>
               <div class='value-text'>{{#if: {{{shieldem|}}}
+
               <div class='value-text'>{{#if: {{{shieldem|}}} |{{{shieldem}}} |0 }}</div>
                  | {{{shieldem}}}
 
                  | 0
 
                }}
 
              </div>
 
 
             </div>
 
             </div>
 
           </div>
 
           </div>
Line 883: Line 823:
 
         <div class='item'>
 
         <div class='item'>
 
           <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>THR</div>
 
           <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|shield thermal resistance]]</div>
+
           <div class='item att-img'>[[Image:icon_resist_therm.png|20px|thermal resistance]]</div>
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
           <div class='box-resist bgr-thr'>
 
           <div class='box-resist bgr-thr'>
Line 890: Line 830:
 
                 | 0
 
                 | 0
 
                 }}px;'>
 
                 }}px;'>
             <div class='value-text'>{{#if: {{{shieldtherm|}}}
+
             <div class='value-text'>{{#if: {{{shieldtherm|}}} |{{{shieldtherm}}} |0 }}</div>
                | {{{shieldtherm}}}
 
                | 0
 
                }}
 
              </div>
 
 
             </div>
 
             </div>
 
             </div>
 
             </div>
Line 902: Line 838:
 
           <div class='item'>
 
           <div class='item'>
 
           <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div>
 
           <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|shield kinetic resistance]]</div>
+
           <div class='item att-img'>[[Image:icon_resist_kin.png|20px|kinetic resistance]]</div>
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
             <div class='box-resist bgr-kin'>
 
             <div class='box-resist bgr-kin'>
Line 909: Line 845:
 
                 | 0
 
                 | 0
 
                 }}px;'>
 
                 }}px;'>
               <div class='value-text'>{{#if: {{{shieldkin|}}}
+
               <div class='value-text'>{{#if: {{{shieldkin|}}} |{{{shieldkin}}} |0 }}</div>
                  | {{{shieldkin}}}
 
                  | 0
 
                }}
 
              </div>
 
 
             </div>
 
             </div>
 
             </div>
 
             </div>
Line 921: Line 853:
 
           <div class='item'><!--  open div 2  -->
 
           <div class='item'><!--  open div 2  -->
 
           <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div>
 
           <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|shield explosive resistance]]</div>
+
           <div class='item att-img'>[[Image:icon_resist_exp.png|20px|explosive resistance]]</div>
 
           <div style='display: inline-block;'>
 
           <div style='display: inline-block;'>
 
             <div class='box-resist bgr-exp'>
 
             <div class='box-resist bgr-exp'>
Line 928: Line 860:
 
                 | 0
 
                 | 0
 
                 }}px;'>
 
                 }}px;'>
               <div class='value-text'>{{#if: {{{shieldexp|}}}
+
               <div class='value-text'>{{#if: {{{shieldexp|}}} |{{{shieldexp}}} |0 }}</div>
                  | {{{shieldexp}}}
 
                  | 0
 
                }}
 
              </div>
 
 
             </div>
 
             </div>
 
             </div>
 
             </div>
 
           </div>
 
           </div>
 
           </div>
 
           </div>
 +
 
         </div>
 
         </div>
 
         </td>
 
         </td>

Revision as of 09:54, 12 October 2024


Template documentation (for the above template, sometimes hidden or invisible)
This page should be updated due to game changes.
Reason: Update locations where information is found. Ship info screen whas overhauled in the Revenant expansion.
Description
This template is used to create a ship page for the Ship Database.
Icon timer non-capsuleer.png Creating a new ship article? Remember to update the {{Sh}} and {{ShipsMatrix}} templates and check the required for info of the required skills.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 --> 
Note: While {{ShipArticle}} on its own will work, leaving out the other parts given in the syntax will break the functioning of {{ShipBoxTooltip}} and {{ShipBoxLarge}}.
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
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]
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.


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)


quote
The quote can be found on the overview section of the ship information window
quote_attribution
The attribution of the quote. The part after the - sign right beneath the quote.
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 &bull;&nbsp; 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>
&bull;&nbsp;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.)
Example
reqskills= * {{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.


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.

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

| quote= You cannot outrun the wind, for its reach is without limit.
| quote_attribution=  Excerpt from Mediations on the Way: Book of the Cold Wind
| 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

| wikireferences= 
| externallinks= 
| highlights1= 
| highlights2= 
| highlights3= 
| highlights4= 
}}
Visit Template:ShipArticle/doc to edit this text! (How does this work?) (Refresh this text - why?)