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 179: Line 179:
 
   height: 64px;
 
   height: 64px;
 
   position: absolute;
 
   position: absolute;
   top: 0px;
+
   top: 0;
   left: 0px;
+
   left: 0;
 
   margin-left: 1px;
 
   margin-left: 1px;
 
   margin-top: 1px;
 
   margin-top: 1px;
Line 197: Line 197:
  
 
<!--* Breadcrumbs *-->
 
<!--* Breadcrumbs *-->
  <div class='breadcrumbs'>[[:Category:Ship Database|Ship Database]]<span class='separator'>&#9656;</span>[[:Category:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]<span class='separator'>&#9656;</span>{{#if: {{{shipname|}}} | [[{{{shipname}}}]] | Unknown }}
+
  <div class='breadcrumbs'>[[:Category:Ship Database|Ship Database]]<span class='separator'>&#9656;</span>[[:Category:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]<span class='separator'>&#9656;</span>{{#if: {{{shipname|}}}
 +
  | [[{{{shipname}}}]]
 +
  | Unknown
 +
  }}
 
  </div>
 
  </div>
  
Line 270: Line 273:
 
         <div class='ecm-priority'>
 
         <div class='ecm-priority'>
 
           <div class='label'>ECM PRIORITY</div>
 
           <div class='label'>ECM PRIORITY</div>
           <div class='value normal'>{{#switch:{{{ecmprio}}}
+
           <div class='value normal'>{{#switch: {{{ecmprio}}}
 
             | 0= NONE
 
             | 0= NONE
 
             | 1= LOW
 
             | 1= LOW
Line 279: Line 282:
 
             }}
 
             }}
 
           </div>
 
           </div>
           <div class='label2 type-gravimetric'>{{#ifeq: {{{sensortype}}} |Magnetometric
+
           <div class='label2 type-gravimetric'>{{#ifeq: {{{sensortype}}} | Magnetometric
 
             | <span style='font-size: 9px;'>Magnetometric</span>
 
             | <span style='font-size: 9px;'>Magnetometric</span>
 
             | {{{sensortype|Multi}}}
 
             | {{{sensortype|Multi}}}
Line 323: Line 326:
 
     <div class='box-line box-awards'>
 
     <div class='box-line box-awards'>
 
       <div class='award' style='display:{{#if: {{{highlights1|}}}
 
       <div class='award' style='display:{{#if: {{{highlights1|}}}
           |block
+
           | block
           |none
+
           | none
 
         }}'>
 
         }}'>
 
       <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|first highlight]]</div>
 
       <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|first highlight]]</div>
Line 332: Line 335:
  
 
       <div class='award' style='display:{{#if: {{{highlights2|}}}
 
       <div class='award' style='display:{{#if: {{{highlights2|}}}
           |block
+
           | block
           |none
+
           | none
 
         }}'>
 
         }}'>
 
       <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
 
       <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
Line 341: Line 344:
  
 
       <div class='award' style='display:{{#if: {{{highlights3|}}}
 
       <div class='award' style='display:{{#if: {{{highlights3|}}}
           |block
+
           | block
           |none
+
           | none
 
         }}'>
 
         }}'>
 
       <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
 
       <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
Line 350: Line 353:
  
 
       <div class='award' style='display:{{#if: {{{highlights4|}}}
 
       <div class='award' style='display:{{#if: {{{highlights4|}}}
           |block
+
           | block
           |none
+
           | none
 
         }}'>
 
         }}'>
 
       <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
 
       <div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|structure hitpoints]]</div>
Line 416: Line 419:
 
{{{reqskills|<i>none</i>}}}
 
{{{reqskills|<i>none</i>}}}
 
<!--** Training time **-->
 
<!--** Training time **-->
         <div class='skillstime' style='display:{{#if:{{{reqskills|}}}
+
         <div class='skillstime' style='display:{{#if: {{{reqskills|}}}
             |block
+
             | block
             |none
+
             | none
 
           }}'>
 
           }}'>
 
         <span style='font-variant: small-caps;'>Training Time</span> <span style='color:#656565;font-size:70%;'>what's this?</span><div class='value'>{{{totaltraintime|}}}</div>
 
         <span style='font-variant: small-caps;'>Training Time</span> <span style='color:#656565;font-size:70%;'>what's this?</span><div class='value'>{{{totaltraintime|}}}</div>
