Difference between revisions of "Template:ShipBoxTooltip"
From EVE University Wiki
Line 1: | Line 1: | ||
− | {{#css: | + | {{#switch: {{{mode}}} |
+ | |nodata=no data available | ||
+ | |#default={{#css: | ||
.tooltip-frame{ | .tooltip-frame{ | ||
position:relative; /*this is the key*/ | position:relative; /*this is the key*/ | ||
Line 81: | Line 83: | ||
z-index: 100; | z-index: 100; | ||
} | } | ||
− | }} | + | }}<span class='tooltip-frame'>{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}<span style='margin-left: 3px; font-size: 60%; color: yellow;'>↓</span> |
− | |||
− | |||
<span class='inner-snippet ship-info' style='width: 410px;'> | <span class='inner-snippet ship-info' style='width: 410px;'> | ||
<span class='left' style='background-color: black; padding: 4px 0pt 4px 4px; width: 73px;'><span class='att-img'>{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg}}}|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]|[[Image:no-image.png|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</span><span class='suppresslink'> </span></span> | <span class='left' style='background-color: black; padding: 4px 0pt 4px 4px; width: 73px;'><span class='att-img'>{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg}}}|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]|[[Image:no-image.png|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</span><span class='suppresslink'> </span></span> |