Difference between revisions of "Template:ShipBoxTooltip"
From EVE University Wiki
Line 81: | Line 81: | ||
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> | + | }}{{#switch: {{{mode}}} |
+ | |nodata=no data available | ||
+ | |<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> | ||
Line 123: | Line 125: | ||
</span> | </span> | ||
</span> | </span> | ||
− | </span> | + | </span>}} |