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
mNo edit summary
Proton One (talk | contribs)
mNo edit summary
 
(95 intermediate revisions by 22 users not shown)
Line 1: Line 1:
{{#css:
<includeonly>{{#css:
<!--overrides-->
<!-- More CSS in MediaWiki:Common.css -->
#bodyContent
<!--***  overrides ***-->
{
#bodyContent
margin-top: -1.5em;
{
}
  margin-top: -1.5em;
#firstHeading
}
{
 
display: none;
#firstHeading
}
{
h1, h2
  display: none;
{
}
background-color: black;
 
border-bottom: 1px solid #2D2413;
h1, h2
border-top: 1px solid #2D2413;
{
clear: both;
  background-color: black;
font-family: trebuchet MS;
  border-bottom: 1px solid #2D2413;
font-variant: small-caps;
  border-top: 1px solid #2D2413;
height: 25px;
  clear: both;
line-height: 25px;
  font-family: trebuchet MS;
padding: 0 3px;
  font-variant: small-caps;
text-align: center;
  height: 25px;
}
  line-height: 25px;
h1 { color: darkorange; font-size: 140%; }
  padding: 0 3px;
h2 { color: white; font-size: 120%; }
  text-align: center;
h3 { border-bottom: 1px solid #2C2B2B; clear: both; font-size: 132%; }
}
 
.attributes
h1 { color: darkorange; font-size: 140%; }
{
h2 { color: white; font-size: 120%; }
background-color: transparent;
h3 { border-bottom: 1px solid #2C2B2B; clear: both; font-size: 132%; }
margin-left: 5px;
 
}
.attributes
.attributes h3
{
{
  background-color: transparent;
color: #494949;
  margin-left: 5px;
font-size: 12px;
}
font-variant: small-caps;
 
font-weight: normal;
.attributes h3
line-height: 100%;
{
text-align: right;
  color: #494949;
}
  font-size: 12px;
.attributes .token
  font-variant: small-caps;
{
  font-weight: normal;
  line-height: 100%;
}
  text-align: right;
.attributes .separator
}
{
 
height: 0;
.attributes .token
}
{
.att-line
 
{
}
font-size: 11px;
 
}
.attributes .separator
.attributes .token .line-label .label
{
{
  height: 0;
color: #494949;
}
font-size: 12px;
 
font-variant: small-caps;
.att-line
font-weight: normal;
{
line-height: 100%;
  font-size: 11px;
text-align: right;
}
}
 
.att-line .att-item
.attributes .token .line-label .label
{
{
display: inline-block;
  color: #494949;
margin-bottom: 3px;
  font-size: 12px;
padding: 1px 5px;
  font-variant: small-caps;
}
  font-weight: normal;
.att-line .highlight
  line-height: 100%;
{
  text-align: right;
color: white;
}
}
 
.att-line .att-item .item
.att-line .att-item
{
{
display: inline-block;
  display: inline-block;
height: 21px;
  margin-bottom: 3px;
line-height: 21px;
  padding: 1px 5px;
}
}
.att-line .att-item .snip
 
{
.att-line .highlight
color: #656565;
{
font-size: 70%;
  color: white;
margin-left: 5px;
}
position: relative;
 
}
.att-line .att-item .item
.att-line .att-item .snip .desc
{
{
  display: inline-block;
background-color: black;
  height: 21px;
border: 2px dashed #582806;
  line-height: 21px;
color: #CCCCCC;
}
display: none;
 
font-size: 11px;
.att-line .att-item .snip
line-height: 120%;
{
padding: 5px;
  color: #656565;
position: absolute;
  font-size: 70%;
right: 0;
  margin-left: 5px;
text-align: justify;
  position: relative;
width: 300px;
}
}
 
.att-line .att-item .snip:hover .desc, .att-line .att-item .snip.hover .desc
.att-line .att-item .snip .desc
{
{
display: block;
  background-color: black;
}
  border: 2px dashed #582806;
.att-line .att-item .att-img
  color: #CCCCCC;
{
  display: none;
line-height: 20px;
  font-size: 11px;
margin: 0 2px;
  line-height: 120%;
}
  padding: 5px;
.att-line .att-item .att-img img
  position: absolute;
{
  right: 0;
margin-top: -2px;
  text-align: justify;
}
  width: 300px;
.att-line .att-item .att-label
}
{
 
color: #7D6843;
.att-line .att-item .snip:hover .desc,
}
.att-line .att-item .snip.hover .desc
.box-resist {  
{
height: 15px;
  display: block;
line-height: 15px;
}
width: 50px;  
 
}  
.att-line .att-item .att-img
.bgr-em { background-color:#121923; }  
{
.bgr-thr { background-color:#290b0b; }  
  line-height: 20px;
.bgr-kin { background-color:#292021; }  
  margin: 0 2px;
.bgr-exp { background-color:#2b190b; }  
}
.val-em { background-color:#1c5d85; }
 
.val-thr { background-color:#8d1717; }  
.att-line .att-item .att-img img
.val-kin { background-color:#757575; }  
{
.val-exp { background-color:#875f1a; }
  margin-top: -2px;
.box-resist .resist-value .value-text
}
{
 
font-family: trebuchet MS;
.att-line .att-item .att-label
font-size: 11px;
{
font-weight: bold;
  color: #7D6843;
text-align: center;
}
width: 50px;
 
}
.box-resist
{
<!--overrides(end)-->
  height: 15px;
#ship-article .ignore a
  line-height: 15px;
{
  width: 50px;
background:none;
}
color:#4C4C4C;
 
}
<!--.bgr-em { background-color: #121923; }
#ship-article .ignore a:hover,
.bgr-thr { background-color: #290b0b; }
#ship-article .ignore a.hover
.bgr-kin { background-color: #292021; }
{
.bgr-exp { background-color: #2b190b; }-->
color:orange;
.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-line .midinfo .left .skillstime .desc
{
  background-color: var(--background-color-neutral);
  border: 2px dashed var(--border-color-base);
}
 
<!--***  overrides(end) ***-->
 
#ship-article .ignore a
{
  background: none;
  color: #4C4C4C;
}
 
#ship-article .ignore a:hover,
#ship-article .ignore a.hover
{
  color: orange;
}
 
.techcorner
{
  width: 64px;
  height: 64px;
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1px;
  margin-top: 1px;
}


.techcorner
{
width: 64px;
height: 64px;
position: absolute;
top: 0px;
left: 0px;
margin-left: 1px;
margin-top: 1px;
}
}}
}}
<div id='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'>{{{shipname|Unknown}}}</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:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]<span class='separator'>&#9656;</span>[[{{{shipname|Unknown}}}|{{{shipname|Unknown}}}]]</div>
</div>
<div class='main'>
 
<table cellspacing='0' cellpadding='0' style='width:100%'>
<!--####    breadcrumbs    ####-->
<tr>
<!--* Breadcrumbs *-->
<td valign='top' class='left-col'>
<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 style='
</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>
 
    <div class='box