Difference between revisions of "Template:ShipBoxLarge"
From EVE University Wiki
m (Remove "dead" code.) |
Gorasi Atol (talk | contribs) (Fix broken hover/alt tags on armour icons) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#css: | <includeonly>{{#css: | ||
− | . | + | div.ShipBoxLarge |
{ | { | ||
float: left; | float: left; | ||
+ | clear: both; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .ShipBoxLarge .ship-info | ||
+ | { | ||
background-color: #1D1C23; | background-color: #1D1C23; | ||
border-bottom: 1px solid #525751; | border-bottom: 1px solid #525751; | ||
Line 14: | Line 20: | ||
} | } | ||
− | . | + | .ShipBoxLarge table |
+ | { | ||
+ | border-spacing: 0; | ||
+ | margin: 0; | ||
+ | } | ||
− | . | + | .ShipBoxLarge table td |
− | |||
− | |||
{ | { | ||
− | |||
padding: 0; | padding: 0; | ||
− | |||
} | } | ||
− | . | + | .ShipBoxLarge .title |
{ | { | ||
border-bottom: 1px solid #525751; | border-bottom: 1px solid #525751; | ||
Line 39: | Line 45: | ||
} | } | ||
− | + | .ShipBoxLarge .titlename a | |
{ | { | ||
− | |||
− | |||
float: left; | float: left; | ||
font-size: 180%; | font-size: 180%; | ||
Line 50: | Line 54: | ||
} | } | ||
− | + | .ShipBoxLarge .titlename a:hover | |
− | |||
{ | { | ||
− | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | . | + | .ShipBoxLarge .ship-border-box |
{ | { | ||
background-color: #110809; | background-color: #110809; | ||
Line 63: | Line 65: | ||
} | } | ||
− | . | + | .ShipBoxLarge .ship-border-box p |
{ | { | ||
color: #FFFFFF; | color: #FFFFFF; | ||
Line 72: | Line 74: | ||
} | } | ||
− | . | + | .ShipBoxLarge .label |
{ | { | ||
+ | background-color:#0e1618; | ||
border-bottom: 1px solid #4C4646; | border-bottom: 1px solid #4C4646; | ||
border-top: 1px solid #4C4646; | border-top: 1px solid #4C4646; | ||
font-family: Trebuchet MS; | font-family: Trebuchet MS; | ||
+ | font-size: 10px; | ||
height: 14px; | height: 14px; | ||
line-height: 14px; | line-height: 14px; | ||
− | padding: 2px; | + | padding: 2px 5px; |
} | } | ||
− | . | + | .ShipBoxLarge .box-resist |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | .box-resist | ||
{ | { | ||
height: 15px; | height: 15px; | ||
Line 96: | Line 93: | ||
} | } | ||
− | .bgr-em { background-color: #121923; } | + | .ShipBoxLarge .bgr-em { background-color: #121923; } |
− | .bgr-thr { background-color: #290b0b; } | + | .ShipBoxLarge .bgr-thr { background-color: #290b0b; } |
− | .bgr-kin { background-color: #292021; } | + | .ShipBoxLarge .bgr-kin { background-color: #292021; } |
− | .bgr-exp { background-color: #2b190b; } | + | .ShipBoxLarge .bgr-exp { background-color: #2b190b; } |
− | .val-em { background-color: #1c5d85; } | + | .ShipBoxLarge .val-em { background-color: #1c5d85; } |
− | .val-thr { background-color: #8d1717; } | + | .ShipBoxLarge .val-thr { background-color: #8d1717; } |
− | .val-kin { background-color: #757575; } | + | .ShipBoxLarge .val-kin { background-color: #757575; } |
− | .val-exp { background-color: #875f1a; } | + | .ShipBoxLarge .val-exp { background-color: #875f1a; } |
− | .box-resist .resist-value .value-text | + | .ShipBoxLarge .box-resist .resist-value .value-text |
{ | { | ||
− | |||
− | |||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
Line 114: | Line 109: | ||
} | } | ||
− | . | + | .ShipBoxLarge .attributes |
{ | { | ||
− | border: | + | border: none; |
padding: 3px; | padding: 3px; | ||
} | } | ||
− | .attributes .att-line | + | .ShipBoxLarge .attributes .att-line |
{ | { | ||
background-color: #110809; | background-color: #110809; | ||
Line 130: | Line 125: | ||
} | } | ||
− | .attributes | + | .ShipBoxLarge .attributes .att-item |
{ | { | ||
border-right: 2px solid #191E18; | border-right: 2px solid #191E18; | ||
Line 137: | Line 132: | ||
} | } | ||
− | .attributes | + | .ShipBoxLarge .attributes .att-img |
{ | { | ||
display: inline-block; | display: inline-block; | ||
margin-right: 2px; | margin-right: 2px; | ||
} | } | ||
− | + | ||
− | .attributes .res-boxes | + | .ShipBoxLarge .attributes .res-boxes .att-img |
{ | { | ||
margin-right: 0; | margin-right: 0; | ||
} | } | ||
− | + | ||
− | .attributes | + | .ShipBoxLarge .attributes .att-label |
{ | { | ||
color: #9E9E9E; | color: #9E9E9E; | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
− | + | ||
− | .attributes | + | .ShipBoxLarge .attributes .att-value |
{ | { | ||
color: #FFFFFF; | color: #FFFFFF; | ||
Line 162: | Line 157: | ||
width: 10px; | width: 10px; | ||
} | } | ||
− | + | ||
− | . | + | .ShipBoxLarge p.ship-desc |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{ | { | ||
font-family: arial; | font-family: arial; | ||
Line 206: | Line 166: | ||
text-align: justify; | text-align: justify; | ||
} | } | ||
− | + | ||
− | . | + | .ShipBoxLarge .ship-variants |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{ | { | ||
border-top: 1px solid #323931; | border-top: 1px solid #323931; | ||
Line 238: | Line 175: | ||
line-height: 20px; | line-height: 20px; | ||
margin: 0 5px 5px; | margin: 0 5px 5px; | ||
+ | } | ||
+ | |||
+ | .ShipBoxLarge .techcorner | ||
+ | { | ||
+ | width: 64px; | ||
+ | height: 64px; | ||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | left: 0px; | ||
+ | margin-left: 1px; | ||
+ | margin-top: 1px; | ||
} | } | ||
− | . | + | .ShipBoxLarge .box-discussion |
{ | { | ||
− | + | margin-left: -6px; | |
− | + | margin-right: -6px; | |
− | |||
− | |||
margin-top: 5px; | margin-top: 5px; | ||
+ | border-color: #393734 black; | ||
+ | border-style: solid; | ||
+ | border-width: 1px; | ||
padding: 5px; | padding: 5px; | ||
− | + | background-color: #1A1A1A; | |
} | } | ||
− | + | ||
− | . | + | .ShipBoxLarge .box-discussion .discussion-bgr |
{ | { | ||
− | + | color: #4C4C4C; | |
− | + | font-family: trebuchet MS; | |
+ | font-size: 90%; | ||
} | } | ||
− | + | ||
− | . | + | .ShipBoxLarge .box-discussion .linkname |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{ | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
font-size: 11px; | font-size: 11px; | ||
+ | line-height: 120%; | ||
+ | padding: 0 5px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<!-- Content --> | }}<!-- Content --> | ||
− | <div | + | <div class='ShipBoxLarge'> |
+ | |||
<div class='ship-info'> | <div class='ship-info'> | ||
− | <div class='title'><span style='font-size: 16px'>≡</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION<div | + | <!-- Title --> |
− | <table style='width:100%;'> | + | <div class='title'><span style='font-size: 16px;'>≡</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION |
+ | </div> | ||
+ | <!-- Content --> | ||
+ | <table style='width: 100%;'> | ||
+ | |||
<tr> | <tr> | ||
− | <td style='padding: 5px; width: 256px; | + | <!-- Content left: image and link --> |
− | <div style='border: 1px solid #323931; position: relative; | + | <td style='padding: 5px; width: 256px; vertical-align: top;'> |
− | + | ||
− | + | <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#ifexist: File:{{{shipimg}}} | |
− | + | | [[Image:{{{shipimg}}}|256x256px|{{{shipname|}}}]] | |
− | + | | {{#if: {{{shipid|}}} | |
− | + | | {{Imageserver|types|{{{shipid}}}|render|size=256}} | |
− | + | | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} | Unknown Ship }} ]] | |
− | + | }} | |
− | + | }} | |
− | + | {{#if: {{{tech|}}} |<div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> }} | |
− | |||
− | |||
</div> | </div> | ||
− | <div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch: {{{faction}}} | + | <div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch: {{lc: {{{faction}}} }} |
− | | | + | | angel cartel= Logo_faction_angel_cartel.png |
− | | | + | | amarr empire= Logo_faction_amarr_empire.png |
− | | | + | | blood raiders= Logo_faction_the_blood_raider_covenant.png |
− | | | + | | caldari state= Logo_faction_caldari_state.png |
− | | | + | | concord= Logo_faction_concord_assembly.png |
− | | | + | | edencom= Logo_faction_edencom.png |
− | | | + | | gallente federation= Logo_faction_gallente_federation.png |
− | | | + | | guristas= Logo_faction_guristas_pirates.png |
− | | | + | | intaki syndicate= Logo faction the syndicate.png |
− | | | + | | interbus= Logo faction the interbus.png |
− | | | + | | jovian directorate= Logo faction jove empire.png |
− | | | + | | khanid kingdom= Logo_faction_khanid_kingdom.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 |
− | |#default= | + | | sansha's nation= Logo_faction_sanshas_nation.png |
+ | | serpentis= Logo_faction_serpentis.png | ||
+ | | sisters of eve= Logo_faction_sisters_of_eve.png | ||
+ | | society of conscious thought= Logo_faction_the_society.png | ||
+ | | triglavian collective= Logo_faction_triglavian_collective.png | ||
+ | | #default= Helpicon.png | ||
}}|60x60px|{{#if: {{{faction|}}} | }}|60x60px|{{#if: {{{faction|}}} | ||
− | |{{{faction}}} | + | | {{{faction}}} |
− | |Unknown Faction | + | | Unknown Faction |
− | }}]]</div> | + | }}|link=]] |
− | <div | + | </div> |
− | <div class=' | + | |
− | + | <!-- 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> | </div> | ||
− | + | ||
− | + | <!--* External links *--> | |
− | <div class=' | + | <div class='box-discussion'> |
− | + | <div class='discussion-bgr'>EXTERNAL LINKS</div> | |
− | <div class='linkname'>[https:// | + | <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> | ||
− | <td style='padding: 5px 5px 5px 0; | + | |
− | <div class='titlename' style=' | + | <!-- Content right: data --> |
− | <table class=' | + | <td style='border-left: 1px solid #333333; padding: 5px 5px 5px 0; vertical-align: top;'> |
− | + | <!-- Title (Ship name) --> | |
− | + | <div class='titlename' style='margin-bottom: 1em;'>[[{{{shipname|}}}]]</div> | |
− | + | <!-- Ship attributes --> | |
− | + | <table class='attributes' style='margin-bottom: 5px; width: 100%;'> | |
− | |||
− | |||
<tr> | <tr> | ||
<td> | <td> | ||
− | <div style='background-color: #191E18 | + | <!-- Fittings --> |
+ | <div style='border: 1px solid #323931; background-color: #191E18;'> | ||
<div class='att-line'> | <div class='att-line'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 81px; text-align: right;'> |
<div class='att-label'>fittings</div> | <div class='att-label'>fittings</div> | ||
</div> | </div> | ||
− | <div class='att-item' style='border-right: | + | <div class='att-item' style='border-right: none;'> |
− | <div class='att-value'>{{{highs|0 | + | <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> | </div> | ||
− | <div class='att-item' style='border-right: | + | <div class='att-item' style='border-right: none;'> |
− | <div class='att-value'>{{{launchers|0 | + | <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'> | <div class='att-item'> | ||
− | <div class='att-value'>{{{turrets|0 | + | <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'> | <div class='att-item'> | ||
− | <div class='att-value'>{{{mediums|0 | + | <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'>{{{lows|0 | + | <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> | </div> | ||
+ | <!-- Drones & cargo --> | ||
<div class='att-line'> | <div class='att-line'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 81px; text-align: right;'> |
− | <div class='att-label'>drones & cargo</div> | + | <div class='att-label'>{{#if: {{{fighterbay|}}} | fighters |drones }} & cargo</div> |
</div> | </div> | ||
− | + | {{#if: {{{fighterbay|}}} | |
− | <div class='att-value' style='width: | + | | <div class='att-item'> |
+ | <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> | </div> | ||
<div class='att-item'> | <div class='att-item'> | ||
− | <div class='att-value' style='width: | + | <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> | </div> | ||
− | <div class='att-item' style='border-right: | + | | {{#if: {{{dronebay|}}} |
− | <div class='att-value' style='width: 70px;'>{{{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'> |
+ | <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 class='att-item'> | ||
+ | <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 class='att-item'> | ||
+ | <div class='att-label' style="width: 160px; text-align: center; color: #9A7535;">No drone bay</div> | ||
+ | </div> | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <div class='att-item' style='border-right: none;'> | ||
+ | <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> | </div> | ||
</div> | </div> | ||
+ | <!-- Defense --> | ||
<div class='att-line res-boxes' style='position: relative;'> | <div class='att-line res-boxes' style='position: relative;'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 81px; height: 40px; position: absolute; left: 0; background-color: #110809; text-align: right;'> |
<div class='att-label' style='line-height: 40px;'>defense</div> | <div class='att-label' style='line-height: 40px;'>defense</div> | ||
</div> | </div> | ||
<div class='att-item' style='width: 87px; margin-left: 95px; text-align: right;'> | <div class='att-item' style='width: 87px; margin-left: 95px; text-align: right;'> | ||
− | <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-value' style='width: auto'>{{#if: {{{shieldhp|}}}|{{{shieldhp}}}|0 HP}}</div><div class='att-img'>[[Image:icon_shield.png|20px|shields]]</div> |
</div> | </div> | ||
− | <div class='att-item' style='border-right: | + | <div class='att-item' style='border-right: none;'> |
<div class='att-img'>[[Image:icon_resist_em.png|20px|shield electromagnetic resistance]]</div> | <div class='att-img'>[[Image:icon_resist_em.png|20px|shield 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 | + | <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> | </div> | ||
<div class='att-img'>[[Image:icon_resist_therm.png|20px|shield thermal resistance]]</div> | <div class='att-img'>[[Image:icon_resist_therm.png|20px|shield 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 | + | <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-img'>[[Image:icon_resist_kin.png|20px|shield kinetic resistance]]</div> | <div class='att-img'>[[Image:icon_resist_kin.png|20px|shield 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 | + | <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-img'>[[Image:icon_resist_exp.png|20px|shield explosive resistance]]</div> | <div class='att-img'>[[Image:icon_resist_exp.png|20px|shield 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 | + | <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> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
<div class='att-line res-boxes'> | <div class='att-line res-boxes'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 87px; margin-left: 95px;; text-align: right;'> |
− | |||
− | |||
− | |||
<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='att-value' style='width: auto'>{{#if: {{{armorhp|}}} |{{{armorhp}}} |0 HP}}</div><div class='att-img'>[[Image:icon_armor.png|20px|armor]]</div> | ||
</div> | </div> | ||
− | <div class='att-item' style='border-right: | + | <div class='att-item' style='border-right: none;'> |
− | <div class='att-img'>[[Image:icon_resist_em.png|20px|armor electromagnetic resistance | + | <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-em'> <div class='resist-value val-em' style='width | + | <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_therm.png|20px|armor thermal resistance | + | <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-thr'> <div class='resist-value val-thr' style='width | + | <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 class='att-img'>[[Image:icon_resist_kin.png|20px|armor kinetic resistance | + | <div class='att-img'>[[Image:icon_resist_kin.png|20px|armor 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 | + | <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> | </div> | ||
− | <div class='att-img'>[[Image:icon_resist_exp.png|20px|armor explosive resistance | + | <div class='att-img'>[[Image:icon_resist_exp.png|20px|armor 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 | + | <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> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <!-- Target & nav --> | ||
<div class='att-line'> | <div class='att-line'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 81px; text-align: right;'> |
<div class='att-label'>target & nav</div> | <div class='att-label'>target & nav</div> | ||
</div> | </div> | ||
<div class='att-item'> | <div class='att-item'> | ||
− | <div class='att-value' style='width: | + | <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> |
</div> | </div> | ||
<div class='att-item'> | <div class='att-item'> | ||
− | <div class='att-value' style='width: | + | <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> | </div> | ||
− | <div class='att-item' style='border-right: | + | <div class='att-item' style='border-right: none;'> |
− | <div class='att-value' style='width: | + | <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> | ||
</div> | </div> | ||
+ | |||
</div> | </div> | ||
</td> | </td> | ||
+ | |||
</tr> | </tr> | ||
+ | |||
</table> | </table> | ||
− | <div class='ship-border-box' style='display: {{#if: {{{bonuses|}}}|block|none}}; margin: 10px 5px 5px'> | + | |
− | <div class='label | + | <!-- Ship bonuses --> |
− | <p> | + | <div class='ship-border-box' style='display: {{#if: {{{bonuses|}}} |block |none }}; margin: 10px 5px 5px'> |
+ | <div class='label'>S H I P B O N U S E S</div> | ||
+ | <p>{{{bonuses}}}</p> | ||
</div> | </div> | ||
+ | |||
+ | <!-- Ship description --> | ||
<p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} | }}</p> | <p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} | }}</p> | ||
− | + | <!-- <div class='ship-variants'>Variations : {{#if: {{{variations|}}} |{{{variations}}} |<i>none</i>}}</div>--> | |
− | |||
</td> | </td> | ||
+ | |||
</tr> | </tr> | ||
+ | |||
</table> | </table> | ||
+ | |||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude>{{documentation}}</noinclude> | <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.
- 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}}