Difference between revisions of "User:Evon R'al/Sandbox template"

From EVE University Wiki
Jump to: navigation, search
m (Replace TAB with SPACE. and nothing else this time.)
m (Coding and testing.)
 
(592 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#css:
 
<includeonly>{{#css:
<!--overrides-->
+
<!-- More CSS in MediaWiki:Common.css -->
#bodyContent
+
<!--***  overrides ***-->
 +
#bodyContent
 
  {
 
  {
 
   margin-top: -1.5em;
 
   margin-top: -1.5em;
 
  }
 
  }
#firstHeading
+
 
 +
#firstHeading
 
  {
 
  {
 
   display: none;
 
   display: none;
 
  }
 
  }
h1, h2
+
 
 +
h1, h2
 
  {
 
  {
 
   background-color: black;
 
   background-color: black;
Line 22: Line 25:
 
   text-align: center;
 
   text-align: center;
 
  }
 
  }
h1 { color: darkorange; font-size: 140%; }
 
h2 { color: white; font-size: 120%; }
 
h3 { border-bottom: 1px solid #2C2B2B; clear: both; font-size: 132%; }
 
  
.attributes
+
h1 { color: darkorange; font-size: 140%; }
 +
h2 { color: white; font-size: 120%; }
 +
h3 { border-bottom: 1px solid #2C2B2B; clear: both; font-size: 132%; }
 +
 
 +
.attributes
 
  {
 
  {
 
   background-color: transparent;
 
   background-color: transparent;
 
   margin-left: 5px;
 
   margin-left: 5px;
 
  }
 
  }
.attributes h3
+
 
 +
.attributes h3
 
  {
 
  {
 
   color: #494949;
 
   color: #494949;
Line 40: Line 45:
 
   text-align: right;
 
   text-align: right;
 
  }
 
  }
.attributes .token
+
 
 +
.attributes .token
 
  {
 
  {
  
 
  }
 
  }
.attributes .separator
+
 
 +
.attributes .separator
 
  {
 
  {
 
   height: 0;
 
   height: 0;
 
  }
 
  }
.att-line
+
 
 +
.att-line
 
  {
 
  {
 
   font-size: 11px;
 
   font-size: 11px;
 
  }
 
  }
.attributes .token .line-label .label
+
 
 +
.attributes .token .line-label .label
 
  {
 
  {
 
   color: #494949;
 
   color: #494949;
Line 61: Line 70:
 
   text-align: right;
 
   text-align: right;
 
  }
 
  }
.att-line .att-item
+
 
 +
.att-line .att-item
 
  {
 
  {
 
   display: inline-block;
 
   display: inline-block;
Line 67: Line 77:
 
   padding: 1px 5px;
 
   padding: 1px 5px;
 
  }
 
  }
.att-line .highlight
+
 
 +
.att-line .highlight
 
  {
 
  {
 
   color: white;
 
   color: white;
 
  }
 
  }
.att-line .att-item .item
+
 
 +
.att-line .att-item .item
 
  {
 
  {
 
   display: inline-block;
 
   display: inline-block;
Line 77: Line 89:
 
   line-height: 21px;
 
   line-height: 21px;
 
  }
 
  }
.att-line .att-item .snip
+
 
 +
.att-line .att-item .snip
 
  {
 
  {
 
   color: #656565;
 
   color: #656565;
Line 84: Line 97:
 
   position: relative;
 
   position: relative;
 
  }
 
  }
.att-line .att-item .snip .desc
+
 
 +
.att-line .att-item .snip .desc
 
  {
 
  {
 
   background-color: black;
 
   background-color: black;
Line 98: Line 112:
 
   width: 300px;
 
   width: 300px;
 
  }
 
  }
.att-line .att-item .snip:hover .desc, .att-line .att-item .snip.hover .desc
+
 
 +
.att-line .att-item .snip:hover .desc,
 +
.att-line .att-item .snip.hover .desc
 
  {
 
  {
 
   display: block;
 
   display: block;
 
  }
 
  }
.att-line .att-item .att-img
+
 
 +
.att-line .att-item .att-img
 
  {
 
  {
 
   line-height: 20px;
 
   line-height: 20px;
 
   margin: 0 2px;
 
   margin: 0 2px;
 
  }
 
  }
.att-line .att-item .att-img img
+
 
 +
.att-line .att-item .att-img img
 
  {
 
  {
 
   margin-top: -2px;
 
   margin-top: -2px;
 
  }
 
  }
.att-line .att-item .att-label
+
 
 +
.att-line .att-item .att-label
 
  {
 
  {
 
   color: #7D6843;
 
   color: #7D6843;
 
  }
 
  }
.box-resist {
+
 
  height: 15px;
+
.box-resist
  line-height: 15px;
+
{
  width: 50px;
+
  height: 15px;
 +
  line-height: 15px;
 +
  width: 50px;
 
  }
 
  }
.bgr-em { background-color:#121923; }
+
 
.bgr-thr { background-color:#290b0b; }
+
.bgr-em { background-color: #121923; }
.bgr-kin { background-color:#292021; }
+
.bgr-thr { background-color: #290b0b; }
.bgr-exp { background-color:#2b190b; }
+
.bgr-kin { background-color: #292021; }
.val-em { background-color:#1c5d85; }
+
.bgr-exp { background-color: #2b190b; }
.val-thr { background-color:#8d1717; }
+
.val-em { background-color: #1c5d85; }
.val-kin { background-color:#757575; }
+
.val-thr { background-color: #8d1717; }
.val-exp { background-color:#875f1a; }
+
.val-kin { background-color: #757575; }
.box-resist .resist-value .value-text
+
.val-exp { background-color: #875f1a; }
 +
 
 +
.box-resist .resist-value .value-text
 
  {
 
  {
 
   font-family: trebuchet MS;
 
   font-family: trebuchet MS;
Line 137: Line 160:
 
  }
 
  }
  
<!--overrides(end)-->
+
<!--***  overrides(end) ***-->
#ship-article .ignore a
+
 
 +
#ship-article .ignore a
 
  {
 
  {
   background:none;
+
   background: none;
   color:#4C4C4C;
+
   color: #4C4C4C;
 
  }
 
  }
#ship-article .ignore a:hover,
+
 
#ship-article .ignore a.hover
+
#ship-article .ignore a:hover,
 +
#ship-article .ignore a.hover
 
  {
 
  {
   color:orange;
+
   color: orange;
 
  }
 
  }
  
.techcorner
+
.techcorner
 
  {
 
  {
 
   width: 64px;
 
   width: 64px;
 
   height: 64px;
 
   height: 64px;
 
   position: absolute;
 
   position: absolute;
   top: 0px;
+
   top: 0;
   left: 0px;
+
   left: 0;
 
   margin-left: 1px;
 
   margin-left: 1px;
 
   margin-top: 1px;
 
   margin-top: 1px;
Line 161: Line 186:
 
}}
 
}}
 
<div id='ship-article'>
 
<div id='ship-article'>
 +
<!--####    Header    #####-->
 
  <div class='header'>
 
  <div class='header'>
   <div class='headerbg'>[[Image:Eve_university_dbase_header.png|center|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>
 +
 
 +
<!--####    breadcrumbs    ####-->
 +
<!--* Breadcrumbs *-->
 +
<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>
<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>
+
 
 +
<!--#####    Main    ####-->
 
  <div class='main'>
 
  <div class='main'>
   <table cellspacing='0' cellpadding='0' style='width:100%'>
+
   <table cellspacing='0' cellpadding='0' style='width: 100%'>
 
   <tr>
 
   <tr>
 +
 +
<!--***************
 +
***  Main left  ***
 +
*******************-->
 
     <td valign='top' class='left-col'>
 
     <td valign='top' class='left-col'>
     <div style='border:1px solid #323931; position: relative;'>{{#if:{{{tech|}}}|<div class="techcorner">[[Image:CornerT{{{tech|2}}}h.png|link=]]</div>|}}{{#ifexist:File:{{{shipimg}}}|[[Image:{{{shipimg|no-image.png}}}|center|link= |256x256px|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]|{{#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 class='box-line box-info'>
+
<!--* Ship image block *-->
       <table class='ecm-info' cellspacing='0' cellpadding='0'>
+
     <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|}}}
 +
          | {{Imageserver|types|{{{shipid}}}|render|size=256}}
 +
          | [[Image:no-image.png|center|link= |256x256px|{{{shipname|}}}]]
 +
          }}
 +
        }}
 +
    </div>
 +
 
 +
     <div class='box-info'>
 +
       <table class='faction-info' cellspacing='0' cellpadding='0'>
 
       <tr>
 
       <tr>
         <td rowspan='3' class='faction-img'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Society of Conscious Thought=Logo_faction_the_society.png|Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |Angel Cartel=Logo_faction_angel_cartel.png|Sisters of EVE=Logo_faction_sisters_of_eve.png |Serpentis=Logo_faction_serpentis.png|Guristas=Logo_faction_guristas_pirates.png|Blood Raiders=Logo_faction_the_blood_raider_covenant.png|Sansha's Nation=Logo_faction_sanshas_nation.png|Mordu's Legion=Logo_faction_mordus_legion.png|CONCORD=Logo_faction_concord_assembly.png|Intaki Syndicate=Logo faction the syndicate.png|InterBus=Logo faction the interbus.png|Triglavian Collective=Logo faction triglavian collective.png|EDENCOM=Logo_faction_edencom.png|#default=no-image.png}}|center|link=|50x50px|{{#if:{{{faction}}}|{{{faction|Unknown}}}|Unknown}}]]</td>
+
 
        <td class='faction'>{{{faction|Unknown}}}</td>
+
<!--** Ship image block "caption" left **-->
        <td rowspan='3' style='width: 70px;'>
+
         <td rowspan='3' class='faction-img'>[[Image:{{#switch: {{lc: {{{faction}}} }}
        <div class='ecm-priority'>
+
          | angel cartel= Logo_faction_angel_cartel.png
          <div class='label'>ECM PRIORITY</div>
+
          | amarr empire= Logo_faction_amarr_empire.png
          <div class='value normal'>{{#switch:{{{ecmprio}}}|0=NONE|1=LOW|2=NORMAL|3=HIGH|4=HIGHEST|#default=UNKNOWN}}</div>
+
          | blood raiders= Logo_faction_the_blood_raider_covenant.png
          <div class='label2 type-gravimetric'>{{#ifeq:{{{sensortype}}}|Magnetometric|<span style='font-size:9px;'>Magnetometric</span>|{{{sensortype|Multi}}}}}</div>
+
          | caldari state= Logo_faction_caldari_state.png
          <div class='snip'>what's this?</div>
+
          | concord= Logo_faction_concord_assembly.png
          <div class='ecm-desc'>
+
          | deathless circle= Logo faction deathless circle.png
          <p>
+
          | edencom= Logo_faction_edencom.png
            <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>
+
          | gallente federation= Logo_faction_gallente_federation.png
            <hr>
+
          | guristas= Logo_faction_guristas_pirates.png
            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.
+
          | intaki syndicate= Logo faction the syndicate.png
            <hr>
+
          | interbus= Logo faction the interbus.png
            <ul>
+
          | jovian directorate= Logo faction jove empire.png
            <li>[[Alphabetical_Ship_List|List of Jamming Priorities by Alphabet]]</li>
+
          | minmatar republic= Logo_faction_minmatar_republic.png
            <li>[https://forum.eveuniversity.org/search.php?keywords=ewar Forum Discussions for E-War]</li>
+
          | mordu's legion= Logo_faction_mordus_legion.png
            </ul>
+
          | outer ring excavations= Logo_faction_outer_ring_excavations.png
          </p>
+
          | sansha's nation= Logo_faction_sanshas_nation.png
          </div>
+
          | serpentis= Logo_faction_serpentis.png
        </div>
+
          | 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
 +
          }}|center|link=|50px|{{{faction|}}} ]]
 
         </td>
 
         </td>
      </tr>
+
 
 +
<!--** Ship image block "caption" center, line 1 **-->
 +
        <td class='faction'>{{#if: {{{faction|}}} |{{{faction}}} |{{Co|red|! faction missing !}} }}</td>
 +
 
 +
<!--** 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 **-->
 
       <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><!--
 +
 +
* class missing error *
 +
-->  {{#if: {{{class|}}} | <!-- Nothing --> | <div class='box-discussion' style='text-align: center; color: red;'> ! class missing ! </div> }}<!--
 +
 +
* Highlights *
 +
-->  {{#if: {{{highlights1|}}} {{{highlights2|}}} {{{highlights3|}}} {{{highlights4|}}}
 +
      |
 +
    <div class='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>
 
     </div>
    <div class='box-line box-awards'>
+
}}<!--
      <div class='award' style='display:{{#if:{{{highlights1|}}}|block|none}}'>
+
 
      <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|first highlight]]</div>
+
* Forum links *-->
      <div class='award-label'>{{{highlights1|}}}</div>
+
    {{#if: {{{forumlinks|}}}
      <div class='award-bgr'>HIGHLIGHTS</div>
+
      | <div class='box-discussion'>
      </div>
+
        <div class='discussion-bgr'>FORUM DISCUSSION</div>
      <div class='award' style='display:{{#if:{{{highlights2|}}}|block|none}}'>
+
        <div class='linkname'>{{{forumlinks}}}</div>
      <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
+
        </div>
      <div class='award-label'>{{{highlights2|}}}</div>
+
     }}
      <div class='award-bgr'>HIGHLIGHTS</div>
+
<!--
      </div>
+
* Wiki links *-->
      <div class='award' style='display:{{#if:{{{highlights3|}}}|block|none}}'>
+
     <div class='box-discussion'>
      <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
 
      <div class='award-label'>{{{highlights3|}}}</div>
 
      <div class='award-bgr'>HIGHLIGHTS</div>
 
      </div>
 
      <div class='award' style='display:{{#if:{{{highlights4|}}}|block|none}}'>
 
      <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
 
      <div class='award-label'>{{{highlights4|}}}</div>
 
      <div class='award-bgr'>HIGHLIGHTS</div>
 
      </div>
 
    </div>
 
     {{#if:{{{forumlinks}}}|<div class='box-line box-discussion'>
 
      <div class='discussion-bgr'>FORUM DISCUSSION</div>
 
      <div class='linkname'>{{{forumlinks|}}}</div>
 
    </div>|}}
 
     <div class='box-line 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>
 
     </div>
 
     </div>
     <div class='box-line box-discussion'>
+
 
 +
<!--* External links *-->
 +
     <div class='box-discussion'>
 
       <div class='discussion-bgr'>EXTERNAL LINKS</div>
 
       <div class='discussion-bgr'>EXTERNAL LINKS</div>
       <div class='linkname'>{{#if:{{{shipid}}}| [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|unknown}}} on zKillboard]{{#switch:{{{class}}}|Shuttle|Special Edition Shuttle=|<br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|unknown}}} on EVE Workbench]}}<br>[https://evepraisal.com/item/{{{shipid}}}/ {{{shipname|unknown}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|unknown}}} on EVE Ref]|}}<br>{{{externallinks|}}}</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://janice.e-351.com/i/{{{shipid}}}/ {{{shipname|}}} on Janice]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref]
 +
      }}<br>{{{externallinks|}}}</div>
 
     </div>
 
     </div>
 
     </td>
 
     </td>
 +
 +
<!--****************
 +
***  Main right  ***
 +
********************-->
 
     <td valign='top'>
 
     <td valign='top'>
 +
 +
<!--* TOC and Ship info *-->
 
     <div class='box-line'>
 
     <div class='box-line'>
      __TOC__
+
      __TOC__
      {{{info|}}}
+
      {{#if: {{{quote|}}}
    </div>
+
        | <div style="font-size: large;">{{{quote}}}</div>
     <div class='box-line box-bonuses' style='display:{{#if:{{{bonuses|}}}|block|none}}'>
+
        {{#if: {{{quote_attribution|}}}
      <div class='label'>SHIP BONUSES</div>
+
          |: &ndash; {{{quote_attribution}}}
      {{{bonuses|}}}
+
        }}
    </div>
+
<!--  --><br> <!-- Comment in front is to suppress <pre> parsing -->
     <div class='box-line'>
+
      }}
 +
<!---->{{{info|}}} <!-- Comment in front is to suppress <pre> parsing -->
 +
     </div><!--
 +
 
 +
* Ship bonuses(traits) *-->
 +
    {{#if: {{{bonuses|}}}
 +
      | <div class='box-line box-bonuses'>
 +
          <div class='label'>SHIP BONUSES</div>
 +
<!--    -->{{{bonuses}}} <!-- Comment in front is to suppress <pre> parsing -->
 +
        </div>
 +
     }}<!--
 +
 
 +
-->  <div class='box-line'>
 
       <table class='midinfo' cellspacing='0' cellpadding='0'>
 
       <table class='midinfo' cellspacing='0' cellpadding='0'>
 
       <tr>
 
       <tr>
         <td class='left' style='width:330px;'><div class='title'>Required Skills</div>
+
 
{{{reqskills|<i>none</i>}}}
+
<!--* Required skills *-->
        <div class='skillstime' style='display:{{#if:{{{reqskills|}}}|block|none}}'>
+
         <td class='left' style='width: 330px;'>
        <span style='font-variant: small-caps;'>Training Time</span> <span style='color:#656565;font-size:70%;'>what's this?</span><div class='value'>{{{totaltraintime|}}}</div>
+
        <div class='title'>Required Skills</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]].</div>
+
<!--  -->{{#if: {{{reqskills|}}} |{{{reqskills}}} |<i>none</i> }} <!-- comment in front is to suppress <pre> parsing -->
        </div>
+
<!--** Training time **-->
 +
          {{#if: {{{reqskills|}}}
 +
            | <div class='skillstime'>
 +
                <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]].
 +
                </div>
 +
              </div>
 +
          }}
 
         </td>
 
         </td>
         <td class='right'><div class='title'>Grouping</div>
+
 
         <table cellspacing='0' cellpadding='0'>
+
<!--* Grouping *-->
          <tr>
+
         <td class='right'>
          <td style='width:70px;'><span style='color: #7D6843;font-size: 90%;'>&#9642; Role(s)</span></td>
+
        <div class='title'>Grouping</div>
          <td><span>{{{roles|<i>unspecified</i>}}}</span></td>
+
         <div style='color: #7D6843; font-size: 90%;'>&#9642; Variations</div> <!-- to suppress <pre> parsing
          </tr>
+
      --><span style='padding-left: 10px; display: block;'>{{#if: {{{variations|}}} |{{{variations}}} |<i>none</i> }}</span>
        </table>
+
        </td>
        <div style='color: #7D6843;font-size: 90%;'>&#9642; Variations</div>
+
        </tr>
        <span style='padding-left:10px;display:block;'>{{{variations|<i>none</i>}}}</span>
+
      </table>
        </td>
 
      </tr>
 
      </table>
 
 
     </div>
 
     </div>
     <div class='box-line box-attributes'>
+
 
       <h2 style='margin-left:0;'>Ship Attributes</h2>
+
<!--* Ship attributes *-->
 +
     <div class='box-attributes'>
 +
       <h2 style='margin-left: 0;'>Ship Attributes</h2>
 
       <table class='attributes' cellspacing='0' cellpadding='0'>
 
       <table class='attributes' cellspacing='0' cellpadding='0'>
 +
 +
<!--** Ship attributes - Fittings **-->
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Fittings</span></td>
 
         <td class='line-label'><span class='label'>Fittings</span></td>
 
         <td class='att-line'>
 
         <td class='att-line'>
 +
 +
<!--*** 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 ***-->
 
         <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 ***-->
 
         <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 ***-->
 
         <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>
           <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;'>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>
+
<!--*** 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|launcher slots]]</div><div class='item att-value'>{{#if: {{{launchers|}}} |{{{launchers}}} |0 }}</div>
 +
 
 +
<!--*** 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|turret slots]]</div><div class='item att-value'>{{#if: {{{turrets|}}} |{{{turrets}}} |0 }}</div>
 +
 
 
         </div>
 
         </div>
 +
 +
<!--*** 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 ***-->
 
         <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 ***-->
 
         <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|}}}|<div class='item att-value'>{{{rigs_count}}}</div>|<div class='item att-value'>{{#switch:{{{class}}}|Corvette|Shuttle|Special Edition Shuttle|Freighter|Jump Freighter=0|#default={{#switch:{{{tech}}}|2=2|#default=3}}}}</div>}}
+
               {{#if: {{{rigs_count|}}}
               &nbsp;{{#if: {{{rigs_size|}}}|<div class='item att-value'>{{{rigs_size}}}</div>
+
              | <div class='item att-value'>{{{rigs_count}}}</div>
              |<div class='item att-value'>{{#switch:{{{class}}}|Shuttle|Special Edition Shuttle|Corvette|Assault Frigate|Logistics Frigate|Covert Ops|Destroyer|Command Destroyer|Tactical Destroyer|Electronic Attack Ship|Expedition Frigate|Frigate|Interceptor|Interdictor|Stealth Bomber=small|Attack Battlecruiser|Blockade Runner|Combat Battlecruiser|Combat Recon Ship|Command Ship|Cruiser|Deep Space Transport|Exhumer|Force Recon Ship|Heavy Assault Cruiser|Heavy Interdiction Cruiser|Industrial|Logistics Cruiser|Mining Barge|Strategic Cruiser=medium|Battleship|Black Ops|Industrial Command Ship|Marauder=large|Capital Industrial Ship|Carrier|Force Auxiliary|Dreadnought|Freighter|Jump Freighter|Supercarrier|Titan=capital|#default=?}}</div>
+
              | <div class='item att-value'>{{#switch: {{lc: {{{class}}} }}
 +
                | corvette
 +
                | freighter
 +
                | jump freighter
 +
                | prototype exploration ship
 +
                | shuttle= 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
 +
                  | freighter
 +
                  | jump freighter
 +
                  | prototype exploration ship
 +
                  | shuttle= ''
 +
 
 +
                  | assault frigate
 +
                  | command destroyer
 +
                  | covert ops
 +
                  | destroyer
 +
                  | electronic attack ship
 +
                  | expedition frigate
 +
                  | frigate
 +
                  | interceptor
 +
                  | interdictor
 +
                  | logistics frigate
 +
                  | stealth bomber
 +
                  | tactical destroyer= small
 +
 
 +
                  | attack battlecruiser
 +
                  | blockade runner
 +
                  | combat battlecruiser
 +
                  | combat recon ship
 +
                  | command ship
 +
                  | cruiser
 +
                  | deep space transport
 +
                  | exhumer
 +
                  | force recon ship
 +
                  | hauler
 +
                  | heavy assault cruiser
 +
                  | heavy interdiction cruiser
 +
                  | logistics <!-- In-game name for logistics cruiser -->
 +
                  | logistics cruiser
 +
                  | mining barge
 +
                  | strategic cruiser= medium
 +
 
 +
                  | battleship
 +
                  | black ops
 +
                  | industrial command ship
 +
                  | marauder= large  
 +
 
 +
                  | capital industrial ship
 +
                  | carrier
 +
                  | dreadnought
 +
                  | force auxiliary
 +
                  | supercarrier
 +
                  | titan= capital
 +
 
 +
                  | #default= {{Co|red|?}}
 +
                }}</div>
 
               }}
 
               }}
               <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|}}}|{{{rigs_calibration|}}}|{{#switch:{{{class}}}|Corvette|Shuttle|Limited Edition Shuttle|Freighter|Jump Freighter=0|#default={{#switch:{{{grouping}}}|Pirate Faction Ships=350|#default=400}}}}}}</div>
+
 
 +
<!--*** 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
 +
                  | prototype exploration ship
 +
                  | shuttle= 1
 +
                  | #default={{#switch: {{lc: {{{grouping}}} }}
 +
                    | 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
 +
                    }}
 +
                  }}
 +
              }}</div>
 
         </div>
 
         </div>
 
         </td>
 
         </td>
 
       </tr>
 
       </tr>
 +
 
       <tr><td class='separator'></td></tr>
 
       <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Navigation **-->
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Navigation</span></td>
 
         <td class='line-label'><span class='label'>Navigation</span></td>
 
         <td class='att-line'>
 
         <td class='att-line'>
 +
 +
<!--*** 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 ***-->
 
         <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 ***-->
 
         <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 ***-->
 
         <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='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 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>
 
         </div>
 
         </td>
 
         </td>
 
       </tr>
 
       </tr>
 +
 
       <tr><td class='separator'></td></tr>
 
       <tr><td class='separator'></td></tr>
       <tr class='token' {{#if:{{{fighterbay|}}}|style="display: none;"}}>
+
 
        <td class='line-label'><span class='label'>Drones</span></td>
+
<!--** Ship attributes - Drones/Fighters **-->
        <td class='att-line' {{#if:{{{dronebay|}}}|style="display: none;"}}>
+
       <tr class='token'>
        <div class='att-item'>
+
        {{#if: {{{fighterbay|}}}
          <div class='item att-label' style="font-style: italic;">No drone bay.</div>
+
          | <td class='line-label'><span class='label'>Fighters</span></td>
        </div>
+
            <td class='att-line'>
        </td>
+
              <div class='att-item'>
        <td class='att-line' {{#if:{{{dronebay|}}}| |style="display: none;"}}>
+
                <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 class='att-item'>
+
              </div>
          <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='att-item'>
        </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 class='att-item'>
+
              </div>
          <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>
+
<!--       -->{{#if: {{{lightfightersquadlimit|}}}
        </div>
+
                | <div class='att-item'>
        </td>
+
                    <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>
       </tr>
+
                  </div>
      <tr class='token' {{#if:{{{fighterbay|}}}| |style="display: none;"}}>
+
              }}<!--
        <td class='line-label'><span class='label'>Fighters</span></td>
+
            -->{{#if: {{{heavyfightersquadlimit|}}}
        <td class='att-line'>
+
                | <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|heavy fighter squad limit]]</div><div class='item att-value'>{{{heavyfightersquadlimit}}}</div>
          <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>
        </div>
+
              }}<!--
        <div class='att-item'>
+
            -->{{#if: {{{supportfightersquadlimit|}}}
          <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='att-item'>
        </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 class='att-item' {{#if:{{{lightfightersquadlimit|}}}| |style="display: none;"}}>
+
                  </div>
          <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>
+
            </td>
        <div class='att-item' {{#if:{{{heavyfightersquadlimit|}}}| |style="display: none;"}}>
+
 
          <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>
+
          | <td class='line-label'><span class='label'>Drones</span></td>
        </div>
+
            <td class='att-line'>
        <div class='att-item' {{#if:{{{supportfightersquadlimit|}}}| |style="display: none;"}}>
+
              <div class='att-item'> {{#if: {{{dronebay|}}}
          <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'>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>
        </td>
+
              <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>
 
       </tr>
 +
 
       <tr><td class='separator'></td></tr>
 
       <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Targeting **-->
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Targeting</span></td>
 
         <td class='line-label'><span class='label'>Targeting</span></td>
 
         <td class='att-line'>
 
         <td class='att-line'>
 +
 +
<!--*** 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 ***-->
 
         <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 ***-->
 
         <div class='att-item'>
 
         <div class='att-item'>
           <div class='item att-label'>{{{sensortype|Multi}}} Sensor</div><div class='item att-img'>{{#switch:{{{sensortype}}}|RADAR=[[Image:Icon_sensor_radar.png|20px|middle|RADAR sensor strength]]|Gravimetric=[[Image:Icon_sensor_gravimetric.png|20px|middle|Gravimetric sensor strength]]|Magnetometric=[[Image:Icon_sensor_magnetometric.png|20px|middle|Magnetometric sensor strength]]|LADAR=[[Image:Icon_sensor_ladar.png|20px|middle|LADAR sensor strength]]|#default=[[Image:Icon_sensor_gravimetric.png|20px|middle|Multitype sensor strength]]}}</div><div class='item att-value'>{{{sensorvalue|0 points}}}</div>
+
           <div class='item att-label'>{{#if: {{{sensortype|}}} |{{{sensortype}}} | Multi }} Sensor</div><div class='item att-img'>{{#switch: {{lc: {{{sensortype}}} }}
 +
              | gravimetric= [[Image:Icon_sensor_gravimetric.png|20px|Gravimetric sensor strength]]
 +
              | 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>
 
         </div>
 +
 +
<!--*** 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 ***-->
 
         <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>
 
       </tr>
 
       </tr>
 +
 
       <tr><td class='separator'></td></tr>
 
       <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Structure **-->
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Structure</span></td>
 
         <td class='line-label'><span class='label'>Structure</span></td>
 
         <td class='att-line'>
 
         <td class='att-line'>
 +
 +
<!--*** 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 ***-->
 
         <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 ***-->
 
         <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 ***-->
 
         <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><!--
 +
 
 +
*** 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>
 +
        }}<!--
 +
 
 +
*** Extrahold ***
 +
-->      {{#if: {{{extrahold|}}}
 +
          | <div class='att-item'>
 +
              <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>
 
         </div>
         <div class='att-item' {{#ifeq:{{{class|}}}|Battleship| |style="display: none;"}}>
+
         }}<!--
          <div class='item att-label'>Frigate Escape Bay</div><div class='item att-img'>[[Image:Isis_frigate.png|center|20x20px|Frigate Capacity]]</div><div class='item att-value'>1 Frigate</div>
+
 
 +
*** Extrahold 3 ***
 +
-->      {{#if: {{{extrahold3|}}}
 +
          | <div class='att-item'>
 +
              <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>
         <div class='att-item' {{#if:{{{extrahold|}}}| |style="display: none;"}}>
+
         }}<!--
          <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>
+
*** Extrahold 4 ***
        <div class='att-item' {{#if:{{{extrahold2|}}}| |style="display: none;"}}>
+
-->     {{#if: {{{extrahold4|}}}
          <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='att-item'>
        </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 class='att-item' {{#if:{{{extrahold3|}}}| |style="display: none;"}}>
 
          <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>
 
<div class='att-item' {{#if:{{{extrahold4|}}}| |style="display: none;"}}>
 
          <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>
 
         </div>
 +
        }}
 +
 
         </td>
 
         </td>
 
       </tr>
 
       </tr>
 +
 
       <tr><td class='separator'></td></tr>
 
       <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Armor **-->
 
       <tr class='token'>
 
       <tr class='token'>
         <td class='line-label'><span class='label'>Shields</span></td>
+
         <td class='line-label'><span class='label'>Armor</span></td>
 
         <td class='att-line'>
 
         <td class='att-line'>
 +
 +
<!--*** 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'>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>
           <div class='item att-label' style='margin-left:5px;'>Shield Resistances</div>
+
 
 +
<!--*** resistances ***-->
 +
           <div class='item att-label' style='margin-left: 5px;'>Armor Resistances</div>
 +
 
 
           <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='resist-value val-em' style='width:{{#expr:{{#expr:{{#if:{{{shieldem}}}|{{{shieldem|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{shieldem}}}|{{{shieldem|0}}}|0}}</div></div></div>
+
             <div class='box-resist bgr-em'>
 +
            <div class='resist-value val-em' style='width: {{#if: {{{armorem|}}}
 +
                | {{#expr: {{{armorem}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armorem|}}} |{{{armorem}}} |0 }}</div>
 +
            </div>
 +
            </div>
 
           </div>
 
           </div>
 
           </div>
 
           </div>
 +
 
           <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='resist-value val-thr' style='width:{{#expr:{{#expr:{{#if:{{{shieldtherm}}}|{{{shieldtherm|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{shieldtherm}}}|{{{shieldtherm|0}}}|0}}</div></div></div>
+
             <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>
 
           </div>
 
           </div>
 +
 
           <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='resist-value val-kin' style='width:{{#expr:{{#expr:{{#if:{{{shieldkin}}}|{{{shieldkin|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{shieldkin}}}|{{{shieldkin|0}}}|0}}</div></div></div>
+
             <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>
 
           </div>
 
           </div>
 +
 
           <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|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='resist-value val-exp' style='width:{{#expr:{{#expr:{{#if:{{{shieldexp}}}|{{{shieldexp|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{shieldexp}}}|{{{shieldexp|0}}}|0}}</div></div></div>
+
             <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>
 
           </div>
 +
 
         </div>
 
         </div>
 
         </td>
 
         </td>
 
       </tr>
 
       </tr>
 +
 
       <tr><td class='separator'></td></tr>
 
       <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Shield **-->
 
       <tr class='token'>
 
       <tr class='token'>
         <td class='line-label'><span class='label'>Armor</span></td>
+
         <td class='line-label'><span class='label'>Shields</span></td>
         <td class='att-line' style='border-bottom:medium none;'>
+
         <td class='att-line' style='border-bottom: medium none;'>
 +
 
 +
<!--*** 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'>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>
           <div class='item att-label' style='margin-left:5px;'>Armor Resistances</div>
+
 
 +
<!--*** resistances ***-->
 +
           <div class='item att-label' style='margin-left: 5px;'>Shield Resistances</div>
 +
 
 
           <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='resist-value val-em' style='width:{{#expr:{{#expr:{{#if:{{{armorem}}}|{{{armorem|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{armorem}}}|{{{armorem|0}}}|0}}</div></div></div>
+
             <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>
          <div class='item'>
+
        </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'>
          <div style='display: inline-block;'>
+
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>THR</div>
            <div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width:{{#expr:{{#expr:{{#if:{{{armortherm}}}|{{{armortherm|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{armortherm}}}|{{{armortherm|0}}}|0}}</div></div></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>
 
           </div>
 +
 
           <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='resist-value val-kin' style='width:{{#expr:{{#expr:{{#if:{{{armorkin}}}|{{{armorkin|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{armorkin}}}|{{{armorkin|0}}}|0}}</div></div></div>
+
             <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>
 
           </div>
 
           </div>
           <div class='item'>
+
 
 +
           <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|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='resist-value val-exp' style='width:{{#expr:{{#expr:{{#if:{{{armorexp}}}|{{{armorexp|0}}}|0}}/2}}round0}}px;'> <div class='value-text'>{{#if:{{{armorexp}}}|{{{armorexp|0}}}|0}}</div></div></div>
+
             <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>
 
           </div>
 +
 
         </div>
 
         </div>
 
         </td>
 
         </td>
 
       </tr>
 
       </tr>
 +
 
       </table>
 
       </table>
 
     </div>
 
     </div>
Line 500: Line 882:
 
   </tr>
 
   </tr>
 
   </table>
 
   </table>
 +
 
  </div>
 
  </div>
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 15:37, 14 November 2024


Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)