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

From EVE University Wiki
Jump to: navigation, search
m (Blank page for next project.)
m (Working on {{ShipArticle}})
Line 1: Line 1:
 +
<includeonly>{{#css:
 +
<!-- More CSS in MediaWiki:Common.css -->
 +
<!--***  overrides  ***-->
 +
#bodyContent
 +
{
 +
  margin-top: -1.5em;
 +
}
 +
 +
#firstHeading
 +
{
 +
  display: none;
 +
}
 +
 +
h1, h2
 +
{
 +
  background-color: black;
 +
  border-bottom: 1px solid #2D2413;
 +
  border-top: 1px solid #2D2413;
 +
  clear: both;
 +
  font-family: trebuchet MS;
 +
  font-variant: small-caps;
 +
  height: 25px;
 +
  line-height: 25px;
 +
  padding: 0 3px;
 +
  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
 +
{
 +
  background-color: transparent;
 +
  margin-left: 5px;
 +
}
 +
 +
.attributes h3
 +
{
 +
  color: #494949;
 +
  font-size: 12px;
 +
  font-variant: small-caps;
 +
  font-weight: normal;
 +
  line-height: 100%;
 +
  text-align: right;
 +
}
 +
 +
.attributes .token
 +
{
 +
 +
}
 +
 +
.attributes .separator
 +
{
 +
  height: 0;
 +
}
 +
 +
.att-line
 +
{
 +
  font-size: 11px;
 +
}
 +
 +
.attributes .token .line-label .label
 +
{
 +
  color: #494949;
 +
  font-size: 12px;
 +
  font-variant: small-caps;
 +
  font-weight: normal;
 +
  line-height: 100%;
 +
  text-align: right;
 +
}
 +
 +
.att-line .att-item
 +
{
 +
  display: inline-block;
 +
  margin-bottom: 3px;
 +
  padding: 1px 5px;
 +
}
 +
 +
.att-line .highlight
 +
{
 +
  color: white;
 +
}
 +
 +
.att-line .att-item .item
 +
{
 +
  display: inline-block;
 +
  height: 21px;
 +
  line-height: 21px;
 +
}
 +
 +
.att-line .att-item .snip
 +
{
 +
  color: #656565;
 +
  font-size: 70%;
 +
  margin-left: 5px;
 +
  position: relative;
 +
}
 +
 +
.att-line .att-item .snip .desc
 +
{
 +
  background-color: black;
 +
  border: 2px dashed #582806;
 +
  color: #CCCCCC;
 +
  display: none;
 +
  font-size: 11px;
 +
  line-height: 120%;
 +
  padding: 5px;
 +
  position: absolute;
 +
  right: 0;
 +
  text-align: justify;
 +
  width: 300px;
 +
}
 +
 +
.att-line .att-item .snip:hover .desc,
 +
.att-line .att-item .snip.hover .desc
 +
{
 +
  display: block;
 +
}
 +
 +
.att-line .att-item .att-img
 +
{
 +
  line-height: 20px;
 +
  margin: 0 2px;
 +
}
 +
 +
.att-line .att-item .att-img img
 +
{
 +
  margin-top: -2px;
 +
}
 +
 +
.att-line .att-item .att-label
 +
{
 +
  color: #7D6843;
 +
}
 +
 +
.box-resist
 +
{
 +
  height: 15px;
 +
  line-height: 15px;
 +
  width: 50px;
 +
}
 +
 +
.bgr-em { background-color: #121923; }
 +
.bgr-thr { background-color: #290b0b; }
 +
.bgr-kin { background-color: #292021; }
 +
.bgr-exp { background-color: #2b190b; }
 +
.val-em { background-color: #1c5d85; }
 +
.val-thr { background-color: #8d1717; }
 +
.val-kin { background-color: #757575; }
 +
.val-exp { background-color: #875f1a; }
 +
 +
.box-resist .resist-value .value-text
 +
{
 +
  font-family: trebuchet MS;
 +
  font-size: 11px;
 +
  font-weight: bold;
 +
  text-align: center;
 +
  width: 50px;
 +
}
 +
 +
<!--***  overrides(end)  ***-->
 +
 +
#ship-article .ignore a
 +
{
 +
  background: none;
 +
  color: #4C4C4C;
 +
}
 +
 +
#ship-article .ignore a:hover,
 +
#ship-article .ignore a.hover
 +
{
 +
  color: orange;
 +
}
 +
 +
.techcorner
 +
{
 +
  width: 64px;
 +
  height: 64px;
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 +
  margin-left: 1px;
 +
  margin-top: 1px;
 +
}
 +
}}
 +
<div id='ship-article'>
 +
<!--####    Header    #####-->
 +
<div class='header'>
 +
  <div class='headerbg'>[[Image:Eve_university_dbase_header.png|605x50px|EVE University Database]]</div>
 +
  <div class='mask'>&nbsp;</div>
 +
  <div class='dbtitle'>Ship Database</div>
 +
  <div class='shipname'>{{#if: {{{shipname|}}} |{{{shipname}}} |{{Co|red|! shipname missing !}} }}</div>
 +
</div>
 +
 +
<!--####    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>
 +
 +
<!--#####    Main    ####-->
 +
<div class='main'>
 +
  <table cellspacing='0' cellpadding='0' style='width: 100%'>
 +
  <tr>
 +
 +
<!--***************
 +
***  Main left  ***
 +
*******************-->
 +
    <td valign='top' class='left-col'>
 +
 +
<!--* Ship image block *-->
 +
    <div style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}}
 +
      | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
 +
      }}{{#ifexist: File:{{{shipimg}}}
 +
        | [[Image:{{{shipimg}}}|center|link= |256x256px|{{{shipname|}}}]]
 +
        | {{#if: {{{shipid|}}}
 +
          | {{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>
 +
 +
<!--** Ship image block "caption" left **-->
 +
        <td rowspan='3' class='faction-img'>[[Image:{{#switch: {{lc: {{{faction}}} }}
 +
          | angel cartel= Logo_faction_angel_cartel.png
 +
          | amarr empire= Logo_faction_amarr_empire.png
 +
          | blood raiders= Logo_faction_the_blood_raider_covenant.png
 +
          | caldari state= Logo_faction_caldari_state.png
 +
          | concord= Logo_faction_concord_assembly.png
 +
          | deathless circle= Logo faction deathless circle.png
 +
          | edencom= Logo_faction_edencom.png
 +
          | gallente federation= Logo_faction_gallente_federation.png
 +
          | guristas= Logo_faction_guristas_pirates.png
 +
          | intaki syndicate= Logo faction the syndicate.png
 +
          | interbus= Logo faction the interbus.png
 +
          | jovian directorate= Logo faction jove empire.png
 +
          | minmatar republic= Logo_faction_minmatar_republic.png
 +
          | mordu's legion= Logo_faction_mordus_legion.png
 +
          | outer ring excavations= Logo_faction_outer_ring_excavations.png
 +
          | sansha's nation= Logo_faction_sanshas_nation.png
 +
          | serpentis= Logo_faction_serpentis.png
 +
          | sisters of eve= Logo_faction_sisters_of_eve.png
 +
          | society of conscious thought= Logo_faction_the_society.png
 +
          | triglavian collective= Logo faction triglavian collective.png
 +
          | upwell= Upwell_Consortium_logo.png
 +
          | #default= no-image.png
 +
          }}|center|link=|50px|{{{faction|}}} ]]
 +
        </td>
 +
 +
<!--** Ship image block "caption" center, line 1 **-->
 +
        <td class='faction'>{{#if: {{{faction|}}} |{{{faction}}} |{{Co|red|! faction missing !}} }}</td>
 +
 +
<!--** Ship image block "caption" center, line 2 **-->
 +
      <tr>
 +
        <td class='hull-type'>{{#if: {{{grouping|}}} |[[:Category:{{{grouping}}} |{{{grouping}}} ]] }}</td>
 +
      </tr>
 +
 +
<!--** Ship image block "caption" center, line 3 **-->
 +
      <tr>
 +
        <td class='hull-title'>{{#if: {{{hulltype|}}} |{{{hulltype}}} |{{Co|red|! hulltype missing !}} }}</td>
 +
      </tr>
 +
 +
      </table>
 +
    </div><!--
 +
 +
* 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>
 +
}}<!--
 +
 +
* Forum links *-->
 +
    {{#if: {{{forumlinks|}}}
 +
      | <div class='box-discussion'>
 +
        <div class='discussion-bgr'>FORUM DISCUSSION</div>
 +
        <div class='linkname'>{{{forumlinks}}}</div>
 +
        </div>
 +
    }}
 +
<!--
 +
* Wiki links *-->
 +
    <div class='box-discussion'>
 +
      <div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
 +
      <div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div>
 +
    </div>
 +
 +
<!--* External links *-->
 +
    <div class='box-discussion'>
 +
      <div class='discussion-bgr'>EXTERNAL LINKS</div>
 +
      <div class='linkname'>{{#if: {{{shipid|}}}
 +
        | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }}
 +
          | shuttle=
 +
          | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench]
 +
          }} <br>[https://janice.e-351.com/i/{{{shipid}}}/ {{{shipname|}}} on Janice]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref]
 +
      }}<br>{{{externallinks|}}}</div>
 +
    </div>
 +
    </td>
 +
 +
<!--****************
 +
***  Main right  ***
 +
********************-->
 +
    <td valign='top'>
 +
 +
<!--* TOC and Ship info *-->
 +
    <div class='box-line'>
 +
      __TOC__
 +
<!---->{{{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'>
 +
      <tr>
 +
 +
<!--* Required skills *-->
 +
        <td class='left' style='width: 330px;'>
 +
        <div class='title'>Required Skills</div>
 +
<!--  -->{{#if: {{{reqskills|}}} |{{{reqskills}}} |<i>none</i> }} <!-- comment in front is to suppress <pre> parsing -->
 +
<!--** 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>
 +
 +
<!--* Grouping *-->
 +
        <td class='right'>
 +
        <div class='title'>Grouping</div>
 +
        <div style='color: #7D6843; font-size: 90%;'>&#9642; Variations</div> <!-- to suppress <pre> parsing
 +
      --><span style='padding-left: 10px; display: block;'>{{#if: {{{variations|}}} |{{{variations}}} |<i>none</i> }}</span>
 +
        </td>
 +
        </tr>
 +
      </table>
 +
    </div>
 +
 +
<!--* Ship attributes *-->
 +
    <div class='box-attributes'>
 +
      <h2 style='margin-left: 0;'>Ship Attributes</h2>
 +
      <table class='attributes' cellspacing='0' cellpadding='0'>
 +
 +
<!--** Ship attributes - Fittings **-->
 +
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Fittings</span></td>
 +
        <td class='att-line'>
 +
 +
<!--*** Powergrid ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Powergrid</div><div class='item att-img'>[[Image:icon_powergrid.png|20px|powergrid]]</div><div class='item att-value'>{{#if: {{{powergrid|}}} |{{{powergrid}}} |0 MW }}</div>
 +
        </div>
 +
 +
<!--*** CPU ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>CPU</div><div class='item att-img'>[[Image:icon_cpu.png|20px|cpu output]]</div><div class='item att-value'>{{#if: {{{cpu|}}} |{{{cpu}}} |0 tf }}</div>
 +
        </div>
 +
 +
<!--*** Capacitor ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Capacitor</div><div class='item att-img'>[[Image:Icon_capacitor_capacity.png|20px|capacitor]]</div><div class='item att-value'>{{#if: {{{capacitor|}}} |{{{capacitor}}} |0 GJ }}</div>
 +
        </div>
 +
 +
<!--*** High slots ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>High</div><div class='item att-img'>[[Image:icon_hi_slot.png|20px|high slots]]</div><div class='item att-value'>{{#if: {{{highs|}}} |{{{highs}}} |0 }}</div>
 +
 +
<!--*** 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>
 +
 +
<!--*** Medium slots ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Medium</div><div class='item att-img'>[[Image:icon_mid_slot.png|20px|medium slots]]</div><div class='item att-value'>{{#if: {{{mediums|}}} |{{{mediums}}} |0 }}</div>
 +
        </div>
 +
 +
<!--*** Low slots ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Low</div><div class='item att-img'>[[Image:icon_low_slot.png|20px|low slots]]</div><div class='item att-value'>{{#if: {{{lows|}}} |{{{lows}}} |0 }}</div>
 +
        </div>
 +
 +
<!--*** Rigs ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Rig </div><div class='item att-img'>[[Image:icon_rigs.png|20px|rigs]]</div>
 +
              {{#if: {{{rigs_count|}}}
 +
              | <div class='item att-value'>{{{rigs_count}}}</div>
 +
              | <div class='item att-value'>{{#switch: {{lc: {{{class}}} }}
 +
                | corvette
 +
                | 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>
 +
              }}
 +
 +
<!--*** 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>
 +
        </td>
 +
      </tr>
 +
 +
      <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Navigation **-->
 +
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Navigation</span></td>
 +
        <td class='att-line'>
 +
 +
<!--*** Max velocity ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Max Velocity</div><div class='item att-img'>[[Image:Icon_velocity.png|20px|max. velocity]]</div><div class='item att-value'>{{#if: {{{maxvelocity|}}} |{{{maxvelocity}}} |0 m/s }}</div>
 +
        </div>
 +
 +
<!--*** inertia modifier ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Inertia Modifier</div><div class='item att-img'>[[Image:icon_inertia.png|20px|inertia modifier (agility)]]</div><div class='item att-value'>{{#if: {{{inertia|}}} |{{{inertia}}} |0.0 }}</div>
 +
        </div>
 +
 +
<!--*** Warp speed ***-->
 +
        <div class='att-item'>
 +
          <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>
 +
 +
<!--*** Base time to warp ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label' style='margin-right: 3px;'>Base Time to Warp</div><div class='item att-img'>[[Image:Icon_warp_time.png|20px|base time to warp]]</div><div class='item att-value'>{{#if: {{{warptime|}}} |{{{warptime}}} |{{Co|red|?}} }}</div><div class='item att-value snip'>what's this?
 +
          <div class='desc'>Base Time to Warp is essentially the time needed for this ship to align and accelerate until it reaches 75% of its top speed and goes to warp. The time displayed here is the base calculated time with no account for any warp related skills, modules or any other effects.
 +
          </div>
 +
          </div>
 +
        </div>
 +
        </td>
 +
      </tr>
 +
 +
      <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Drones/Fighters **-->
 +
      <tr class='token'>
 +
        {{#if: {{{fighterbay|}}}
 +
          | <td class='line-label'><span class='label'>Fighters</span></td>
 +
            <td class='att-line'>
 +
              <div class='att-item'>
 +
                <div class='item att-label'>Fighter Bay Capacity</div><div class='item att-img'>[[Image:icon_drone_capacity.png|20px|fighter bay capacity]]</div><div class='item att-value'>{{{fighterbay}}}</div>
 +
              </div>
 +
              <div class='att-item'>
 +
                <div class='item att-label'>Fighter Squad Tubes</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|fighter squad tubes]]</div><div class='item att-value'>{{#if: {{{fightertubes|}}} |{{{fightertubes}}} |{{Co|red|?}} }}</div>
 +
              </div>
 +
<!--        -->{{#if: {{{lightfightersquadlimit|}}}
 +
                | <div class='att-item'>
 +
                    <div class='item att-label'>Light Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|light fighter squad limit]]</div><div class='item att-value'>{{{lightfightersquadlimit}}}</div>
 +
                  </div>
 +
              }}<!--
 +
            -->{{#if: {{{heavyfightersquadlimit|}}}
 +
                | <div class='att-item'>
 +
                    <div class='item att-label'>Heavy Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|heavy fighter squad limit]]</div><div class='item att-value'>{{{heavyfightersquadlimit}}}</div>
 +
                  </div>
 +
              }}<!--
 +
            -->{{#if: {{{supportfightersquadlimit|}}}
 +
                | <div class='att-item'>
 +
                    <div class='item att-label'>Support Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|support fighter squad limit]]</div><div class='item att-value'>{{{supportfightersquadlimit}}}</div>
 +
                  </div>
 +
              }}
 +
            </td>
 +
 +
          | <td class='line-label'><span class='label'>Drones</span></td>
 +
            <td class='att-line'>
 +
              <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|drone capacity]]</div><div class='item att-value'>{{{dronebay}}}</div>
 +
              </div>
 +
              <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><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Targeting **-->
 +
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Targeting</span></td>
 +
        <td class='att-line'>
 +
 +
<!--*** Max range ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Max Tgt. Range</div><div class='item att-img'>[[Image:icon_target_range.png|20px|max. targeting range]]</div><div class='item att-value'>{{#if: {{{targetrange|}}} |{{{targetrange}}} |0 km }}</div>
 +
        </div>
 +
 +
<!--*** Max targets ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Max Locked Targets</div><div class='item att-img'>[[Image:icon_target_max.png|20px|max. locked targets]]</div><div class='item att-value'>{{#if: {{{maxlockedtargets|}}} |{{{maxlockedtargets}}} |0 }}</div>
 +
        </div>
 +
 +
<!--*** Sensor ***-->
 +
        <div class='att-item'>
 +
          <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>
 +
 +
<!--*** Signature radius ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Sig. Radius</div><div class='item att-img'>[[Image:icon_ship_sig.png|20px|signature radius]]</div><div class='item att-value'>{{#if: {{{sigradius|}}} |{{{sigradius}}} |0 m }}</div>
 +
        </div>
 +
 +
<!--*** Scan resolution ***-->
 +
        <div class='att-item'>
 +
          <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>
 +
        </td>
 +
      </tr>
 +
 +
      <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Structure **-->
 +
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Structure</span></td>
 +
        <td class='att-line'>
 +
 +
<!--*** hitpoints ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Structure Hitpoints</div><div class='item att-img'>[[Image:icon_volume.png|20px|structure hitpoints]]</div><div class='item att-value'>{{#if: {{{structurehp|}}} |{{{structurehp}}} |0 HP }}</div>
 +
        </div>
 +
 +
<!--*** Mass ***-->
 +
        <div class='att-item'>
 +
          <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>
 +
 +
<!--*** Volume ***-->
 +
        <div class='att-item'>
 +
          <div class='item att-label'>Volume</div><div class='item att-img'>[[Image:icon_volume.png|20px|ship volume]]</div><div class='item att-value'>{{#if: {{{volume|}}} |{{{volume}}} |0 m&#179; }}</div>
 +
        </div>
 +
 +
<!--*** Cargo capacity ***-->
 +
        <div class='att-item'>
 +
          <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>
 +
        }}<!--
 +
 +
*** 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>
 +
        }}<!--
 +
 +
*** Extrahold 4 ***
 +
-->      {{#if: {{{extrahold4|}}}
 +
          | <div class='att-item'>
 +
              <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>
 +
        }}
 +
 +
        </td>
 +
      </tr>
 +
 +
      <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Armor **-->
 +
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Armor</span></td>
 +
        <td class='att-line'>
 +
 +
<!--*** hitpoints ***-->
 +
        <div class='att-item'>
 +
          <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 ***-->
 +
          <div class='item att-label' style='margin-left: 5px;'>Armor Resistances</div>
 +
 +
          <div class='item'>
 +
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>EM</div>
 +
          <div class='item att-img'>[[Image:icon_resist_em.png|20px|electromagnetic resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-em'>
 +
            <div class='resist-value val-em' style='width: {{#if: {{{armorem|}}}
 +
                | {{#expr: {{{armorem}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armorem|}}} |{{{armorem}}} |0 }}</div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
 +
          <div class='item'>
 +
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>THR</div>
 +
          <div class='item att-img'>[[Image:icon_resist_therm.png|20px|thermal resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-thr'>
 +
            <div class='resist-value val-thr' style='width: {{#if: {{{armortherm|}}}
 +
                | {{#expr: {{{armortherm}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armortherm|}}} |{{{armortherm}}} |0 }}</div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
 +
          <div class='item'>
 +
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div>
 +
          <div class='item att-img'>[[Image:icon_resist_kin.png|20px|kinetic resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-kin'>
 +
            <div class='resist-value val-kin' style='width: {{#if: {{{armorkin|}}}
 +
                | {{#expr: {{{armorkin}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armorkin|}}} |{{{armorkin}}} |0 }}</div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
 +
          <div class='item'>
 +
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>EXP</div>
 +
          <div class='item att-img'>[[Image:icon_resist_exp.png|20px|explosive resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-exp'>
 +
            <div class='resist-value val-exp' style='width: {{#if: {{{armorexp|}}}
 +
                | {{#expr: {{{armorexp}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{armorexp|}}} |{{{armorexp}}} |0 }}</div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
 +
        </div>
 +
        </td>
 +
      </tr>
 +
 +
      <tr><td class='separator'></td></tr>
 +
 +
<!--** Ship attributes - Shield **-->
 +
      <tr class='token'>
 +
        <td class='line-label'><span class='label'>Shields</span></td>
 +
        <td class='att-line' style='border-bottom: medium none;'>
 +
 +
<!--*** hitpoints ***-->
 +
        <div class='att-item'>
 +
          <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 ***-->
 +
          <div class='item att-label' style='margin-left: 5px;'>Shield Resistances</div>
 +
 +
          <div class='item'>
 +
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>EM</div>
 +
          <div class='item att-img'>[[Image:icon_resist_em.png|20px|electromagnetic resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-em'>
 +
            <div class='resist-value val-em' style='width: {{#if: {{{shieldem|}}}
 +
                | {{#expr: {{{shieldem}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{shieldem|}}} |{{{shieldem}}} |0 }}</div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
        </div>
 +
 +
        <div class='item'>
 +
          <div class='item att-label' style='color: #9E8F75; margin-left: 5px; font-size: 80%;'>THR</div>
 +
          <div class='item att-img'>[[Image:icon_resist_therm.png|20px|thermal resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
          <div class='box-resist bgr-thr'>
 +
            <div class='resist-value val-thr' style='width: {{#if: {{{shieldtherm|}}}
 +
                | {{#expr: {{{shieldtherm}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
            <div class='value-text'>{{#if: {{{shieldtherm|}}} |{{{shieldtherm}}} |0 }}</div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
 +
          <div class='item'>
 +
          <div class='item att-label' style='color:#9E8F75;margin-left: 5px;font-size: 80%;'>KIN</div>
 +
          <div class='item att-img'>[[Image:icon_resist_kin.png|20px|kinetic resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-kin'>
 +
            <div class='resist-value val-kin' style='width: {{#if: {{{shieldkin|}}}
 +
                | {{#expr: {{{shieldkin}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{shieldkin|}}} |{{{shieldkin}}} |0 }}</div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
 +
          <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-img'>[[Image:icon_resist_exp.png|20px|explosive resistance]]</div>
 +
          <div style='display: inline-block;'>
 +
            <div class='box-resist bgr-exp'>
 +
            <div class='resist-value val-exp' style='width: {{#if: {{{shieldexp|}}}
 +
                | {{#expr: {{{shieldexp}}}/2 round 0 }}
 +
                | 0
 +
                }}px;'>
 +
              <div class='value-text'>{{#if: {{{shieldexp|}}} |{{{shieldexp}}} |0 }}</div>
 +
            </div>
 +
            </div>
 +
          </div>
 +
          </div>
 +
 +
        </div>
 +
        </td>
 +
      </tr>
 +
 +
      </table>
 +
    </div>
 +
    </td>
 +
  </tr>
 +
  </table>
 +
 +
</div>
 +
</div></includeonly>
 
<noinclude>
 
<noinclude>
{{documentation}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 09:48, 13 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?)