Line 434: Line 437:
 
         </table>
 
         </table>
 
         <div style='color: #7D6843;font-size: 90%;'>&#9642; Variations</div>
 
         <div style='color: #7D6843;font-size: 90%;'>&#9642; Variations</div>
         <span style='padding-left:10px;display:block;'>{{{variations|<i>none</i>}}}</span>
+
         <span style='padding-left: 10px; display: block;'>{{{variations|<i>none</i>}}}</span>
 
         </td>
 
         </td>
 
       </tr>
 
       </tr>
Line 442: Line 445:
 
<!--* Ship attributes *-->
 
<!--* Ship attributes *-->
 
     <div class='box-line box-attributes'>
 
     <div class='box-line box-attributes'>
       <h2 style='margin-left:0;'>Ship Attributes</h2>
+
       <h2 style='margin-left: 0;'>Ship Attributes</h2>
 
       <table class='attributes' cellspacing='0' cellpadding='0'>
 
       <table class='attributes' cellspacing='0' cellpadding='0'>
  
Line 448: Line 451:
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Fittings</span></td>
 
         <td class='line-label'><span class='label'>Fittings</span></td>
 +
        <td class='att-line'>
  
 
<!--*** Powergrid ***-->
 
<!--*** Powergrid ***-->
        <td class='att-line'>
 
 
         <div class='att-item'>
 
         <div class='att-item'>
 
           <div class='item att-label'>Powergrid</div><div class='item att-img'>[[Image:icon_powergrid.png|20px|middle|powergrid]]</div><div class='item att-value'>{{{powergrid|0 MW}}}</div>
 
           <div class='item att-label'>Powergrid</div><div class='item att-img'>[[Image:icon_powergrid.png|20px|middle|powergrid]]</div><div class='item att-value'>{{{powergrid|0 MW}}}</div>
Line 521: Line 524:
 
                   | Interdictor
 
                   | Interdictor
 
                   | Stealth Bomber= small
 
                   | Stealth Bomber= small
 +
 
                   | Attack Battlecruiser
 
                   | Attack Battlecruiser
 
                   | Blockade Runner
 
                   | Blockade Runner
Line 536: Line 540:
 
                   | Mining Barge
 
                   | Mining Barge
 
                   | Strategic Cruiser= medium
 
                   | Strategic Cruiser= medium
 +
 
                   | Battleship
 
                   | Battleship
 
                   | Black Ops
 
                   | Black Ops
 
                   | Industrial Command Ship
 
                   | Industrial Command Ship
 
                   | Marauder= large  
 
                   | Marauder= large  
 +
 
                   | Capital Industrial Ship
 
                   | Capital Industrial Ship
 
                   | Carrier
 
                   | Carrier
Line 548: Line 554:
 
                   | Supercarrier
 
                   | Supercarrier
 
                   | Titan= capital
 
                   | Titan= capital
 +
 
                   | #default= ?
 
                   | #default= ?
 
                 }}</div>
 
                 }}</div>
Line 554: Line 561:
 
<!--*** Calibration ***-->
 
<!--*** Calibration ***-->
 
               <div class='item att-label' style='color:#9E8F75;margin-left: 5px;'>Calibration </div><div class='item att-img'>[[Image:icon_calibration.png|16px|middle|calibration]]</div><div class='item att-value'>{{#if: {{{rigs_calibration|}}}
 
               <div class='item att-label' style='color:#9E8F75;margin-left: 5px;'>Calibration </div><div class='item att-img'>[[Image:icon_calibration.png|16px|middle|calibration]]</div><div class='item att-value'>{{#if: {{{rigs_calibration|}}}
                 |{{{rigs_calibration|}}}
+
                 | {{{rigs_calibration|}}}
                 |{{#switch:{{{class}}}
+
                 | {{#switch:{{{class}}}
                  | Corvette
+
                  | Corvette
                  | Shuttle
+
                  | Shuttle
                  | Limited Edition Shuttle
+
                  | Limited Edition Shuttle
                  | Freighter
+
                  | Freighter
                  | Jump Freighter= 0
+
                  | Jump Freighter= 0
                  | #default={{#switch:{{{grouping}}}
+
                  | #default={{#switch: {{{grouping}}}
                    | Pirate Faction Ships= 350
+
                    | Pirate Faction Ships= 350
                    | #default=400
+
                    | #default= 400
                  }}
+
                    }}
                }}
+
                  }}
 
               }}</div>
 
               }}</div>
 
         </div>
 
         </div>
