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

Template:ShipArticle: Difference between revisions

Template page
No edit summary
Proton One (talk | contribs)
mNo edit summary
 
(159 intermediate revisions by 27 users not shown)
Line 1: Line 1:
{{#css:
<includeonly>{{#css:
.ship-article
<!-- More CSS in MediaWiki:Common.css -->
{
<!--***  overrides  ***-->
#bodyContent
}
{
.ship-article h2
  margin-top: -1.5em;
{
}
border-bottom: medium none;
 
color: #555555;
#firstHeading
font-family: trebuchet MS;
{
font-size: 14px;
  display: none;
font-variant: small-caps;
}
line-height: 20px;
 
margin: 10px 0 5px -10px;
h1, h2
padding: 0;
{
position: relative;
  background-color: black;
}
  border-bottom: 1px solid #2D2413;
.ship-article h2 .mw-headline
  border-top: 1px solid #2D2413;
{
  clear: both;
color: #A26F4C;
  font-family: trebuchet MS;
display: inline-block;
  font-variant: small-caps;
font-size: 18px;
  height: 25px;
padding: 0 5px;
  line-height: 25px;
}
  padding: 0 3px;
.ship-article .header
  text-align: center;
{
}
height: 50px;
 
padding: 0 10px;
h1 { color: darkorange; font-size: 140%; }
position: relative;
h2 { color: white; font-size: 120%; }
}
h3 { border-bottom: 1px solid #2C2B2B; clear: both; font-size: 132%; }
.ship-article .header .mask
 
{
.attributes
background-color: transparent;
{
height: 50px;
  background-color: transparent;
left: 0;
  margin-left: 5px;
position: absolute;
}
top: 0;
 
width: 605px;
.attributes h3
}
{
.ship-article .header .headerbg
  color: #494949;
{
  font-size: 12px;
margin-left: -10px;
  font-variant: small-caps;
text-align: left;
  font-weight: normal;
width: 605px;
  line-height: 100%;
}
  text-align: right;
.ship-article .header .dbtitle
}
{
 
color: #C1B193;
.attributes .token
font-family: trebuchet MS;
{
font-size: 11px;
 
font-variant: small-caps;
}
font-weight: bold;
 
line-height: 15px;
.attributes .separator
position: absolute;
{
top: 0;
  height: 0;
}
}
.ship-article .header .shipname
 
{
.att-line
font-family: trebuchet MS;
{
font-size: 30px;
  font-size: 11px;
font-variant: small-caps;
}
font-weight: bold;
 
line-height: 30px;
.attributes .token .line-label .label
position: absolute;
{
top: 17px;
  color: #494949;
}
  font-size: 12px;
.ship-article .toc
  font-variant: small-caps;
{
  font-weight: normal;
float: right;
  line-height: 100%;
margin: 0 0 5px 10px;
  text-align: right;
}
}
.ship-article .breadcrumbs
 
{
.att-line .att-item
margin: 10px 0 5px;
{
}
  display: inline-block;
.ship-article .breadcrumbs .separator
  margin-bottom: 3px;
{
  padding: 1px 5px;
}
}
 
.ship-article .breadcrumbs a
.att-line .highlight
{
{
padding: 2px 5px;
  color: white;
}
}
.ship-article .main
 
{
.att-line .att-item .item
{
}
  display: inline-block;
.ship-article .main .box-line
  height: 21px;
{
  line-height: 21px;
padding: 0 10px;
}
}
 
.ship-article .main .box-line p
.att-line .att-item .snip
{
{
text-align: justify;
  color: #656565;
}
  font-size: 70%;
.ship-article .main .box-line .att-line
  margin-left: 5px;
{
  position: relative;
border-bottom: 1px solid #494949;
}
padding: 3px 3px 0;
 
}
.att-line .att-item .snip .desc
.ship-article .main .box-bonuses
{
{
  background-color: black;
color: white;
  border: 2px dashed #582806;
display: inline-block;
  color: #CCCCCC;
margin: 0 10px;
  display: none;
position: relative;
  font-size: 11px;
}
  line-height: 120%;
.attributes
  padding: 5px;
{
  position: absolute;
  right: 0;
}
  text-align: justify;
.attributes h3
  width: 300px;
{
}
color: #494949;
 
font-size: 12px;
.att-line .att-item .snip:hover .desc,
font-variant: small-caps;
.att-line .att-item .snip.hover .desc
font-weight: normal;
{
line-height: 100%;
  display: block;
text-align: right;
}
}
 
.attributes .token
.att-line .att-item .att-img
{
{
  line-height: 20px;
}
  margin: 0 2px;
.attributes .separator
}
{
 
height: 0;
.att-line .att-item .att-img img
}
{
.att-line
  margin-top: -2px;
{
}
font-size: 11px;
 
}
.att-line .att-item .att-label
.attributes .token .line-label
{
{
  color: #7D6843;
}
}
 
.att-line .att-item
.box-resist
{
{
display: inline-block;
  height: 15px;
margin-bottom: 3px;
  line-height: 15px;
padding: 1px 5px;
  width: 50px;
}
}
.att-line .highlight
 
{
<!--.bgr-em { background-color: #121923; }
color: white;
.bgr-thr { background-color: #290b0b; }
}
.bgr-kin { background-color: #292021; }
.att-line .att-item .item
.bgr-exp { background-color: #2b190b; }-->
{
.val-em { background-color: #1c5d85; }
display: inline-block;
.val-thr { background-color: #8d1717; }
height: 21px;
.val-kin { background-color: #757575; }
line-height: 21px;
.val-exp { background-color: #875f1a; }
}
 
.att-line .att-item .att-value
.box-resist .resist-value .value-text
{
{
  font-family: trebuchet MS;
}
  font-size: 11px;
.att-line .att-item .att-img
  font-weight: bold;
{
  text-align: center;
line-height: 20px;
  width: 50px;
margin: 0 2px;
}
}
 
.att-line .att-item .att-img img
#ship-article .main .box-line .midinfo .left .skillstime .desc
{
{
margin-top: -2px;
  background-color: var(--background-color-neutral);
}
  border: 2px dashed var(--border-color-base);
.att-line .att-item .att-label
}
{
 
color: #7D6843;
<!--***  overrides(end)  ***-->
}
 
.box-resist {  
#ship-article .ignore a
height: 15px;
{
line-height: 15px;
  background: none;
width: 50px;  
  color: #4C4C4C;
}  
}
.bgr-em { background-color:#121923; }  
 
.bgr-thr { background-color:#290b0b; }  
#ship-article .ignore a:hover,
.bgr-kin { background-color:#292021; }  
#ship-article .ignore a.hover
.bgr-exp { background-color:#2b190b; }  
{
.val-em { background-color:#1c5d85; }
  color: orange;
.val-thr { background-color:#8d1717; }  
}
.val-kin { background-color:#757575; }  
 
.val-exp { background-color:#875f1a; }
.techcorner
.box-resist .resist-value .value-text
{
{
  width: 64px;
font-family: trebuchet MS;
  height: 64px;
font-size: 11px;
  position: absolute;
font-weight: bold;
  top: 0;
text-align: center;
  left: 0;
width: 50px;
  margin-left: 1px;
}
  margin-top: 1px;
}
 
}}
}}
<div class='ship-article'>
<div id='ship-article'>
<div class='header'>
<!--####    Header    #####-->
<div class='headerbg'>[[Image:Eve_university_dbase_header.png|center|605x50px|Eve University Database]]</div>
<div class='header'>
<div class='mask'>&nbsp;</div>
  <div class='headerbg'>[[Image:Eve_university_dbase_header.png|605x50px|EVE University Database]]</div>
<div class='dbtitle'>Ship Database</div>
  <div class='mask'>&nbsp;</div>
<div class='shipname'>Drake</div>
  <div class='dbtitle'>Ship Database</div>
</div>
  <div class='shipname' style="color: white;">{{#if: {{{shipname|}}} |{{{shipname}}} |{{Co|var(--color-error)|! shipname missing !}} }}</div>
<div class='breadcrumbs'>[[:Category:Database|Database]]<span class='separator'>&#9656;</span>[[:Category:Ship Database|Ship Database]]<span class='separator'>&#9656;</span>[[:Category:Battlecruiser|Battlecruiser]]</div>
</div>
<div class='main'>
 
<table cellspacing='0'
<!--####    breadcrumbs    ####-->
<!--* Breadcrumbs *-->
<div class='breadcrumbs' style="background-color: transparent;">[[:Category:Ship Database|Ship Database]]<span class='separator'>&#9656;</span>{{#if: {{{grouping|}}} |[[:Category:{{{grouping}}}|{{{grouping}}}]] |{{Co|var(--color-error)|! grouping missing !}} }}<span class='separator'>&#9656;</span>{{#if: {{{shipname|}}} | [[{{{shipname}}}]] }}
</div>
 
<!--#####    Main    ####-->
<div class='main'>
  <table cellspacing='0' cellpadding='0' style='width: 100%'>
  <tr>
 
<!--***************
***  Main left  ***
*******************-->
    <td valign='top' class='left-col'>
 
<!--* Ship image block *-->
    <div style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}}
      | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
      }}{{#ifexist: File:{{{shipimg}}}
        | [[Image:{{{shipimg}}}|center|link= |256x256px|{{{shipname|}}}]]
        | {{#if: {{{shipid|}}}
          | {{Imageserver|types|{{{shipid}}}|render|size=256}}
          | [[Image:no-image.png|center|link= |256x256px|{{{shipname|}}}]]
          }}
        }}
    </div