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

Template:ShipBoxLarge: Difference between revisions

Template page
Remove option to collapse ship data block.
m Remove forum links and associated CSS. Add wiki and external links and associated CSS. Change image. Remove CSS for collapse option (previously removed).
Line 14: Line 14:
  }
  }


.ship-info table { background-color: transparent; }
.ship-info table
{
  background-color: transparent;
}


.ship-info table,
.ship-info table,
Line 96: Line 99:
  }
  }


.bgr-em { background-color: #121923; }
.bgr-em { background-color: #121923; }
.bgr-thr { background-color: #290b0b; }
.bgr-thr { background-color: #290b0b; }
.bgr-kin { background-color: #292021; }
.bgr-kin { background-color: #292021; }
.bgr-exp { background-color: #2b190b; }
.bgr-exp { background-color: #2b190b; }
.val-em { background-color: #1c5d85; }
.val-em { background-color: #1c5d85; }
.val-thr { background-color: #8d1717; }
.val-thr { background-color: #8d1717; }
.val-kin { background-color: #757575; }
.val-kin { background-color: #757575; }
Line 142: Line 145:
   margin-right: 2px;
   margin-right: 2px;
  }
  }
 
 
.attributes .res-boxes .att-item .att-img
.attributes .res-boxes .att-item .att-img
  {
  {
   margin-right: 0;
   margin-right: 0;
  }
  }
 
 
.attributes .att-line .att-item .att-label
.attributes .att-line .att-item .att-label
  {
  {
Line 153: Line 156:
   display: inline-block;
   display: inline-block;
  }
  }
 
 
.attributes .att-line .att-item .att-value
.attributes .att-line .att-item .att-value
  {
  {
Line 162: Line 165:
   width: 10px;
   width: 10px;
  }
  }
 
 
.attributes th
{
  float: right;
  font-size: 10px;
  height: 15px;
  line-height: 15px;
}
 
.attributes .collapseButton
{
  color: transparent;
  float: left;
  margin-left: -6px;
}
 
.attributes .collapseButton a
{
  border-color: #444A42 #000000;
  border-style: solid;
  border-width: 1px;
  color: transparent;
  margin-top: -1px;
  position: absolute;
  width: 100px;
}
 
.attributes .collapseButton a:hover,
.attributes .collapseButton a.hover
{
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
  border-right: 1px solid #444A42;
  border-left: 1px solid #444A42;
}
 
.ship-info p.ship-desc
.ship-info p.ship-desc
  {
  {
Line 206: Line 174:
   text-align: justify;
   text-align: justify;
  }
  }
 
 
.ship-info .box-footer
.ship-info .box-footer
  {
  {
Line 215: Line 183:
   text-align: right;
   text-align: right;
  }
  }
 
 
#content .ship-info .box-footer a
#content .ship-info .box-footer a
  {
  {
Line 222: Line 190:
   padding: 5px;
   padding: 5px;
  }
  }
 
 
#content .ship-info .box-footer a:hover,
#content .ship-info .box-footer a:hover,
#content .ship-info .box-footer a.hover
#content .ship-info .box-footer a.hover
Line 229: Line 197:
   text-decoration: none;
   text-decoration: none;
  }
  }
 
 
.ship-info .ship-variants
.ship-info .ship-variants
  {
  {
Line 238: Line 206:
   line-height: 20px;
   line-height: 20px;
   margin: 0 5px 5px;
   margin: 0 5px 5px;
}
 
.ship-info .forum-link
{
  background-color: #110809;
  border: 1px solid #323931;
  display: block;
  float: left;
  margin-top: 5px;
  padding: 5px;
  width: 248px;
}
 
.ship-info .forum-link .linkentry
{
  display: inline-block;
  line-height: 15px;
}
 
.ship-info .forum-link .linkentry .linkimg
{
  display: inline-block;
  height: 15px;
  width: 20px;
}
 
.ship-info .forum-link .linkentry .linkname
{
  display: inline;
}
 
.ship-info .forum-link .linkentry a
{
  display: inline;
  font-size: 11px;
  }
  }


#content .ship-info .forum-link .linkentry a.external
{
  background: none repeat scroll 0 0 transparent;
  color: #9E9E9E;
  padding: 0;
}
 
#content .ship-info .forum-link .linkentry a.external.hover,
#content .ship-info .forum-link .linkentry a.external:hover
{
  background-color: #393939;
  text-decoration: none;
  color: orange;
}
 
.techcorner
.techcorner
  {
  {
Line 301: Line 219:
  }
  }
    
    
.ship-info .box-discussion
{
  margin-left: -6px;
  margin-right: -6px;
  margin-top: 5px;
  border-color: #393734 black;
  border-style: solid;
  border-width: 1px;
  padding: 5px;
  background-color: #1A1A1A;
}
.ship-info .box-discussion .discussion-bgr
{
  color: #4C4C4C;
  font-family: trebuchet MS;
  font-size: 90%;
}
.ship-info .box-discussion .linkname
{
  font-size: 11px;
  line-height: 120%;
  padding: 0 5px;
}
}}<!-- Content -->
}}<!-- Content -->
<div style='float: left; clear: both; width: 100%'>
<div style='float: left; clear: both; width: 100%'>
Line 311: Line 255:
     </div>
     </div>
<!-- Content -->
<!-- Content -->
     <table style='width:100%;'>
     <table style='width: 100%;'>


       <tr>
       <tr>
<!-- Content left: image and link -->
<!-- Content left: image and link -->
         <td style='padding: 5px; width: 256px;' valign='top'>
         <td style='padding: 5px; width: 256px; vertical-align: top;'>
           <div style='border: 1px solid #323931; position: relative;' class='ship-img'>{{#if: {{{tech|}}}
 
           <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}}
             | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
             | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
             |
             |
Line 347: Line 292:
                 | sansha's nation= Logo_faction_sanshas_nation.png
                 | sansha's nation= Logo_faction_sanshas_nation.png
                 | serpentis= Logo_faction_serpentis.png
                 | serpentis= Logo_faction_serpentis.png
                 | sisters of eve =Logo_faction_sisters_of_eve.png
                 | sisters of eve= Logo_faction_sisters_of_eve.png
                 | society of conscious thought =Logo_faction_the_society.png
                 | society of conscious thought= Logo_faction_the_society.png
                 | triglavian collective= Logo_faction_triglavian_collective.png
                 | triglavian collective= Logo_faction_triglavian_collective.png
                 | #default= no-image.png
                 | #default= Helpicon.png
               }}|60x60px|{{#if: {{{faction|}}}
               }}|60x60px|{{#if: {{{faction|}}}
                   | {{{faction}}}
                   | {{{faction}}}
Line 356: Line 301:
                 }}]]</div>
                 }}]]</div>


           <div style='display: {{#ifexist: File:{{{shipimg}}} |none |block}}; text-align: center;' class='forum-link'>
           <div class='box-discussion' style='display: {{#ifexist: File:{{{shipimg}}} |none |block}}; text-align: center;'>
             <div class='linkentry'>
             <div class='linkname'>{{#if: {{{shipimg|}}}
              <div class='linkname' style='font-weight: bold;'>{{#if: {{{shipimg|}}}
                | [[File:{{{shipimg}}}| Upload {{{shipimg}}} for this ships image.]]
                  | [[File:{{{shipimg}}}| Upload {{{shipimg}}} for this ships image.]]
                | Please upload an image for this ship and edit the respective entry on the ship database, see "editing database entry" [[Template:Ship|here]].
                  | <span style='font-weight: normal; font-size: 11px; line-height: 120%;'>Please upload an image for this ship and edit the respective entry on the ship database, see "editing database entry" [[Template:Ship|here]].</span>
                }}
                  }}</div>
             </div>
             </div>
          </div>