Line 576: Line 583:
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Navigation</span></td>
 
         <td class='line-label'><span class='label'>Navigation</span></td>
 +
        <td class='att-line'>
  
 
<!--*** Max velocity ***-->
 
<!--*** Max velocity ***-->
        <td class='att-line'>
 
 
         <div class='att-item'>
 
         <div class='att-item'>
 
           <div class='item att-label'>Max Velocity</div><div class='item att-img'>[[Image:Icon_velocity.png|20px|middle|max. velocity]]</div><div class='item att-value'>{{{maxvelocity|0 m/s}}}</div>
 
           <div class='item att-label'>Max Velocity</div><div class='item att-img'>[[Image:Icon_velocity.png|20px|middle|max. velocity]]</div><div class='item att-value'>{{{maxvelocity|0 m/s}}}</div>
Line 648: Line 655:
 
         <div class='att-item' {{#if: {{{heavyfightersquadlimit|}}}
 
         <div class='att-item' {{#if: {{{heavyfightersquadlimit|}}}
 
             |  
 
             |  
             |style="display: none;"
+
             | style="display: none;"
 
             }}>
 
             }}>
 
           <div class='item att-label'>Heavy Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|middle|squad limit]]</div><div class='item att-value'>{{{heavyfightersquadlimit|0}}}</div>
 
           <div class='item att-label'>Heavy Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|middle|squad limit]]</div><div class='item att-value'>{{{heavyfightersquadlimit|0}}}</div>
Line 654: Line 661:
 
         <div class='att-item' {{#if: {{{supportfightersquadlimit|}}}
 
         <div class='att-item' {{#if: {{{supportfightersquadlimit|}}}
 
             |  
 
             |  
             |style="display: none;"
+
             | style="display: none;"
 
             }}>
 
             }}>
 
           <div class='item att-label'>Support Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|middle|squad limit]]</div><div class='item att-value'>{{{supportfightersquadlimit|0}}}</div>
 
           <div class='item att-label'>Support Fighter Squad Limit</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|middle|squad limit]]</div><div class='item att-value'>{{{supportfightersquadlimit|0}}}</div>
Line 666: Line 673:
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Targeting</span></td>
 
         <td class='line-label'><span class='label'>Targeting</span></td>
 +
        <td class='att-line'>
  
 
<!--*** Max range ***-->
 
<!--*** Max range ***-->
        <td class='att-line'>
 
 
         <div class='att-item'>
 
         <div class='att-item'>
 
           <div class='item att-label'>Max Tgt. Range</div><div class='item att-img'>[[Image:icon_target_range.png|20px|middle|max. targeting range]]</div><div class='item att-value'>{{{targetrange|0 km}}}</div>
 
           <div class='item att-label'>Max Tgt. Range</div><div class='item att-img'>[[Image:icon_target_range.png|20px|middle|max. targeting range]]</div><div class='item att-value'>{{{targetrange|0 km}}}</div>
Line 685: Line 692:
 
               | Magnetometric= [[Image:Icon_sensor_magnetometric.png|20px|middle|Magnetometric sensor strength]]
 
               | Magnetometric= [[Image:Icon_sensor_magnetometric.png|20px|middle|Magnetometric sensor strength]]
 
               | LADAR= [[Image:Icon_sensor_ladar.png|20px|middle|LADAR sensor strength]]
 
               | LADAR= [[Image:Icon_sensor_ladar.png|20px|middle|LADAR sensor strength]]
               |#default= [[Image:Icon_sensor_gravimetric.png|20px|middle|Multitype sensor strength]]}}</div><div class='item att-value'>{{{sensorvalue|0 points}}}</div>
+
               | #default= [[Image:Icon_sensor_gravimetric.png|20px|middle|Multitype sensor strength]]}}</div><div class='item att-value'>{{{sensorvalue|0 points}}}</div>
 
         </div>
 
         </div>
  
Line 705: Line 712:
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Structure</span></td>
 
         <td class='line-label'><span class='label'>Structure</span></td>
 +
        <td class='att-line'>
  
 
<!--*** hitpoints ***-->
 
<!--*** hitpoints ***-->
        <td class='att-line'>
 
 
         <div class='att-item'>
 
         <div class='att-item'>
 
           <div class='item att-label'>Structure Hitpoints</div><div class='item att-img'>[[Image:icon_volume.png|20px|middle|structure hitpoints]]</div><div class='item att-value'>{{{structurehp|0 HP}}}</div>
 
           <div class='item att-label'>Structure Hitpoints</div><div class='item att-img'>[[Image:icon_volume.png|20px|middle|structure hitpoints]]</div><div class='item att-value'>{{{structurehp|0 HP}}}</div>
