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 377: Line 377:
 
     <div class='box-line box-discussion'>
 
     <div class='box-line box-discussion'>
 
       <div class='discussion-bgr'>EXTERNAL LINKS</div>
 
       <div class='discussion-bgr'>EXTERNAL LINKS</div>
       <div class='linkname'>{{#if:{{{shipid}}}
+
       <div class='linkname'>{{#if: {{{shipid}}}
 
         | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|unknown}}} on zKillboard]{{#switch: {{{class}}}
 
         | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|unknown}}} on zKillboard]{{#switch: {{{class}}}
 
           | Shuttle
 
           | Shuttle
 
           | Special Edition Shuttle=
 
           | Special Edition Shuttle=
 
           | <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|unknown}}} on EVE Workbench]
 
           | <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|unknown}}} on EVE Workbench]
           }} <br>[https://evepraisal.com/item/{{{shipid}}}/ {{{shipname|unknown}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|unknown}}} on EVE Ref]|
+
           }} <br>[https://evepraisal.com/item/{{{shipid}}}/ {{{shipname|unknown}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|unknown}}} on EVE Ref]
 +
        |
 
       }}<br>{{{externallinks|}}}</div>
 
       }}<br>{{{externallinks|}}}</div>
 
     </div>
 
     </div>
Line 399: Line 400:
  
 
<!--* Ship bonuses(traits) *-->
 
<!--* Ship bonuses(traits) *-->
     <div class='box-line box-bonuses' style='display:{{#if:{{{bonuses|}}}|block|none}}'>
+
     <div class='box-line box-bonuses' style='display:{{#if: {{{bonuses|}}}
 +
        |block
 +
        |none
 +
        }}'>
 
       <div class='label'>SHIP BONUSES</div>
 
       <div class='label'>SHIP BONUSES</div>
 
{{{bonuses|}}} <!-- no indent because starting space is parsed as <pre> -->
 
{{{bonuses|}}} <!-- no indent because starting space is parsed as <pre> -->
Line 412: Line 416:
 
{{{reqskills|<i>none</i>}}}
 
{{{reqskills|<i>none</i>}}}
 
<!--** Training time **-->
 
<!--** Training time **-->
         <div class='skillstime' style='display:{{#if:{{{reqskills|}}}|block|none}}'>
+
         <div class='skillstime' style='display:{{#if:{{{reqskills|}}}
 +
            |block
 +
            |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>
 
         <div class='desc'>Estimated training time only for the listed skills based on zero [[Skills_and_Learning#Implants|implants]] and without [[Skills_and_Learning#Neural_Remaps|neural remaps]].</div>
 
         <div class='desc'>Estimated training time only for the listed skills based on zero [[Skills_and_Learning#Implants|implants]] and without [[Skills_and_Learning#Neural_Remaps|neural remaps]].</div>
Line 529: Line 536:
 
                   | Mining Barge
 
                   | Mining Barge
 
                   | Strategic Cruiser= medium
 
                   | Strategic Cruiser= medium
                   | Battleship|Black Ops
+
                   | Battleship
 +
                  | Black Ops
 
                   | Industrial Command Ship
 
                   | Industrial Command Ship
 
                   | Marauder= large  
 
                   | Marauder= large  
Line 595: Line 603:
  
 
<!--** Ship attributes - Drones/Fighters **-->
 
<!--** Ship attributes - Drones/Fighters **-->
       <tr class='token' {{#if:{{{fighterbay|}}}|style="display: none;"}}>
+
       <tr class='token' {{#if: {{{fighterbay|}}}
        <td class='line-label'><span class='label'>Drones</span></td>
+
        |style="display: none;"}}>
        <td class='att-line' {{#if:{{{dronebay|}}}|style="display: none;"}}>
+
        <td class='line-label'><span class='label'>Drones</span></td>
        <div class='att-item'>
+
        <td class='att-line' {{#if:{{{dronebay|}}}|style="display: none;"}}>
          <div class='item att-label' style="font-style: italic;">No drone bay.</div>
+
          <div class='att-item'>
        </div>
+
          <div class='item att-label' style="font-style: italic;">No drone bay.</div>
 +
          </div>
 
         </td>
 
         </td>
  
         <td class='att-line' {{#if:{{{dronebay|}}}| |style="display: none;"}}>
+
         <td class='att-line' {{#if: {{{dronebay|}}}
        <div class='att-item'>
+
          |  
          <div class='item att-label'>Drone Capacity</div><div class='item att-img'>[[Image:icon_drone_capacity.png|20px|middle|drone capacity]]</div><div class='item att-value'>{{{dronebay|0 m&#179;}}}</div>
+
          |style="display: none;"
        </div>
+
          }}>
 +
          <div class='att-item'>
 +
            <div class='item att-label'>Drone Capacity</div>
 +
            <div class='item att-img'>[[Image:icon_drone_capacity.png|20px|middle|drone capacity]]</div>
 +
            <div class='item att-value'>{{{dronebay|0 m&#179;}}}</div>
 +
          </div>
 
         <div class='att-item'>
 
         <div class='att-item'>
 
           <div class='item att-label'>Drone Bandwidth</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|middle|drone bandwidth]]</div><div class='item att-value'>{{{bandwidth|0 Mbit/sec}}}</div>
 
           <div class='item att-label'>Drone Bandwidth</div><div class='item att-img'>[[Image:icon_drone_bandwidth.png|20px|middle|drone bandwidth]]</div><div class='item att-value'>{{{bandwidth|0 Mbit/sec}}}</div>

Revision as of 15:09, 27 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?)