Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

From EVE University Wiki
m Working on {{ShipBoxLarge}}
m Coding and testing
Line 17: Line 17:
   float: left;
   float: left;
   margin-bottom: 10px;
   margin-bottom: 10px;
   width: 800px;
   /*width: 800px;*/
  }
  }


Line 84: Line 84:
   line-height: 14px;
   line-height: 14px;
   padding: 2px 5px;
   padding: 2px 5px;
  color: var(--color-inverted-fixed);
  }
  }


Line 158: Line 159:
  }
  }


.ShipBoxLarge p.ship-desc
.ShipBoxLarge p.ship-desc,
.ShipBoxLarge .ship-desc
  {
  {
   font-family: arial;
   font-family: arial;
Line 165: Line 167:
   padding: 5px 5px 0;
   padding: 5px 5px 0;
   text-align: justify;
   text-align: justify;
  color: red;
  }
  }


Line 215: Line 218:


}}<!-- Content -->
}}<!-- Content -->
<div class='ShipBoxLarge'>
<div ShipBoxLarge class='ShipBoxLarge'>


  <div class='ship-info'>
<div class='ship-info'>
<!-- 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>
     </div>
<!-- Title (Ship name) -->
     <div class='titlename' style='margin-bottom: 1em;'>[[{{{shipname|}}}]]</div>
 
<!-- Content -->
<!-- Content -->
    <table style='width: 100%;'>
  <div content style="clear: left; display: flex; flex-wrap: wrap">


      <tr>
    <div content-left style="padding: 5px;">
<!-- Content left: image and link -->
    <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#ifexist: File:{{{shipimg}}}
        <td style='padding: 5px; width: 256px; vertical-align: top;'>
 
          <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#ifexist: File:{{{shipimg}}}
                 | [[Image:{{{shipimg}}}|256x256px|{{{shipname|}}}]]
                 | [[Image:{{{shipimg}}}|256x256px|{{{shipname|}}}]]
                 | {{#if: {{{shipid|}}}
                 | {{#if: {{{shipid|}}}
                    | {{Imageserver|types|{{{shipid}}}|render|size=256}}
                  | {{Imageserver|types|{{{shipid}}}|render|size=256}}
                    | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} | Unknown Ship }} ]]
                  | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} | Unknown Ship }} ]]
                  }}
                  }}
               }}
               }}
             {{#if: {{{tech|}}} |<div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> }}  
             {{#if: {{{tech|}}} |<div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> }}
          </div>
    </div ship-img>
          <div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch: {{lc: {{{faction}}} }}
                | angel cartel= Logo_faction_angel_cartel.png
                | amarr empire= Logo_faction_amarr_empire.png
                | blood raiders= Logo_faction_the_blood_raider_covenant.png
                | caldari state= Logo_faction_caldari_state.png
                | concord= Logo_faction_concord_assembly.png
                | edencom= Logo_faction_edencom.png
                | gallente federation= Logo_faction_gallente_federation.png
                | guristas= Logo_faction_guristas_pirates.png
                | intaki syndicate= Logo faction the syndicate.png
                | interbus= Logo faction the interbus.png
                | jovian directorate= Logo faction jove empire.png
                | khanid kingdom= Logo_faction_khanid_kingdom.png
                | minmatar republic= Logo_faction_minmatar_republic.png
                | mordu's legion= Logo_faction_mordus_legion.png
                | outer ring excavations= Logo_faction_outer_ring_excavations.png
                | sansha's nation= Logo_faction_sanshas_nation.png
                | serpentis= Logo_faction_serpentis.png
                | sisters of eve= Logo_faction_sisters_of_eve.png
                | society of conscious thought= Logo_faction_the_society.png
                | triglavian collective= Logo_faction_triglavian_collective.png
                | #default= Helpicon.png
              }}|60x60px|{{#if: {{{faction|}}}
                  | {{{faction}}}
                  | Unknown Faction
                }}|link=]]
          </div>


<!-- Wiki links -->
<!-- Wiki links -->
Line 269: Line 244:
             <div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
             <div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
             <div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div>
             <div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div>
           </div>
           </div box-discussion>


<!--* External links *-->
<!--* External links *-->
          <div class='box-discussion'>
    <div class='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|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }}
                 | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }}
                   | shuttle=
                   | shuttle=
                   | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench]
                   | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench]
                }} <br>[https://janice.e-351.com/i/{{{shipid}}}/ {{{shipname|}}} on Janice]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref]
                  }} <br>[https://janice.e-351.com/i/{{{shipid}}}/ {{{shipname|}}} on Janice]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref]
               }}<br>{{{externallinks|}}}</div>
               }}<br>{{{externallinks|}}}
          </div>
      </div linkname>
    </div box-discussion>
  </div content-left>


        </td>
  <div content-right style="border-left: 1px solid #333333; max-width: 32em;">


<!-- Content right: data -->
        <td style='border-left: 1px solid #333333; padding: 5px 5px 5px 0; vertical-align: top;'>
<!-- Title (Ship name) -->
          <div class='titlename' style='margin-bottom: 1em;'>[[{{{shipname|}}}]]</div>
<!-- Ship attributes -->
<!-- Ship attributes -->
           <table class='attributes' style='margin-bottom: 5px; width: 100%;'>
           <table class='attributes' style='margin-bottom: 5px; width: 100%;'>
Line 418: Line 391:


<!-- 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'>
            <div class='label'>S H I P&nbsp;&nbsp;&nbsp;B O N U S E S</div>  
    <div class='label'>S H I P&nbsp;&nbsp;&nbsp;B O N U S E S</div>  
            <p>{{{bonuses}}}</p>
    <p>{{{bonuses}}}</p>
          </div>
    </div>


<!-- Ship description -->
<!-- Ship description -->
          <p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} |&nbsp;}}</p>
    <div class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} |&nbsp;}}</div>
<!--          <div class='ship-variants'>Variations : {{#if: {{{variations|}}} |{{{variations}}} |<i>none</i>}}</div>-->
        </td>
 
      </tr>
 
    </table>


   </div>
  </div content-right>
</div></includeonly>
   </div content>
</div ShipInfo>
</div ShipBoxLarge></includeonly>
<noinclude> {{documentation}} <!-- Please add categories and interwikis to the bottom of sub-page /doc, not here --></noinclude>
<noinclude> {{documentation}} <!-- Please add categories and interwikis to the bottom of sub-page /doc, not here --></noinclude>