Difference between revisions of "Template:ShipBoxTooltip"
From EVE University Wiki
(rebuild tooltip to accomodate the new tooltip tool) |
(Undo revision 30488 by Sarah schneider (talk)) |
||
Line 1: | Line 1: | ||
For usage guide please see [[Template:Ship|Ship Template]] | For usage guide please see [[Template:Ship|Ship Template]] | ||
<includeonly><onlyinclude>{{#css: | <includeonly><onlyinclude>{{#css: | ||
− | . | + | .ship-tooltip |
+ | { | ||
+ | font-size: 90%; | ||
+ | line-height: 110%; | ||
+ | width: 330px; | ||
+ | } | ||
+ | .ship-tooltip span | ||
+ | { | ||
+ | display: block; | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | .ship-tooltip .tt-left | ||
+ | { | ||
+ | display: inline-block; | ||
+ | margin-right: 5px; | ||
+ | width: 80px; | ||
+ | } | ||
+ | .ship-tooltip .tt-left img | ||
{ | { | ||
} | } | ||
− | . | + | .ship-tooltip .tt-right |
+ | { | ||
+ | display: inline-block; | ||
+ | width: 240px; | ||
+ | } | ||
+ | .ship-tooltip .tt-right .tt-header | ||
{ | { | ||
− | + | height: 20px; | |
+ | overflow: hidden; | ||
+ | width: 240px; | ||
} | } | ||
− | . | + | .ship-tooltip .tt-right .tt-header span, |
+ | .ship-tooltip .tt-right .tt-subheader span | ||
{ | { | ||
− | + | display: inline-block; | |
} | } | ||
− | . | + | .ship-tooltip .tt-right .tt-header .tt-shipname |
{ | { | ||
color: white; | color: white; | ||
Line 21: | Line 46: | ||
height: 20px; | height: 20px; | ||
line-height: 20px; | line-height: 20px; | ||
+ | width: 180px; | ||
+ | } | ||
+ | .ship-tooltip .tt-right .tt-header .tt-race | ||
+ | { | ||
+ | float: right; | ||
+ | height: 20px; | ||
+ | line-height: 25px; | ||
} | } | ||
− | . | + | .ship-tooltip .tt-right .tt-subheader .tt-grouping, |
+ | .ship-tooltip .tt-right .tt-subheader .tt-hulltype | ||
{ | { | ||
font-size: 11px; | font-size: 11px; | ||
Line 28: | Line 61: | ||
line-height: 10px; | line-height: 10px; | ||
} | } | ||
− | . | + | .ship-tooltip .tt-right .tt-contents |
{ | { | ||
− | + | border-top: 1px solid #272727; | |
+ | padding-top: 2px; | ||
} | } | ||
− | . | + | .ship-tooltip .tt-right .tt-contents .tt-contentsrow .tt-hl |
{ | { | ||
color: khaki; | color: khaki; | ||
+ | display: inline-block; | ||
font-size: 10px; | font-size: 10px; | ||
height: 10px; | height: 10px; | ||
line-height: 12px; | line-height: 12px; | ||
} | } | ||
− | . | + | .ship-tooltip .tt-right .tt-contents .tt-contentsrow .tt-hl a |
{ | { | ||
− | + | height: 10px; | |
+ | line-height: 10px; | ||
+ | margin-right: 2px; | ||
+ | vertical-align: top; | ||
} | } | ||
− | . | + | .ship-tooltip .tt-right .tt-contents .tt-contentsrow .tt-att |
{ | { | ||
color: #9E8F75; | color: #9E8F75; | ||
Line 56: | Line 94: | ||
{{Tooltip | {{Tooltip | ||
|1=[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]] | |1=[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]] | ||
− | |2=< | + | |2=<span class='ship-tooltip'> |
− | + | <span class='tt-left'>[[Image:{{{shipimg|no-image.png}}}|80x80px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</span> | |
− | + | <span class='tt-right'> | |
− | + | <span class='tt-header'> | |
− | + | <span class='tt-shipname'>{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}</span> | |
− | + | <span class='tt-race'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |#default=no-image.png}}|30x30px|middle|{{#if:{{{faction}}}|{{{faction|Unknown}}}|Unknown}}]]</span> | |
− | + | </span> | |
− | + | <span class='tt-subheader'> | |
− | + | <span class='tt-grouping'>[[:Category:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]</span> | |
− | < | + | <span class='tt-hulltype'>{{{hulltype|Unknown Class}}}</span> |
− | < | + | </span> |
− | + | <span class='tt-contents'> | |
− | + | <span class='tt-contentsrow' style='border-bottom: 1px solid #272727;padding-bottom: 2px;display:{{#if:{{{highlights1|}}}|block|none}}'> | |
− | </ | + | <span class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights1|}}}</span> |
− | < | + | </span> |
+ | <span class='tt-contentsrow'> | ||
<span class='tt-att'>[[Image:icon_hi_slot.png|15x15px|middle|high slots]]{{{highs|0}}}<span style='display:inline;'>({{{launchers|0}}}/{{{turrets|0}}})</span></span> | <span class='tt-att'>[[Image:icon_hi_slot.png|15x15px|middle|high slots]]{{{highs|0}}}<span style='display:inline;'>({{{launchers|0}}}/{{{turrets|0}}})</span></span> | ||
<span class='tt-att'>[[Image:icon_mid_slot.png|15x15px|middle|middle slots]]{{{mediums|0}}}</span> | <span class='tt-att'>[[Image:icon_mid_slot.png|15x15px|middle|middle slots]]{{{mediums|0}}}</span> | ||
Line 78: | Line 117: | ||
<span class='tt-att'>[[Image:Icon_velocity.png|15x15px|middle|max. velocity]]{{{maxvelocity|0 m/s}}}</span> | <span class='tt-att'>[[Image:Icon_velocity.png|15x15px|middle|max. velocity]]{{{maxvelocity|0 m/s}}}</span> | ||
<span class='tt-att'>[[Image:Icon_capacity.png|15x15px|middle|cargo capacity]]{{{cargohold|0 m³}}}</span> | <span class='tt-att'>[[Image:Icon_capacity.png|15x15px|middle|cargo capacity]]{{{cargohold|0 m³}}}</span> | ||
− | </ | + | </span> |
</span> | </span> | ||
− | + | </span> | |
− | </ | + | </span> |
− | </ | + | |3=1em |
− | + | |4=0 | |
}}</onlyinclude></includeonly>[[Category:Template]] | }}</onlyinclude></includeonly>[[Category:Template]] |
Revision as of 09:14, 3 November 2011
For usage guide please see Ship Template