|
|
(813 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <includeonly><!-- {{#css:}} at the end
| + | <noinclude> |
− | -->{{Tooltip
| |
− | |1= {{#if: {{{shipname|}}}
| |
− | | [[{{{shipname}}}]]
| |
− | | parameter shipname missing.
| |
− | }}
| |
− | | |
− | |2= <div>
| |
− | <table class="sbtt">
| |
− | <tr>
| |
− | <td class="sbtt-image"><div class="sbtt-image">[[Image:{{#if: {{{shipimg|}}}
| |
− | | {{{shipimg}}}
| |
− | | No-image.png
| |
− | }}|80x80px|link=]]</div>{{#if:{{{tech|}}}
| |
− | |<div class="sbtt-techcornersmall">[[Image:CornerT{{{tech|2}}}s.png|link=]]</div>
| |
− | }}</td>
| |
− | <td>
| |
− | <div class="sbtt-header">
| |
− | <div class="sbtt-ship-name">{{{shipname|parameter missing}}}</div>
| |
− | <div class="sbtt-ship-category"><span class="sbtt-ship-group">{{{grouping|Unique Ships}}}</span> <span class="sbtt-ship-hull">{{{hulltype|Unknown Class}}}</span></div>
| |
− | </div>
| |
− | {{#if: {{{highlights1|}}}|
| |
− | <div class="sbtt-highlights">
| |
− | <div>[[Image:Icon_highlights.png|10x10px]]{{{highlights1|}}}</div><!--
| |
− | --> {{#if: {{{highlights2|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights2|}}}</div>}}<!--
| |
− | --> {{#if: {{{highlights3|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights3|}}}</div>}}<!--
| |
− | --> {{#if: {{{highlights4|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights4|}}}</div>}}
| |
− | </div>
| |
− | }}
| |
− | <div class="sbtt-attributes">
| |
− | <div>[[Image:icon_hi_slot.png|15x15px]]{{{highs|0}}}({{{launchers|0}}}/{{{turrets|0}}}) [[Image:icon_mid_slot.png|15x15px]]{{{mediums|0}}} [[Image:icon_low_slot.png|15x15px]]{{{lows|0}}}</div>
| |
− | <div>[[Image:icon_powergrid.png|15x15px]]{{{powergrid|0 MW}}} [[Image:icon_cpu.png|15x15px]]{{{cpu|0 tf}}}</div>
| |
− | <div>[[Image:Icon_velocity.png|15x15px]]{{{maxvelocity|0 m/s}}}</div>
| |
− | <div>[[Image:Icon_capacity.png|15x15px]]{{{cargohold|0 m³}}}</div>
| |
− | </div>
| |
− | </td>
| |
− | </tr>
| |
− | <tr><td>From draft</td></tr>
| |
− | </table>
| |
− | </div>
| |
− | }}<!--
| |
− | | |
− | -->{{#css:
| |
− | <!-- sbtt - ShipBoxTooltip -->
| |
− | | |
− | .sbtt {
| |
− | /* This is a container class
| |
− | to limit the accompanying classes
| |
− | to only work within an element with this class */
| |
− | }
| |
− | | |
− | /* *** Ship image *** */
| |
− | .sbtt td.sbtt-image {
| |
− | position: relative;
| |
− | padding-right: 5px;
| |
− | vertical-align: top;
| |
− | }
| |
− | | |
− | .sbtt div.sbtt-image {
| |
− | position: relative;
| |
− | /* top: 2px; */
| |
− | }
| |
− | | |
− | .sbtt .sbtt-image img {
| |
− | border: 1px solid red /* #272727 */;
| |
− | }
| |
− | | |
− | .sbtt .sbtt-techcornersmall {
| |
− | position: absolute;
| |
− | top: 1px;
| |
− | left: 1px;
| |
− | }
| |
− | | |
− | /* *** Header *** */
| |
− | .sbtt .sbtt-header {
| |
− | margin-bottom: 5px;
| |
− | border-bottom: 1px solid #272727;
| |
− | padding-bottom: 5px;
| |
− | text-align: center;
| |
− | }
| |
− | | |
− | .sbtt .sbtt-ship-name {
| |
− | display: block;
| |
− | height: 20px;
| |
− | white-space: nowrap;
| |
− | color: white;
| |
− | font: small-caps 16px/15px trebuchet MS;
| |
− | }
| |
− | | |
− | .sbtt .sbtt-ship-category {
| |
− | font-size: 11px;
| |
− | line-height: 10px;
| |
− | }
| |
− | | |
− | .sbtt .sbtt-ship-group {
| |
− | white-space: nowrap;
| |
− | color: orange;
| |
− | }
| |
− | | |
− | .sbtt .sbtt-ship-hull {
| |
− | white-space: nowrap;
| |
− | }
| |
− | | |
− | /* *** Highlights *** */
| |
− | .sbtt .sbtt-highlights {
| |
− | padding-bottom: 5px;
| |
− | }
| |
− | | |
− | .sbtt .sbtt-highlights div {
| |
− | height: 10px;
| |
− | color: khaki;
| |
− | font-size: 10px;
| |
− | line-height: 12px;
| |
− | }
| |
− | | |
− | /* *** Attributes *** */
| |
− | .sbtt div.sbtt-attributes {
| |
− | float: left;
| |
− | width: 170px;
| |
− | }
| |
− | | |
− | .sbtt .sbtt-attributes div {
| |
− | float: left;
| |
− | margin-right: 3px;
| |
− | padding-right: 3px;
| |
− | height: 13px;
| |
− | white-space: nowrap;
| |
− | color: #9E8F75;
| |
− | font-size: 10px;
| |
− | line-height: 15px;
| |
− | }
| |
− | | |
− | }}</includeonly><noinclude>
| |
| {{documentation}} | | {{documentation}} |
| </noinclude> | | </noinclude> |