Difference between revisions of "Template:ShipBoxLarge"

From EVE University Wiki
Jump to: navigation, search
(Added tech corner to ship image)
(Fix broken hover/alt tags on armour icons)
 
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{Color box|color=#144f1d|border=#2f8f2f|This template is a part of Ship Database template and designed to be used in conjunction with the templates on that category and is not meant to be used or called directly!. If you're looking on how to use the '''Ship template''' please see [[Template:Ship|this page]] instead.<br><br>DO NOT EDIT THE CONTENTS OF THIS TEMPLATE IF YOU ARE NOT SURE ON WHAT YOU ARE DOING.}}</noinclude>
+
<includeonly>{{#css:
{{#css:
+
 
.ship-info
+
div.ShipBoxLarge
{
+
{
float:left;
+
  float: left;
background-color: #1D1C23;
+
  clear: both;
border-bottom: 1px solid #525751;
+
  width: 100%;
border-left: 1px solid black;
+
}
border-right: 1px solid black;
+
 
border-top: 1px solid #525751;
+
.ShipBoxLarge .ship-info
float: left;
+
{
margin-bottom: 10px;
+
  background-color: #1D1C23;
width: 800px;
+
  border-bottom: 1px solid #525751;
}
+
  border-left: 1px solid black;
+
  border-right: 1px solid black;
.ship-info table { background-color: transparent; }
+
  border-top: 1px solid #525751;
.ship-info table, .ship-info table tr, .ship-info table td { margin:0; padding:0; border-spacing:0; }
+
  float: left;
+
  margin-bottom: 10px;
.ship-info .title
+
  width: 800px;
{
+
}
border-bottom: 1px solid #525751;
+
 
color: #CCCCCC;
+
.ShipBoxLarge table
font-family: trebuchet MS;
+
{
font-size: 12px;
+
  border-spacing: 0;
font-weight: bold;
+
  margin: 0;
height: 22px;
+
}
line-height: 20px;
+
 
padding: 0 10px;
+
.ShipBoxLarge table td
text-align: left;
+
{
text-transform: uppercase;
+
  padding: 0;
}
+
}
+
 
#content .ship-info .titlename a.external
+
.ShipBoxLarge .title
{
+
{
background: none repeat scroll 0 0 transparent;
+
  border-bottom: 1px solid #525751;
color: orange;
+
  color: #CCCCCC;
float: left;
+
  font-family: trebuchet MS;
font-size: 180%;
+
  font-size: 12px;
height: 30px;
+
  font-weight: bold;
line-height: 30px;
+
  height: 22px;
padding-left: 5px;
+
  line-height: 20px;
}
+
  padding: 0 10px;
+
  text-align: left;
#content .ship-info .titlename a.external:hover,
+
  text-transform: uppercase;
#content .ship-info .titlename a.external.hover
+
}
{
+
 
color:orange;
+
.ShipBoxLarge .titlename a
text-decoration:none;
+
{
}
+
  float: left;
+
  font-size: 180%;
.ship-info .ship-border-box
+
  height: 30px;
{
+
  line-height: 30px;
background-color: #110809;
+
  padding-left: 5px;
border: 1px solid #878984;
+
}
}
+
 
+
.ShipBoxLarge .titlename a:hover
.ship-info .ship-border-box p
+
{
{
+
  text-decoration: none;  
color: #FFFFFF;
+
}
font-size: 90%;
+
 
margin: 0;
+
.ShipBoxLarge .ship-border-box
padding: 5px;
+
{
text-align: left;
+
  background-color: #110809;
}
+
  border: 1px solid #878984;
+
}
.ship-info .label
+
 
{
+
.ShipBoxLarge .ship-border-box p
border-bottom: 1px solid #4C4646;
+
{
border-top: 1px solid #4C4646;
+
  color: #FFFFFF;
font-family: Trebuchet MS;
+
  font-size: 90%;
height: 14px;
+
  margin: 0;
line-height: 14px;
+
  padding: 5px;
padding: 2px;
+
  text-align: left;
}
+
}
+
 
.ship-info .label .inner
+
.ShipBoxLarge .label
{
+
{
background-color:#0e1618;
+
  background-color:#0e1618;
font-size: 10px;
+
  border-bottom: 1px solid #4C4646;
padding: 0 3px;
+
  border-top: 1px solid #4C4646;
}
+
  font-family: Trebuchet MS;
+
  font-size: 10px;
.box-resist {
+
  height: 14px;
height: 15px;
+
  line-height: 14px;
line-height: 15px;
+
  padding: 2px 5px;
width: 50px;  
+
}
}  
+
 
.bgr-em { background-color:#121923; }  
+
.ShipBoxLarge .box-resist
.bgr-thr { background-color:#290b0b; }  
+
{  
.bgr-kin { background-color:#292021; }  
+
  height: 15px;
.bgr-exp { background-color:#2b190b; }  
+
  line-height: 15px;
.val-em { background-color:#1c5d85; }
+
  width: 50px;  
.val-thr { background-color:#8d1717; }  
+
}
.val-kin { background-color:#757575; }  
+
 
.val-exp { background-color:#875f1a; }
+
.ShipBoxLarge .bgr-em { background-color: #121923; }
.box-resist .resist-value .value-text
+
.ShipBoxLarge .bgr-thr { background-color: #290b0b; }
{
+
.ShipBoxLarge .bgr-kin { background-color: #292021; }
font-family: trebuchet MS;
+
.ShipBoxLarge .bgr-exp { background-color: #2b190b; }
font-size: 11px;
+
.ShipBoxLarge .val-em { background-color: #1c5d85; }
font-weight: bold;
+
.ShipBoxLarge .val-thr { background-color: #8d1717; }
text-align: center;
+
.ShipBoxLarge .val-kin { background-color: #757575; }
width: 50px;
+
.ShipBoxLarge .val-exp { background-color: #875f1a; }
}
+
 
+
.ShipBoxLarge .box-resist .resist-value .value-text
.ship-info .attributes
+
{
{
+
  font-weight: bold;
border: medium none;
+
  text-align: center;
padding: 3px;
+
  width: 50px;
}
+
}
+
 
.attributes .att-line
+
.ShipBoxLarge .attributes
{
+
{
background-color: #110809;
+
  border: none;
font-family: trebuchet MS;
+
  padding: 3px;
font-size: 11px;
+
}
height: 20px;
+
 
line-height: 20px;
+
.ShipBoxLarge .attributes .att-line
margin-bottom: 2px;
+
{
}
+
  background-color: #110809;
+
  font-family: trebuchet MS;
.attributes .att-line .att-item
+
  font-size: 11px;
{
+
  height: 20px;
border-right: 2px solid #191E18;
+
  line-height: 20px;
display: inline-block;
+
  margin-bottom: 2px;
padding: 0 5px;
+
}
}
+
 
+
.ShipBoxLarge .attributes .att-item
.attributes .att-line .att-item .att-img
+
{
{
+
  border-right: 2px solid #191E18;
display: inline-block;
+
  display: inline-block;
margin-right: 2px;
+
  padding: 0 5px;
}
+
}
.attributes .res-boxes .att-item .att-img
+
 
{
+
.ShipBoxLarge .attributes .att-img
margin-right:0;
+
{
}
+
  display: inline-block;
.attributes .att-line .att-item .att-label
+
  margin-right: 2px;
{
+
}
color: #9E9E9E;
+
 
display: inline-block;
+
.ShipBoxLarge .attributes .res-boxes .att-img
}
+
{
.attributes .att-line .att-item .att-value
+
  margin-right: 0;
{
+
}
color: #FFFFFF;
+
 
display: inline-block;
+
.ShipBoxLarge .attributes .att-label
margin-right: 2px;
+
{
text-align: right;
+
  color: #9E9E9E;
width: 10px;
+
  display: inline-block;
}
+
}
.attributes th
+
 
{
+
.ShipBoxLarge .attributes .att-value
float: right;
+
{
font-size: 10px;
+
  color: #FFFFFF;
height: 15px;
+
  display: inline-block;
line-height: 15px;
+
  margin-right: 2px;
}
+
  text-align: right;
.attributes .collapseButton
+
  width: 10px;
{
+
}
color: transparent;
+
 
float: left;
+
.ShipBoxLarge p.ship-desc
margin-left: -6px;
+
{
}
+
  font-family: arial;
.attributes .collapseButton a
+
  font-size: 11px;
{
+
  line-height: 120%;
border-color: #444A42 #000000;
+
  padding: 5px 5px 0;
border-style: solid;
+
  text-align: justify;
border-width: 1px;
+
}
color: transparent;
+
 
margin-top: -1px;
+
.ShipBoxLarge .ship-variants
position: absolute;
+
{
width: 100px;
+
  border-top: 1px solid #323931;
}
+
  font-family: trebuchet MS;
.attributes .collapseButton a:hover, .attributes .collapseButton a.hover
+
  font-size: 11px;
{
+
  height: 20px;
border-top: 1px solid #FFFFFF;
+
  line-height: 20px;
border-bottom: 1px solid #FFFFFF;
+
  margin: 0 5px 5px;
border-right: 1px solid #444A42;
+
}
border-left: 1px solid #444A42;
+
 
}
+
.ShipBoxLarge .techcorner
.ship-info p.ship-desc
+
{
{
+
  width: 64px;
font-family: arial;
+
  height: 64px;
font-size: 11px;
+
  position: absolute;
line-height: 120%;
+
  top: 0px;
padding: 5px 5px 0;
+
  left: 0px;
text-align: justify;
+
  margin-left: 1px;
}
+
  margin-top: 1px;
.ship-info .box-footer
+
}
{
+
 
border-top: 1px solid #333333;
+
.ShipBoxLarge .box-discussion
font-family: trebuchet MS;
+
{
font-size: 95%;
+
  margin-left: -6px;
margin: 15px 5px 0;
+
  margin-right: -6px;
text-align: right;
+
  margin-top: 5px;
}
+
  border-color: #393734 black;
#content .ship-info .box-footer a.external
+
  border-style: solid;
{
+
  border-width: 1px;
background-image: none;
+
  padding: 5px;
color: #CCCCCC;
+
  background-color: #1A1A1A;
padding: 5px;
+
}
}
+
 
#content .ship-info .box-footer a.external:hover,
+
.ShipBoxLarge .box-discussion .discussion-bgr
#content .ship-info .box-footer a.external.hover
+
{
{
+
  color: #4C4C4C;
color: orange;
+
  font-family: trebuchet MS;
text-decoration: none;
+
  font-size: 90%;
}
+
}
.ship-info .ship-variants
+
 
{
+
.ShipBoxLarge .box-discussion .linkname
border-top: 1px solid #323931;
+
{
font-family: trebuchet MS;
+
  font-size: 11px;
font-size: 11px;
+
  line-height: 120%;
height: 20px;
+
  padding: 0 5px;
line-height: 20px;
+
}
margin: 0 5px 5px;
+
 
}
+
}}<!-- Content -->
.ship-info .forum-link
+
<div class='ShipBoxLarge'>
{
+
 
background-color: #110809;
+
  <div class='ship-info'>
border: 1px solid #323931;
+
<!-- Title -->
display: block;
+
    <div class='title'><span style='font-size: 16px;'>&equiv;</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION
float: left;
+
    </div>
margin-top: 5px;
+
<!-- Content -->
padding: 5px;
+
    <table style='width: 100%;'>
width: 248px;
+
 
}
+
      <tr>
.ship-info .forum-link .linkentry
+
<!-- Content left: image and link -->
{
+
        <td style='padding: 5px; width: 256px; vertical-align: top;'>
display: inline-block;
+
 
line-height: 15px;
+
          <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#ifexist: File:{{{shipimg}}}
}
+
                | [[Image:{{{shipimg}}}|256x256px|{{{shipname|}}}]]
.ship-info .forum-link .linkentry .linkimg
+
                |  {{#if: {{{shipid|}}}
{
+
                    | {{Imageserver|types|{{{shipid}}}|render|size=256}}
display: inline-block;
+
                    | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} | Unknown Ship }} ]]
height: 15px;
+
                  }}
width: 20px;
+
              }}
}
+
            {{#if: {{{tech|}}} |<div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> }}
.ship-info .forum-link .linkentry .linkname
+
          </div>
{
+
          <div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch: {{lc: {{{faction}}} }}
display: inline;
+
                | angel cartel= Logo_faction_angel_cartel.png
}
+
                | amarr empire= Logo_faction_amarr_empire.png
.ship-info .forum-link .linkentry a
+
                | blood raiders= Logo_faction_the_blood_raider_covenant.png
{
+
                | caldari state= Logo_faction_caldari_state.png
display: inline;
+
                | concord= Logo_faction_concord_assembly.png
font-size: 11px;
+
                | edencom= Logo_faction_edencom.png
}
+
                | gallente federation= Logo_faction_gallente_federation.png
+
                | guristas= Logo_faction_guristas_pirates.png
#content .ship-info .forum-link .linkentry a.external
+
                | intaki syndicate= Logo faction the syndicate.png
{
+
                | interbus= Logo faction the interbus.png
background: none repeat scroll 0 0 transparent;
+
                | jovian directorate= Logo faction jove empire.png
color: #9E9E9E;
+
                | khanid kingdom= Logo_faction_khanid_kingdom.png
padding: 0;
+
                | minmatar republic= Logo_faction_minmatar_republic.png
}
+
                | mordu's legion= Logo_faction_mordus_legion.png
#content .ship-info .forum-link .linkentry a.external.hover, #content .ship-info .forum-link .linkentry a.external:hover
+
                | outer ring excavations= Logo_faction_outer_ring_excavations.png
{
+
                | sansha's nation= Logo_faction_sanshas_nation.png
background-color:#393939;
+
                | serpentis= Logo_faction_serpentis.png
text-decoration: none;
+
                | sisters of eve= Logo_faction_sisters_of_eve.png
color:orange;
+
                | society of conscious thought= Logo_faction_the_society.png
}
+
                | triglavian collective= Logo_faction_triglavian_collective.png
.techcorner
+
                | #default= Helpicon.png
{
+
              }}|60x60px|{{#if: {{{faction|}}}
width: 64px;
+
                  | {{{faction}}}
height: 64px;
+
                  | Unknown Faction
position: absolute;
+
                }}|link=]]
top: 0px;
+
          </div>
left: 0px;
+
 
margin-left: 1px;
+
<!-- Wiki links -->
margin-top: 1px;
+
          <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 style='float:left;clear:both;width:100%'>
+
          </div>
<div class='ship-info'>
+
 
<div class='title'><span style='font-size:16px'>&equiv;</span> {{#if:{{{class}}}|{{{class|SHIP}}}|SHIP}}: INFORMATION<div style='display:{{#if:{{{roles}}}|block|none}};float: right; font-weight: bold; font-family: trebuchet MS; text-transform: uppercase; font-size: 80%; line-height: 20px; color: #F1EFCA;'>{{#ifeq:{{{roles}}}|unspecified||{{{roles}}}}}</div></div>
+
<!--* External links *-->
<table style='width:100%;'>
+
          <div class='box-discussion'>
<tr>
+
              <div class='discussion-bgr'>EXTERNAL LINKS</div>
<td style='padding: 5px; width: 256px;' valign='top'>
+
              <div class='linkname'>{{#if: {{{shipid|}}}
<div style='border:1px solid #323931;' class='ship-img'>>{{#if:{{{tech|}}}|<div class="techcorner">[[Image:CornerT{{{tech|2}}}h.png|link=]]</div>|}}{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg|no-image.png}}}|center|256x256px|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]|[[Image:no-image.png|center|256x256px|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</div>
+
                | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }}
<div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |#default=Logo_faction_khanid_kingdom.png}}|center|60x60px|{{#if:{{{faction}}}|{{{faction|Unknown Faction}}}|Unknown Faction}}]]</div>
+
                  | shuttle=
<div style='display:{{#ifexist:File:{{{shipimg}}}|none|block}};text-align:center;' class='forum-link'>
+
                  | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench]
<div class='linkentry'>
+
                }} <br>[https://janice.e-351.com/i/{{{shipid}}}/ {{{shipname|}}} on Janice]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref]
<div class='linkname' style='font-weight:bold;'>{{#if:{{{shipimg}}}|[[File:{{{shipimg}}}|Upload {{{shipimg}}} for this ship image.]]|<span style='font-weight: normal; font-size: 11px; line-height: 120%;'>Please upload an image for this ship and edit the respective entry on the ship database, see "editing database entry" [[Template:Ship|here]].</span>}}</div>
+
              }}<br>{{{externallinks|}}}</div>
</div>
+
          </div>
</div>
+
 
<div class='forum-link'>
+
        </td>
<div class='linkentry'>
+
 
<div class='linkimg'>[[Image:Icon_capacity.png|center|20x20px|forum discussion]]</div>
+
<!-- Content right: data -->
<div style='display: inline-block; font-size: 10px;'>Forum Discussions :</div>
+
        <td style='border-left: 1px solid #333333; padding: 5px 5px 5px 0; vertical-align: top;'>
<div class='linkname'>[http://forum.eveuniversity.org/search.php?keywords={{urlencode:{{{shipname|}}}}}&terms=all&author=&fid%5B%5D=129&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search PvP Forums] , [http://forum.eveuniversity.org/search.php?keywords={{urlencode:{{{shipname|}}}}}&terms=all&author=&fid%5B%5D=128&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search PvE Forums]</div>
+
<!-- Title (Ship name) -->
</div>
+
          <div class='titlename' style='margin-bottom: 1em;'>[[{{{shipname|}}}]]</div>
</div>
+
<!-- Ship attributes -->
</td>
+
          <table class='attributes' style='margin-bottom: 5px; width: 100%;'>
<td style='padding: 5px 5px 5px 0pt; border-left: 1px solid #333333' valign='top'>
+
            <tr>
<div class='titlename' style='position: absolute;display:{{#if:{{{shipname|}}}|block|block}};'>[http://wiki.eveuniversity.org/{{urlencode:{{{shipname|}}}}} {{{shipname|}}}]</div>
+
              <td>
<table class='collapsible attributes' style='width: 100%; margin-bottom: 5px;'>
+
<!-- Fittings -->
<tr>
+
                <div style='border: 1px solid #323931; background-color: #191E18;'>
<th><div style='float: left; width: 100px; font-family: trebuchet MS;margin-left: -3px;'>SHOW ATTRIBUTES</div></th>
+
                  <div class='att-line'>
</tr>
+
                    <div class='att-item' style='width: 81px; text-align: right;'>
<tr><td style='padding:0;margin:0;'><div style='height:15px;line-height:15px;'>&nbsp;</div></td></tr>
+
                      <div class='att-label'>fittings</div>
<tr>
+
                    </div>
<td>
+
                    <div class='att-item' style='border-right: none;'>
<div style='background-color:#191E18;border: 1px solid #323931;'>
+
                      <div class='att-value'>{{#if: {{{highs|}}}|{{{highs}}}|0}}</div><div class='att-img'>[[Image:icon_hi_slot.png|20px|high slots]]</div><div class='att-label' style='color: #9A7535;'>highs</div>
<div class='att-line'>
+
                    </div>
<div class='att-item' style='width: 80px; text-align: right;'>
+
                    <div class='att-item' style='border-right: none;'>
<div class='att-label'>fittings</div>
+
                      <div class='att-value'>{{#if: {{{launchers|}}}|{{{launchers}}}|0}}</div><div class='att-img'>[[Image:icon_launcher_hp.png|20px|launcher hardpoints]]</div><div class='att-label'>launchers</div>
</div>
+
                    </div>
<div class='att-item' style='border-right:medium none;'>
+
                    <div class='att-item'>
<div class='att-value'>{{{highs|0}}}</div><div class='att-img'>[[Image:icon_hi_slot.png|20px|middle|high slots]]</div><div class='att-label' style='color: #9A7535;'>highs</div>
+
                      <div class='att-value'>{{#if: {{{turrets|}}}|{{{turrets}}}|0}}</div><div class='att-img'>[[Image:icon_turret_hp.png|20px|turret hardpoints]]</div><div class='att-label'>turrets</div>
</div>
+
                    </div>
<div class='att-item' style='border-right:medium none;'>
+
                    <div class='att-item'>
<div class='att-value'>{{{launchers|0}}}</div><div class='att-img'>[[Image:icon_launcher_hp.png|20px|middle|launcher slots]]</div><div class='att-label'>launchers</div>
+
                      <div class='att-value'>{{#if: {{{mediums|}}}|{{{mediums}}}|0}}</div><div class='att-img'>[[Image:icon_mid_slot.png|20px|middle slots]]</div><div class='att-label' style='color: #9A7535;'>mediums</div>
</div>
+
                    </div>
<div class='att-item'>
+
                    <div class='att-item' style='border-right: none;>
<div class='att-value'>{{{turrets|0}}}</div><div class='att-img'>[[Image:icon_turret_hp.png|20px|middle|turret slots]]</div><div class='att-label'>turrets</div>
+
                      <div class='att-value'>{{#if: {{{lows|}}}|{{{lows}}}|0}}</div><div class='att-img'>[[Image:icon_low_slot.png|20px|low slots]]</div><div class='att-label' style='color: #9A7535;'>lows</div>
</div>
+
                    </div>                  
<div class='att-item'>
+
                  </div>
<div class='att-value'>{{{mediums|0}}}</div><div class='att-img'>[[Image:icon_mid_slot.png|20px|middle|middle slots]]</div><div class='att-label' style='color: #9A7535;'>mediums</div>
+
<!-- Drones & cargo -->
</div>
+
                  <div class='att-line'>
<div class='att-item'>
+
                    <div class='att-item' style='width: 81px; text-align: right;'>
<div class='att-value'>{{{lows|0}}}</div><div class='att-img'>[[Image:icon_low_slot.png|20px|middle|low slots]]</div><div class='att-label' style='color: #9A7535;'>lows</div>
+
                      <div class='att-label'>{{#if: {{{fighterbay|}}} | fighters |drones }} & cargo</div>
</div>
+
                    </div>
</div>
+
                {{#if: {{{fighterbay|}}}
<div class='att-line'>
+
                  | <div class='att-item'>
<div class='att-item' style='width: 80px; text-align: right;'>
+
                      <div class='att-value' style='width: 60px;'>{{{fighterbay}}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|fighter capacity]]</div><div class='att-label'>fighters</div>
<div class='att-label'>drones & cargo</div>
+
                    </div>
</div>
+
                    <div class='att-item'>
<div class='att-item'>
+
                      <div class='att-value' style='width: 20px;'>{{{fightertubes|}}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|fighter squad tubes]]</div><div class='att-label'>squad tubes</div>
<div class='att-value' style='width:40px'>{{{dronebay|0 m3}}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|middle|drone capacity]]</div><div class='att-label'>drones</div>
+
                    </div>
</div>
+
                  | {{#if: {{{dronebay|}}}
<div class='att-item'>
+
                      | <div class='att-item'>
<div class='att-value' style='width:80px'>{{{bandwidth|0 Mbit/sec}}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|middle|drone bandwith]]</div><div class='att-label'>b/w</div>
+
                          <div class='att-value' style='width: 40px;'>{{{dronebay|}}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|drone capacity]]</div><div class='att-label'>drones</div>
</div>
+
                          </div>
<div class='att-item' style='border-right:medium none;'>
+
                          <div class='att-item'>
<div class='att-value' style='width:70px'>{{{cargohold|0 m3}}}</div><div class='att-img'>[[Image:Icon_capacity.png|20px|middle|cargo capacity]]</div><div class='att-label'>cargo</div>
+
                            <div class='att-value' style='width: 80px;'>{{{bandwidth|}}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|drone bandwidth]]</div><div class='att-label'>b/w</div>
</div>
+
                          </div>
</div>
+
                      | <div class='att-item'>
<div class='att-line res-boxes' style='position:relative;'>
+
                          <div class='att-label' style="width: 160px; text-align: center; color: #9A7535;">No drone bay</div>
<div class='att-item' style='width: 80px; height: 40px; position: absolute; left:0; background-color: #110809;text-align: right;'>
+
                        </div>
<div class='att-label' style='line-height: 40px;'>defense</div>
+
                    }}
</div>
+
                }}
<div class='att-item' style='width: 87px; margin-left: 95px;text-align: right;'>
+
 
<div class='att-value' style='width:auto'>{{#if:{{{shieldhp}}}|{{{shieldhp|0}}}|0}}</div><div class='att-img'>[[Image:icon_shield.png|20px|middle|shields]]</div>
+
                    <div class='att-item' style='border-right: none;'>
</div>
+
                      <div class='att-value' style='width: 70px;'>{{#if: {{{cargohold|}}}|{{{cargohold}}}|0 {{m3}} }}</div><div class='att-img'>[[Image:Icon_capacity.png|20px|cargo capacity]]</div><div class='att-label'>cargo</div>
<div class='att-item' style='border-right: medium none;'>
+
                    </div>
<div class='att-img'>[[Image:icon_resist_em.png|20px|shield electromagnetic resistance]]</div>
+
                  </div>
<div style='display: inline-block;'>
+
<!-- Defense -->
<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='att-line res-boxes' style='position: relative;'>
</div>
+
                    <div class='att-item' style='width: 81px; height: 40px; position: absolute; left: 0; background-color: #110809; text-align: right;'>
<div class='att-img'>[[Image:icon_resist_therm.png|20px|shield thermal resistance]]</div>
+
                      <div class='att-label' style='line-height: 40px;'>defense</div>
<div style='display: inline-block;'>
+
                    </div>
<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='att-item' style='width: 87px; margin-left: 95px; text-align: right;'>
</div>
+
                      <div class='att-value' style='width: auto'>{{#if: {{{shieldhp|}}}|{{{shieldhp}}}|0 HP}}</div><div class='att-img'>[[Image:icon_shield.png|20px|shields]]</div>
<div class='att-img'>[[Image:icon_resist_kin.png|20px|shield kinetic resistance]]</div>
+
                    </div>
<div style='display: inline-block;'>
+
                    <div class='att-item' style='border-right: none;'>
<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='att-img'>[[Image:icon_resist_em.png|20px|shield electromagnetic resistance]]</div>
</div>
+
                      <div style='display: inline-block;'>
<div class='att-img'>[[Image:icon_resist_exp.png|20px|shield explosive resistance]]</div>
+
                        <div class='box-resist bgr-em'> <div class='resist-value val-em' style='width: {{#expr: {{#if: {{{shieldem|}}}|{{{shieldem}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{shieldem|}}}|{{{shieldem}}}|0}}</div></div></div>
<div style='display: inline-block;'>
+
                      </div>
<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='att-img'>[[Image:icon_resist_therm.png|20px|shield thermal resistance]]</div>
</div>
+
                      <div style='display: inline-block;'>
</div>
+
                        <div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width: {{#expr: {{#if: {{{shieldtherm|}}}|{{{shieldtherm}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{shieldtherm|}}}|{{{shieldtherm}}}|0}}</div></div></div>
</div>
+
                      </div>
<div class='att-line res-boxes'>
+
                      <div class='att-img'>[[Image:icon_resist_kin.png|20px|shield kinetic resistance]]</div>
<div class='att-item' style='width: 80px;'>
+
                      <div style='display: inline-block;'>
<div class='att-label'>&nbsp;</div>
+
                        <div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width: {{#expr: {{#if: {{{shieldkin|}}}|{{{shieldkin}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{shieldkin|}}}|{{{shieldkin}}}|0}}</div></div></div>
</div>
+
                      </div>
<div class='att-item' style='width:87px;text-align: right;'>
+
                      <div class='att-img'>[[Image:icon_resist_exp.png|20px|shield explosive resistance]]</div>
<div class='att-value' style='width:auto'>{{#if:{{{armorhp}}}|{{{armorhp|0}}}|0}}</div><div class='att-img'>[[Image:icon_armor.png|20px|middle|armor]]</div>
+
                      <div style='display: inline-block;'>
</div>
+
                        <div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width: {{#expr: {{#if: {{{shieldexp|}}}|{{{shieldexp}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{shieldexp|}}}|{{{shieldexp}}}|0}}</div></div></div>
<div class='att-item' style='border-right: medium none;'>
+
                      </div>
<div class='att-img'>[[Image:icon_resist_em.png|20px|armor electromagnetic resistance|]]</div>
+
                    </div>
<div style='display: inline-block;'>
+
                  </div>
<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>
+
                  <div class='att-line res-boxes'>
<div class='att-img'>[[Image:icon_resist_therm.png|20px|armor thermal resistance|]]</div>
+
                    <div class='att-item' style='width: 87px; margin-left: 95px;; text-align: right;'>
<div style='display: inline-block;'>
+
                      <div class='att-value' style='width: auto'>{{#if: {{{armorhp|}}} |{{{armorhp}}} |0 HP}}</div><div class='att-img'>[[Image:icon_armor.png|20px|armor]]</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>
</div>
+
                    <div class='att-item' style='border-right: none;'>
<div class='att-img'>[[Image:icon_resist_kin.png|20px|armor kinetic resistance|]]</div>
+
                      <div class='att-img'>[[Image:icon_resist_em.png|20px|armor electromagnetic 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-em'> <div class='resist-value val-em' style='width: {{#expr: {{#if:{{{armorem|}}}|{{{armorem}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if:{{{armorem|}}}|{{{armorem}}}|0}}</div></div></div>
</div>
+
                      </div>
<div class='att-img'>[[Image:icon_resist_exp.png|20px|armor explosive resistance|]]</div>
+
                      <div class='att-img'>[[Image:icon_resist_therm.png|20px|armor thermal 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-thr'> <div class='resist-value val-thr' style='width:{{#expr: {{#if:{{{armortherm|}}}|{{{armortherm}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armortherm|}}}|{{{armortherm}}}|0}}</div></div></div>
</div>
+
                      </div>
</div>
+
                      <div class='att-img'>[[Image:icon_resist_kin.png|20px|armor kinetic resistance]]</div>
</div>
+
                      <div style='display: inline-block;'>
<div class='att-line'>
+
                        <div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width: {{#expr: {{#if: {{{armorkin|}}}|{{{armorkin}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armorkin|}}}|{{{armorkin}}}|0}}</div></div></div>
<div class='att-item' style='width: 80px;text-align: right;'>
+
                      </div>
<div class='att-label'>target & nav</div>
+
                      <div class='att-img'>[[Image:icon_resist_exp.png|20px|armor explosive resistance]]</div>
</div>
+
                      <div style='display: inline-block;'>
<div class='att-item'>
+
                        <div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width:{{#expr: {{#if: {{{armorexp|}}}|{{{armorexp}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armorexp|}}}|{{{armorexp}}}|0}}</div></div></div>
<div class='att-value' style='width:50px'>{{#if:{{{targetrange}}}|{{{targetrange|0 km}}}|0 km}}</div><div class='att-img'>[[Image:icon_target_range.png|20px|middle|max. targeting range]]</div><div class='att-label'>tgt. range</div>
+
                      </div>
</div>
+
                    </div>
<div class='att-item'>
+
                  </div>
<div class='att-value' style='width:30px'>{{#if:{{{sigradius}}}|{{{sigradius|0 m}}}|0 m}}</div><div class='att-img'>[[Image:icon_ship_sig.png|20px|middle|ship signature radius]]</div><div class='att-label'>sig. radius</div>
+
<!-- Target & nav -->
</div>
+
                  <div class='att-line'>
<div class='att-item' style='border-right:medium none;'>
+
                    <div class='att-item' style='width: 81px; text-align: right;'>
<div class='att-value' style='width:55px'>{{#if:{{{maxvelocity}}}|{{{maxvelocity|0 m/s}}}|0 m/s}}</div><div class='att-img'>[[Image:Icon_velocity.png|20px|middle|max. velocity]]</div><div class='att-label'>max. velocity</div>
+
                      <div class='att-label'>target & nav</div>
</div>
+
                    </div>
</div>
+
                    <div class='att-item'>
</div>
+
                      <div class='att-value'style='min-width: 40px; width: auto;'>{{#if: {{{targetrange|}}}|{{{targetrange}}}|0 km}}</div><div class='att-img'>[[Image:icon_target_range.png|20px|max. targeting range]]</div><div class='att-label'>tgt. range</div>
</td>
+
                    </div>
</tr>
+
                    <div class='att-item'>
</table>
+
                      <div class='att-value'style='min-width: 40px; width: auto;'>{{#if: {{{sigradius|}}}|{{{sigradius}}}|0 m}}</div><div class='att-img'>[[Image:icon_ship_sig.png|20px|ship signature radius]]</div><div class='att-label'>sig. radius</div>
<div class='ship-border-box' style='display:{{#if:{{{bonuses}}}|block|none}};margin:10px 5px 5px'>
+
                    </div>
<div class='label'><div class='inner'>S H I P&nbsp;&nbsp;&nbsp;B O N U S E S</div></div>
+
                    <div class='att-item' style='border-right: none;'>
<p>{{#if:{{{bonuses}}}|{{{bonuses|<i>no bonuses available for this ship</i>}}}|<i>no bonuses available for this ship</i>}}</p>
+
                      <div class='att-value'style='min-width: 40px; width: auto;'>{{#if: {{{maxvelocity|}}}|{{{maxvelocity}}}|0 m/s}}</div><div class='att-img'>[[Image:Icon_velocity.png|20px|max. velocity]]</div><div class='att-label'>max. velocity</div>
</div>
+
                    </div>
<p class='ship-desc'>{{#if:{{{info}}}|{{{info|&nbsp;}}}|&nbsp;}}</p>
+
                  </div>
<!--<div class='ship-variants'>Variations : {{#if:{{{variations}}}|{{{variations|<i>none</i>}}}|<i>none</i>}}</div>-->
+
 
<div class='box-footer'>[http://wiki.eveuniversity.org/{{urlencode:{{{shipname|}}}}} {{{shipname|}}} &#8680;]</div>
+
                </div>
</td>
+
              </td>
</tr>
+
 
</table>
+
            </tr>
</div>
+
 
</div>
+
          </table>
<noinclude>[[Category:Template]]</noinclude>
+
 
 +
<!-- Ship bonuses -->
 +
          <div class='ship-border-box' style='display: {{#if: {{{bonuses|}}} |block |none }}; margin: 10px 5px 5px'>
 +
            <div class='label'>S H I P&nbsp;&nbsp;&nbsp;B O N U S E S</div>
 +
            <p>{{{bonuses}}}</p>
 +
          </div>
 +
 
 +
<!-- Ship description -->
 +
          <p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} |&nbsp;}}</p>
 +
<!--          <div class='ship-variants'>Variations : {{#if: {{{variations|}}} |{{{variations}}} |<i>none</i>}}</div>-->
 +
        </td>
 +
 
 +
      </tr>
 +
 
 +
    </table>
 +
 
 +
  </div>
 +
</div></includeonly>
 +
<noinclude>{{documentation}}</noinclude>

Latest revision as of 06:27, 24 December 2023

Template documentation (for the above template, sometimes hidden or invisible)
Description
Creates a info box with a subset of the ships stats.
This template is a part of the Ship Database template set and designed to be used in conjunction with the templates on that category and is not meant to be used or called directly!.
If you're looking on how to use the Ship template please see this page instead.

DO NOT EDIT THE CONTENTS OF THIS TEMPLATE IF YOU ARE NOT SURE ON WHAT YOU ARE DOING.
Dependencies
Uses
no-image.png Default ship image when shipimg is not given.
Helpicon.png Default faction logo when faction is empty or unknown.
{{Imageserver}} When no local image of ship is available and shipid is known.
Part of the parameter set of {{ShipArticle}}
Build-in UniWiki links to
Ships
Build-in external links to
zKillboard
EVE Workbench
Janice
EVE Ref
Syntax
ShipBoxLarge is not to be used on its own. It is to be called by using the wrapper template {{Ship}}
Template set
{{ShipArticle}}
{{Ship}}
{{ShipBoxLarge}}
{{ShipBoxTooltip}}
Visit Template:ShipBoxLarge/doc to edit this text! (How does this work?) (Refresh this text - why?)