Difference between revisions of "User:Evon R'al/Sandbox template"
From EVE University Wiki
m (Coding and testing.) |
m (Coding and testing.) |
||
Line 22: | Line 22: | ||
.ShipBoxLarge table | .ShipBoxLarge table | ||
{ | { | ||
− | |||
border-spacing: 0; | border-spacing: 0; | ||
margin: 0; | margin: 0; | ||
Line 46: | Line 45: | ||
} | } | ||
− | .ShipBoxLarge .box- | + | .ShipBoxLarge .box-roles |
{ | { | ||
float: right; | float: right; | ||
Line 63: | Line 62: | ||
} | } | ||
− | .ShipBoxLarge .titlename a:hover | + | .ShipBoxLarge .titlename a:hover |
{ | { | ||
text-decoration: none; | text-decoration: none; | ||
Line 125: | Line 124: | ||
} | } | ||
− | .ShipBoxLarge attributes | + | .ShipBoxLarge .attributes |
{ | { | ||
− | border: | + | border: none; |
padding: 3px; | padding: 3px; | ||
} | } | ||
Line 141: | Line 140: | ||
} | } | ||
− | .ShipBoxLarge .attributes | + | .ShipBoxLarge .attributes .att-item |
{ | { | ||
border-right: 2px solid #191E18; | border-right: 2px solid #191E18; | ||
Line 148: | Line 147: | ||
} | } | ||
− | .ShipBoxLarge .attributes | + | .ShipBoxLarge .attributes .att-img |
{ | { | ||
display: inline-block; | display: inline-block; | ||
Line 154: | Line 153: | ||
} | } | ||
− | .ShipBoxLarge .attributes .res-boxes | + | .ShipBoxLarge .attributes .res-boxes .att-img |
{ | { | ||
margin-right: 0; | margin-right: 0; | ||
} | } | ||
− | .ShipBoxLarge .attributes | + | .ShipBoxLarge .attributes .att-label |
{ | { | ||
color: #9E9E9E; | color: #9E9E9E; | ||
Line 165: | Line 164: | ||
} | } | ||
− | .ShipBoxLarge .attributes | + | .ShipBoxLarge .attributes .att-value |
{ | { | ||
color: #FFFFFF; | color: #FFFFFF; | ||
Line 236: | Line 235: | ||
<!-- Title --> | <!-- Title --> | ||
<div class='title'><span style='font-size: 16px;'>≡</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION | <div class='title'><span style='font-size: 16px;'>≡</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION | ||
− | <div class='box- | + | <div class='box-roles' style='display: {{#if: {{{roles|}}} |block |none}};'>{{#ifeq: {{{roles}}} |unspecified |<!--blank--> |{{{roles}}} }} |
</div> | </div> | ||
</div> | </div> | ||
Line 248: | Line 247: | ||
<div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}} | <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}} | ||
| <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> | | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> | ||
− | |||
}}{{#ifexist: File:{{{shipimg}}} | }}{{#ifexist: File:{{{shipimg}}} | ||
− | | [[Image:{{{shipimg}}}|256x256px|{{#if: {{{shipname|}}} | + | | [[Image:{{{shipimg}}}|256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} | Unknown Ship }} ]] |
− | + | | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} | Unknown Ship }} ]] | |
− | + | }} | |
− | |||
− | | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}} | ||
− | |||
− | |||
− | |||
</div> | </div> | ||
<div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch: {{lc: {{{faction}}} }} | <div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch: {{lc: {{{faction}}} }} | ||
Line 293: | Line 286: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
<!-- Wiki links --> | <!-- Wiki links --> | ||
<div class='box-discussion'> | <div class='box-discussion'> | ||
Line 311: | Line 305: | ||
</td> | </td> | ||
+ | |||
<!-- Content right: data --> | <!-- Content right: data --> | ||
<td style='border-left: 1px solid #333333; padding: 5px 5px 5px 0; vertical-align: top;'> | <td style='border-left: 1px solid #333333; padding: 5px 5px 5px 0; vertical-align: top;'> | ||
Line 325: | Line 320: | ||
<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'>{{#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-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'>{{#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 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> | ||
Line 337: | Line 332: | ||
<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 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'>{{#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 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> | ||
+ | |||
<div class='att-line'> | <div class='att-line'> | ||
<div class='att-item' style='width: 80px; text-align: right;'> | <div class='att-item' style='width: 80px; text-align: right;'> | ||
Line 351: | Line 347: | ||
<div class='att-value' style='width: 80px;'>{{#if: {{{bandwidth|}}}|{{{bandwidth}}}|0 Mbit/sec}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|drone bandwidth]]</div><div class='att-label'>b/w</div> | <div class='att-value' style='width: 80px;'>{{#if: {{{bandwidth|}}}|{{{bandwidth}}}|0 Mbit/sec}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|drone bandwidth]]</div><div class='att-label'>b/w</div> | ||
</div> | </div> | ||
− | <div class='att-item' style='border-right: | + | <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 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> | ||
+ | |||
<div class='att-line res-boxes' style='position: relative;'> | <div class='att-line res-boxes' style='position: relative;'> | ||
<div class='att-item' style='width: 80px; height: 40px; position: absolute; left: 0; background-color: #110809; text-align: right;'> | <div class='att-item' style='width: 80px; height: 40px; position: absolute; left: 0; background-color: #110809; text-align: right;'> | ||
Line 362: | Line 359: | ||
<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;'> | ||
Line 381: | Line 378: | ||
</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> | <div class='att-img'>[[Image:icon_resist_em.png|20px|armor electromagnetic resistance|]]</div> | ||
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
Line 407: | Line 402: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
<div class='att-line'> | <div class='att-line'> | ||
<div class='att-item' style='width: 80px; text-align: right;'> | <div class='att-item' style='width: 80px; text-align: right;'> | ||
Line 417: | Line 413: | ||
<div class='att-value' style='width: 30px'>{{#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='att-value' style='width: 30px'>{{#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: 55px;'>{{#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 class='att-value' style='width: 55px;'>{{#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> | ||
Line 427: | Line 424: | ||
</table> | </table> | ||
+ | |||
<!-- Ship bonuses --> | <!-- Ship bonuses --> | ||
<div class='ship-border-box' style='display: {{#if: {{{bonuses|}}} |block |none }}; margin: 10px 5px 5px'> | <div class='ship-border-box' style='display: {{#if: {{{bonuses|}}} |block |none }}; margin: 10px 5px 5px'> | ||
Line 432: | Line 430: | ||
<p>{{#if: {{{bonuses|}}} |{{{bonuses}}} |<i>no bonuses available for this ship</i>}}</p> | <p>{{#if: {{{bonuses|}}} |{{{bonuses}}} |<i>no bonuses available for this ship</i>}}</p> | ||
</div> | </div> | ||
+ | |||
<!-- Ship description --> | <!-- Ship description --> | ||
<p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} | }}</p> | <p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} | }}</p> |
Revision as of 13:15, 30 January 2023
≡ SHIP: INFORMATION
Please upload an image for this ship and edit the respective entry on the ship database, see "editing database entry" here.
RELATED UNI-WIKI REFERENCES
EXTERNAL LINKS
|
[[]]
|
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?)