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 12: Line 12:
  
 
.sbtt sbtt-image a img {
 
.sbtt sbtt-image a img {
   border: 1px solid #272727;
+
   border: 1px solid red<!--#272727-->;
 
  }
 
  }
  
Line 83: Line 83:
 
| 2=<table class="sbtt">
 
| 2=<table class="sbtt">
 
  <tr>
 
  <tr>
   <td class="sbtt-image">[[Image:{{#if:{{{shipimg|}}}
+
   <td class="sbtt-image">
 +
    [[Image:{{#if: {{{shipimg|}}}
 
     | {{{shipimg}}}
 
     | {{{shipimg}}}
 
     | No-image.png
 
     | No-image.png
Line 105: Line 106:
 
   }}
 
   }}
 
   <div class="sbtt-attributes">
 
   <div class="sbtt-attributes">
     <div>[[Image:icon_hi_slot.png|15x15px|link=]]{{#if: {{{highs|}}}
+
     <div>
          | {{{highs}}} ({{#if: {{{launchers|}}} |{{{launchers}}} |0 }}/{{{turrets|0}}})
+
      [[Image:icon_hi_slot.png|15x15px|link=]]{{#if: {{{highs|}}}
          | 0 }} [[Image:icon_mid_slot.png|15x15px|link=]]{{{mediums|0}}} [[Image:icon_low_slot.png|15x15px|link=]]{{{lows|0}}}</div>
+
        | {{{highs}}} ({{#if: {{{launchers|}}} |{{{launchers}}} |0 }}/{{#if: {{{turrets|}}} |{{{turrets}}} |0 })
     <div>[[Image:icon_powergrid.png|15x15px|link=]]{{{powergrid|0 MW}}} [[Image:icon_cpu.png|15x15px|link=]]{{{cpu|0 tf}}}</div>
+
        | 0 }} [[Image:icon_mid_slot.png|15x15px|link=]]{{#if: {{{mediums|}}} |{{{mediums}}} |0 }} [[Image:icon_low_slot.png|15x15px|link=]]{{#if: {{{lows|}}} |{{{lows}}} |0 }}
     <div>[[Image:Icon_velocity.png|15x15px|link=]]{{{maxvelocity|0 m/s}}}</div>
+
    </div>
     <div>[[Image:Icon_capacity.png|15x15px|link=]]{{{cargohold|0 m&#179;}}}</div>
+
     <div>[[Image:icon_powergrid.png|15x15px|link=]]{{#if: {{{powergrid|}}} |{{{powergrid}}} |0 MW }} [[Image:icon_cpu.png|15x15px|link=]]{{#if: {{{cpu|}}} |{{{cpu}}} |0 tf }}</div>
 +
     <div>[[Image:Icon_velocity.png|15x15px|link=]]{{#if: {{{maxvelocity|}}} |{{{maxvelocity}}} |0 m/s }}</div>
 +
     <div>[[Image:Icon_capacity.png|15x15px|link=]]{{#if: {{{cargohold|}}} |{{{cargohold}}} |0 m&#179; }}</div>
 
   </div>
 
   </div>
 
   </td>
 
   </td>

Revision as of 13:29, 11 February 2023

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