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

From EVE University Wiki
Jump to: navigation, search
m (Coding and testing.)
m (Coding and testing.)
Line 22: Line 22:
 
.ShipBoxLarge table
 
.ShipBoxLarge table
 
  {
 
  {
  background-color: transparent;
 
 
   border-spacing: 0;
 
   border-spacing: 0;
 
   margin: 0;
 
   margin: 0;
Line 46: Line 45:
 
  }
 
  }
  
.ShipBoxLarge .box-bonus
+
.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: medium none;
+
   border: none;
 
   padding: 3px;
 
   padding: 3px;
 
  }
 
  }
Line 141: Line 140:
 
  }
 
  }
  
.ShipBoxLarge .attributes .att-line .att-item
+
.ShipBoxLarge .attributes .att-item
 
  {
 
  {
 
   border-right: 2px solid #191E18;
 
   border-right: 2px solid #191E18;
Line 148: Line 147:
 
  }
 
  }
  
.ShipBoxLarge .attributes .att-line .att-item .att-img
+
.ShipBoxLarge .attributes .att-img
 
  {
 
  {
 
   display: inline-block;
 
   display: inline-block;
Line 154: Line 153:
 
  }
 
  }
  
.ShipBoxLarge .attributes .res-boxes .att-item .att-img
+
.ShipBoxLarge .attributes .res-boxes .att-img
 
  {
 
  {
 
   margin-right: 0;
 
   margin-right: 0;
 
  }
 
  }
  
.ShipBoxLarge .attributes .att-line .att-item .att-label
+
.ShipBoxLarge .attributes .att-label
 
  {
 
  {
 
   color: #9E9E9E;
 
   color: #9E9E9E;
Line 165: Line 164:
 
  }
 
  }
  
.ShipBoxLarge .attributes .att-line .att-item .att-value
+
.ShipBoxLarge .attributes .att-value
 
  {
 
  {
 
   color: #FFFFFF;
 
   color: #FFFFFF;
Line 236: Line 235:
 
<!-- Title -->
 
<!-- Title -->
 
     <div class='title'><span style='font-size: 16px;'>&equiv;</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION
 
     <div class='title'><span style='font-size: 16px;'>&equiv;</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION
       <div class='box-bonus' style='display: {{#if: {{{roles|}}} |block |none}};'>{{#ifeq: {{{roles}}} |unspecified |<!--blank--> |{{{roles}}} }}
+
       <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 }} ]]
                  | {{{shipname}}}
+
                 | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} | Unknown Ship }} ]]
                  | Unknown Ship
+
              }}
                }}]]
 
                 | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}}
 
                  | {{{shipname}}}
 
                  | Unknown Ship}}]]
 
                }}
 
 
           </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: medium none;'>
+
                     <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: medium none;'>
+
                     <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: medium none;'>
+
                     <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: medium none;'>
+
                     <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: 80px;'>
+
                     <div class='att-item' style='width: 87px; margin-left: 95px;; text-align: right;'>
                      <div class='att-label'>&nbsp;</div>
 
                    </div>
 
                    <div class='att-item' style='width: 87px; 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: medium none;'>
+
                     <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: medium none;'>
+
                     <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}}} |&nbsp;}}</p>
 
           <p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} |&nbsp;}}</p>

Revision as of 13:15, 30 January 2023

SHIP: INFORMATION
Unknown Ship
Unknown Faction
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

[[]]
fittings
0
high slots
highs
0
launcher hardpoints
launchers
0
turret hardpoints
turrets
0
middle slots
mediums
0
low slots
lows
drones & cargo
0  m3
drone capacity
drones
0 Mbit/sec
drone bandwidth
b/w
0  m3
cargo capacity
cargo
defense
0 HP
shields
shield electromagnetic resistance
0
shield thermal resistance
0
shield kinetic resistance
0
shield explosive resistance
0
0 HP
armor
Icon resist em.png
0
Icon resist therm.png
0
Icon resist kin.png
0
Icon resist exp.png
0
target & nav
0 km
max. targeting range
tgt. range
0 m
ship signature radius
sig. radius
0 m/s
max. velocity
max. velocity

 

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?)