<!-- Wiki links -->
          <div class='box-discussion'>
            <div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div>
            <div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div>
           </div>
           </div>


          <div class='forum-link'>
<!--* External links *-->
            <div class='linkentry'>
          <div class='box-discussion'>
               <div class='linkimg'>[[Image:Icon_capacity.png|20px|forum discussion]]</div>
               <div class='discussion-bgr'>EXTERNAL LINKS</div>
              <div style='display: inline-block; font-size: 10px;'>Forum Discussions :</div>
               <div class='linkname'>{{#if: {{{shipid|}}}
               <div class='linkname'>[https://forum.eveuniversity.org/search.php?keywords={{urlencode:{{{shipname|}}}}}&terms=all&author=&fid%5B%5D=129&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search PvP Forums], [https://forum.eveuniversity.org/search.php?keywords={{urlencode:{{{shipname|}}}}}&terms=all&author=&fid%5B%5D=128&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search PvE Forums]</div>
                | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }}
            </div>
                  | shuttle=
                  | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench]
                }} <br>[https://evepraisal.com/item/{{{shipid}}}/ {{{shipname|}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref]
              }}<br>{{{externallinks|}}}</div>
           </div>
           </div>
         </td>
         </td>
<!-- Content right: data -->
<!-- Content right: data -->
         <td style='padding: 5px 5px 5px 0; border-left: 1px solid #333333' valign='top'>
         <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>
           <div class='titlename' style='margin-bottom: 1em;'>[[{{{shipname|}}}]]</div>
 
<!-- Ship attributes -->
           <table class='attributes' style='width: 100%; margin-bottom: 5px;'>
           <table class='attributes' style='margin-bottom: 5px; width: 100%;'>


             <tr>
             <tr>
               <td>
               <td>
                 <div style='background-color: #191E18; border: 1px solid #323931;'>
                 <div style='border: 1px solid #323931; background-color: #191E18;'>
                   <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 489: Line 442:


           </table>
           </table>
 
<!-- 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'><div class='inner'>S H I P&nbsp;&nbsp;&nbsp;B O N U S E S</div></div>  
             <div class='label'><div class='inner'>S H I P&nbsp;&nbsp;&nbsp;B O N U S E S</div></div>  
             <p>{{#if: {{{bonuses|}}} |{{{bonuses}}} |<i>no bonuses available for this ship</i>}}</p>
             <p>{{#if: {{{bonuses|}}} |{{{bonuses}}} |<i>no bonuses available for this ship</i>}}</p>
           </div>
           </div>
<!-- Ship description -->
           <p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} |&nbsp;}}</p>
           <p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} |&nbsp;}}</p>
          <!--<div class='ship-variants'>Variations : {{#if: {{{variations|}}} |{{{variations}}} |<i>none</i>}}</div>-->
<!--         <div class='ship-variants'>Variations : {{#if: {{{variations|}}} |{{{variations}}} |<i>none</i>}}</div>-->
           <div class='box-footer'>[[{{{shipname|}}}]] =></div>
           <div class='box-footer'>[[{{{shipname|}}}]] =></div>
         </td>
         </td>