Line 728: Line 735:
  
 
<!--*** Escape bay ***-->
 
<!--*** Escape bay ***-->
         <div class='att-item' {{#ifeq:{{{class|}}}|Battleship| |style="display: none;"}}>
+
         <div class='att-item' {{#ifeq: {{{class|}}} | Battleship
 +
            |  
 +
            | style="display: none;"
 +
            }}>
 
           <div class='item att-label'>Frigate Escape Bay</div><div class='item att-img'>[[Image:Isis_frigate.png|center|20x20px|Frigate Capacity]]</div><div class='item att-value'>1 Frigate</div>
 
           <div class='item att-label'>Frigate Escape Bay</div><div class='item att-img'>[[Image:Isis_frigate.png|center|20x20px|Frigate Capacity]]</div><div class='item att-value'>1 Frigate</div>
 
         </div>
 
         </div>
  
 
<!--*** Extrahold ***-->
 
<!--*** Extrahold ***-->
         <div class='att-item' {{#if:{{{extrahold|}}}| |style="display: none;"}}>
+
         <div class='att-item' {{#if: {{{extrahold|}}}
 +
            |  
 +
            | style="display: none;"
 +
            }}>
 
           <div class='item att-label'>{{{extraholdtype}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold|0 m&#179;}}}</div>
 
           <div class='item att-label'>{{{extraholdtype}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold|0 m&#179;}}}</div>
 
         </div>
 
         </div>
  
 
<!--*** Extrahold 2 ***-->
 
<!--*** Extrahold 2 ***-->
         <div class='att-item' {{#if:{{{extrahold2|}}}| |style="display: none;"}}>
+
         <div class='att-item' {{#if: {{{extrahold2|}}}
 +
            |  
 +
            | style="display: none;"
 +
            }}>
 
           <div class='item att-label'>{{{extrahold2type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold2|0 m&#179;}}}</div>
 
           <div class='item att-label'>{{{extrahold2type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold2|0 m&#179;}}}</div>
 
         </div>
 
         </div>
  
 
<!--*** Extrahold 3 ***-->
 
<!--*** Extrahold 3 ***-->
         <div class='att-item' {{#if:{{{extrahold3|}}}| |style="display: none;"}}>
+
         <div class='att-item' {{#if: {{{extrahold3|}}}
 +
            |  
 +
            | style="display: none;"
 +
            }}>
 
           <div class='item att-label'>{{{extrahold3type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold3|0 m&#179;}}}</div>
 
           <div class='item att-label'>{{{extrahold3type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold3|0 m&#179;}}}</div>
 
         </div>
 
         </div>
  
 
<!--*** Extrahold 4 ***-->
 
<!--*** Extrahold 4 ***-->
<div class='att-item' {{#if:{{{extrahold4|}}}| |style="display: none;"}}>
+
        <div class='att-item' {{#if: {{{extrahold4|}}}
 +
            |  
 +
            | style="display: none;"
 +
            }}>
 
           <div class='item att-label'>{{{extrahold4type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold4|0 m&#179;}}}</div>
 
           <div class='item att-label'>{{{extrahold4type}}} Capacity</div><div class='item att-img'>[[Image:Icon_capacity.png|center|20x20px|capacity]]</div><div class='item att-value'>{{{extrahold4|0 m&#179;}}}</div>
 
         </div>
 
         </div>
Line 759: Line 781:
 
       <tr class='token'>
 
       <tr class='token'>
 
         <td class='line-label'><span class='label'>Shields</span></td>
 
         <td class='line-label'><span class='label'>Shields</span></td>
 +
        <td class='att-line'>
  
 
<!--*** hitpoints ***-->
 
<!--*** hitpoints ***-->
        <td class='att-line'>
 
 
         <div class='att-item'>
 
         <div class='att-item'>
 
           <div class='item att-label'>Shield Capacity</div><div class='item att-img'>[[Image:icon_shield.png|20px|middle|shields]]</div><div class='item att-value'>{{{shieldhp|0 HP}}}</div>
 
           <div class='item att-label'>Shield Capacity</div><div class='item att-img'>[[Image:icon_shield.png|20px|middle|shields]]</div><div class='item att-value'>{{{shieldhp|0 HP}}}</div>

Revision as of 11:08, 28 November 2022


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