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
 
(146 intermediate revisions by 27 users not shown)
Line 1: Line 1:
{{#css:
<includeonly>{{#css:
#bodyContent
<!-- More CSS in MediaWiki:Common.css -->
{
<!--***  overrides  ***-->
margin-top: -1.5em;
#bodyContent
}
{
#firstHeading
  margin-top: -1.5em;
{
}
display: none;
 
}
#firstHeading
.ship-article
{
{
  display: none;
}
}
 
.ship-article h2
h1, h2
{
{
border-bottom: medium none;
  background-color: black;
color: #555555;
  border-bottom: 1px solid #2D2413;
font-family: trebuchet MS;
  border-top: 1px solid #2D2413;
font-size: 14px;
  clear: both;
font-variant: small-caps;
  font-family: trebuchet MS;
padding: 0;
  font-variant: small-caps;
position: relative;
  height: 25px;
}
  line-height: 25px;
.ship-article h2 .mw-headline
  padding: 0 3px;
{
  text-align: center;
color: #656565;
}
display: inline-block;
 
font-size: 16px;
h1 { color: darkorange; font-size: 140%; }
padding: 0 5px;
h2 { color: white; font-size: 120%; }
}
h3 { border-bottom: 1px solid #2C2B2B; clear: both; font-size: 132%; }
.ship-article .header
 
{
.attributes
height: 50px;
{
padding: 0 10px;
  background-color: transparent;
position: relative;
  margin-left: 5px;
}
}
.ship-article .header .mask
 
{
.attributes h3
background-color: transparent;
{
height: 50px;
  color: #494949;
left: 0;
  font-size: 12px;
position: absolute;
  font-variant: small-caps;
top: 0;
  font-weight: normal;
width: 605px;
  line-height: 100%;
}
  text-align: right;
.ship-article .header .headerbg
}
{
 
margin-left: -10px;
.attributes .token
text-align: left;
{
width: 605px;
 
}
}
.ship-article .header .dbtitle
 
{
.attributes .separator
color: #C1B193;
{
font-family: trebuchet MS;
  height: 0;
font-size: 11px;
}
font-variant: small-caps;
 
font-weight: bold;
.att-line
line-height: 15px;
{
position: absolute;
  font-size: 11px;
top: 0;
}
}
 
.ship-article .header .shipname
.attributes .token .line-label .label
{
{
font-family: trebuchet MS;
  color: #494949;
font-size: 30px;
  font-size: 12px;
font-variant: small-caps;
  font-variant: small-caps;
font-weight: bold;
  font-weight: normal;
line-height: 30px;
  line-height: 100%;
position: absolute;
  text-align: right;
top: 17px;
}
}
 
.ship-article .toc, .ship-article #toc
.att-line .att-item
{
{
border: 1px solid #272727;
  display: inline-block;
float: right;
  margin-bottom: 3px;
margin: 0 0 5px 10px;
  padding: 1px 5px;
max-width: 200px;
}
}
 
.ship-article .toc ul
.att-line .highlight
{
{
  color: white;
}
}
.ship-article .toc li
 
{
.att-line .att-item .item
line-height: 15px;
{
margin-bottom: 0;
  display: inline-block;
}
  height: 21px;
.ship-article .toc a
  line-height: 21px;
{
}
color: #B89964;
 
font-size: 11px;
.att-line .att-item .snip
line-height: 15px;
{
}
  color: #656565;
.ship-article .breadcrumbs
  font-size: 70%;
{
  margin-left: 5px;
background-color: black;
  position: relative;
border-bottom: 1px solid #2D2413;
}
border-top: 1px solid #2D2413;
 
margin: 10px 0 5px;
.att-line .att-item .snip .desc
}
{
.ship-article .breadcrumbs .separator
  background-color: black;
{
  border: 2px dashed #582806;
  color: #CCCCCC;
}
  display: none;
.ship-article .breadcrumbs a
  font-size: 11px;
{
  line-height: 120%;
padding: 2px 5px;
  padding: 5px;
}
  position: absolute;
.ship-article .main
  right: 0;
{
  text-align: justify;
  width: 300px;
}
}
.ship-article .main .left-col
 
{
.att-line .att-item .snip:hover .desc,
background-color: #222222;
.att-line .att-item .snip.hover .desc
border-color: #272727 #151515 #151515 #272727;
{
border-style: solid;
  display: block;
border-width: 2px;
}
padding: 5px;
 
width: 256px;
.att-line .att-item .att-img
}
{
.ship-article .main .box-line
  line-height: 20px;
{
  margin: 0 2px;
padding: 0 10px;
}
}
 
.ship-article .main .box-attributes
.att-line .att-item .att-img img
{
{
background-color: black;
  margin-top: -2px;
border: 1px solid #272727;
}
display: inline-block;
 
margin-left: 10px;
.att-line .att-item .att-label
padding: 5px;
{
}
  color: #7D6843;
.ship-article .main .box-line p
}
{
 
text-align: justify;
.box-resist
}
{
.ship-article .main .box-line .att-line
  height: 15px;
{
  line-height: 15px;
border-bottom: 1px solid #2C2B2B;
  width: 50px;
padding: 3px 3px 0;
}
}
 
.ship-article .main .box-bonuses
<!--.bgr-em { background-color: #121923; }
{
.bgr-thr { background-color: #290b0b; }
background-color: black;
.bgr-kin { background-color: #292021; }
border: 1px solid #272727;
.bgr-exp { background-color: #2b190b; }-->
color: white;
.val-em { background-color: #1c5d85; }
display: inline-block;
.val-thr { background-color: #8d1717; }
margin: 0 10px;
.val-kin { background-color: #757575; }
position: relative;
.val-exp { background-color: #875f1a; }
}
 
.ship-article .main .box-bonuses .label
.box-resist .resist-value .value-text
{
{
background-color: #1A1A1A;
  font-family: trebuchet MS;
color: #656565;
  font-size: 11px;
font-family: trebuchet MS;
  font-weight: bold;
margin: 2px -8px;
  text-align: center;
padding: 0 5px;
  width: 50px;
}
}
.ship-article .main .box-info
 
{
#ship-article .main .box-line .midinfo .left .skillstime .desc
margin-top: 5px;
{
padding: 0;
  background-color: var(--background-color-neutral);
}
  border: 2px dashed var(--border-color-base);
.attributes
}
{
 
background-color: transparent;
<!--***  overrides(end)  ***-->
margin-left: 5px;
 
}
#ship-article .ignore a
.attributes h3
{
{
  background: none;
color: #494949;
  color: #4C4C4C;
font-size: 12px;
}
font-variant: small-caps;
 
font-weight: normal;
#ship-article .ignore a:hover,
line-height: 100%;
#ship-article .ignore a.hover
text-align: right;
{
}
  color: orange;
.attributes .token
}
{
 
.techcorner
}
{
.attributes .separator
  width: 64px;
{
  height: 64px;
height: 0;
  position: absolute;
}
  top: 0;
.att-line
  left: 0;
{
  margin-left: 1px;
font-size: 11px;
  margin-top: 1px;
}
}
.attributes .token .line-label .label
 
{
color: #494949;
font-size: 12px;
font-variant: small-caps;
font-weight: normal;
line-height: 100%;
text-align: right;
}
.att-line .att-item
{
display: inline-block;
margin-bottom: 3px;
padding: 1px 5px;
}
.att-line .highlight
{
color: white;
}
.att-line .att-item .item
{
display: inline-block;
height: 21px;
line-height: 21px;
}
.att-line .att-item .att-value
{
}
.att-line .att-item .att-img
{
line-height: 20px;
margin: 0 2px;
}
.att-line .att-item .att-img img
{
margin-top: -2px;
}
.att-line .att-item .att-label
{
color: #7D6843;
}
.box-resist {
height: 15px;
line-height: 15px;
width: 50px;
}
.bgr-em { background-color:#121923; }
.bgr-thr { background-color:#290b0b; }
.bgr-kin { background-color:#292021; }
.bgr-exp { background-color:#2b190b; }
.val-em { background-color:#1c5d85; }
.val-thr { background-color:#8d1717; }
.val-kin { background-color:#757575; }
.val-exp { background-color:#875f1a; }
.box-resist .resist-value .value-text
{
font-family: trebuchet MS;
font-size: 11px;
font-weight: bold;
text-align: center;
width: 50px;
}
.ship-article .main .box-info .ecm-info
{
background-color: transparent;
width: 100%;
}
.ship-article .main .box-info .ecm-info tr,.ship-article .main .box-info .ecm-info td
{
line-height: 110%;
vertical-align: middle;
}
.ship-article .main .box-info .ecm-info .faction-img
{
width: 60px;
}
.ship-article .main .box-info .ecm-info .faction
{
color: white;
font-family: helvetica;
font-size: 120%;
font-variant: small-caps;
font-weight: bold;
text-align: center;
vertical-align: bottom;
}
.ship-article .main .box-info .ecm-info .ecm-priority
{
background-color: black;
border: 1px solid #323931;
position: relative;
width: 70px;
}
.ship-article .main .box-info .ecm-info .ecm-priority:hover .ecm-desc,
.ship-article .main .box-info .ecm-info .ecm-priority.hover .ecm-desc
{
display: block;
}
.ship-article .main .box-info .ecm-info .ecm-priority .ecm-desc
{
background-color: black;
border: 2px dashed #582806;
display: none;
font-size: 80%;
left: 75px;
padding: 5px;
position: absolute;
top: -1px;
width: 300px;
}
.ship-article .main .box-info .ecm-info .ecm-priority .ecm-desc p
{
font-family: arial;
line-height: 110%;
margin: 0;
padding: 0;
text-align: left;
}
.ship-article .main .box-info .ecm-info .ecm-priority .label
{
background-color: #582806;
font-family: trebuchet MS;
font-size: 80%;
text-align: center;
}
.ship-article .main .box-info .ecm-info .ecm-priority .value
{
font-size: 32px;
line-height: 30px;
padding: 3px 0;
text-align: center;
}
.ship-article .main .box-info .ecm-info .ecm-priority .none { color:gray; }
.ship-article .main .box-info .ecm-info .ecm-priority .low { color:#9C6825; }
.ship-article .main .box-info .ecm-info .ecm-priority .normal { color:orange; }
.ship-article .main .box-info .ecm-info .ecm-priority .high { color:yellow; }
.ship-article .main .box-info .ecm-info .ecm-priority .veryhigh { color:red; }
.ship-article .main .box-info .ecm-info .hull-type
{
text-align: center;
}
.ship-article .main .box-info .ecm-info .sensor-type
{
font-size: 12px;
font-variant: small-caps;
text-align: center;
vertical-align: top;
}
.ship-article .main .box-info .ecm-info .type-gravimetric { color: #B2C4DA; }
.ship-article .main .box-info .ecm-info .type-magnetometric { color: #5AD3C9; }
.ship-article .main .box-info .ecm-info .type-ladar { color: #CD5B56; }
.ship-article .main .box-info .ecm-info .type-radar { color: #DCC69B; }
.ship-article .main .box-awards
{
margin-left: -6px;
margin-right: -6px;
padding: 5px 0;
position: relative;
}
.ship-article .main .box-awards .award
{
background-color: #1A1A1A;
border-color: #393734 black;
border-style: solid;
border-width: 1px;
margin-bottom: 2px;
padding: 2px 5px;
}
.ship-article .main .box-awards .award .award-img
{
display: inline-block;
}
.ship-article .main .box-awards .award .award-label
{
color: #B89964;
display: inline-block;
font-family: trebuchet MS;
font-size: 90%;
font-variant: small-caps;
height: 20px;
line-height: 20px;
}
.ship-article .main .box-awards .award .award-bgr
{
color: #4C4C4C;
float: right;
font-family: trebuchet MS;
font-size: 80%;
}
.ship-article .main .box-discussion
{
background-color: #1A1A1A;
border-color: #393734 black;
border-style: solid;
border-width: 1px;
margin-left: -6px;
margin-right: -6px;
margin-top: 5px;
padding: 5px;
}
.ship-article .main .box-discussion .discussion-bgr
{
color: #4C4C4C;
font-family: trebuchet MS;
font-size: 90%;
}
.ship-article .main .box-discussion .linkname
{
font-size: 11px;
line-height: 120%;
padding: 0 5px;
}
}}
}}
<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]]<span class='separator'>&#9656;</span>[[Drake|Drake]]</div>
</div>
<div class='main'>
 
<table cellspacing='0' cellpadding='0' style='width:100%'>
<!--####    breadcrumbs    ####-->
<tr>
<!--* Breadcrumbs *-->
<td valign='top'
<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