Difference between revisions of "Template:ShipBoxLarge"

From EVE University Wiki
Jump to: navigation, search
m (CSS overhaul.)
m (Large sig radius did not fit.)
Line 1: Line 1:
{{#css:
+
<includeonly>{{#css:
  
 
div.ShipBoxLarge
 
div.ShipBoxLarge
Line 305: Line 305:
 
<!-- Ship attributes -->
 
<!-- Ship attributes -->
 
           <table class='attributes' style='margin-bottom: 5px; width: 100%;'>
 
           <table class='attributes' style='margin-bottom: 5px; width: 100%;'>
 
 
             <tr>
 
             <tr>
 
               <td>
 
               <td>
 +
<!-- Fittings -->
 
                 <div style='border: 1px solid #323931; background-color: #191E18;'>
 
                 <div style='border: 1px solid #323931; background-color: #191E18;'>
 
                   <div class='att-line'>
 
                   <div class='att-line'>
Line 329: Line 329:
 
                     </div>                     
 
                     </div>                     
 
                   </div>
 
                   </div>
 
+
<!-- Droned & cargo -->
 
                   <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 344: Line 344:
 
                     </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: 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 395: Line 395:
 
                     </div>
 
                     </div>
 
                   </div>
 
                   </div>
 
+
<!-- Target & nav -->
 
                   <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 401: Line 401:
 
                     </div>
 
                     </div>
 
                     <div class='att-item'>
 
                     <div class='att-item'>
                       <div class='att-value' style='width: 50px'>{{#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 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: 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='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: 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='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>

Revision as of 13:33, 1 February 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?)