More actions
m Coding and testing. |
m Remove middle from Image links as it is the default. |
||
| Line 8: | Line 8: | ||
<table cellspacing='0' cellpadding='0' style='width:100%;'> | <table cellspacing='0' cellpadding='0' style='width:100%;'> | ||
<tr> | <tr> | ||
<td class='left' style='padding: 0 5px 0 0;width: 80px; position: relative;'>{{#if:{{{tech|}}}|<div class='techcornersmall'>[[Image:CornerT{{{tech|2}}}s.png|link=]]</div>|}}[[Image:{{{shipimg|no-image.png}}}|80x80px | <td class='left' style='padding: 0 5px 0 0;width: 80px; position: relative;'>{{#if:{{{tech|}}}|<div class='techcornersmall'>[[Image:CornerT{{{tech|2}}}s.png|link=]]</div>|}}[[Image:{{{shipimg|no-image.png}}}|80x80px|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</td> | ||
<td> | <td> | ||
<div class='uniwiki-ship-tooltip-header'> | <div class='uniwiki-ship-tooltip-header'> | ||
| Line 15: | Line 15: | ||
</div> | </div> | ||
<div class='uniwiki-ship-tooltip-middle' style='padding-bottom: 5px;display:{{#if:{{{highlights1|}}}|block|none}}'> | <div class='uniwiki-ship-tooltip-middle' style='padding-bottom: 5px;display:{{#if:{{{highlights1|}}}|block|none}}'> | ||
<div class='tt-hl'>[[Image:Icon_highlights.png|10x10px | <div class='tt-hl'>[[Image:Icon_highlights.png|10x10px|highlights]]{{{highlights1|}}}</div> | ||
<div class='tt-hl' style='display:{{#if:{{{highlights2|}}}|block|none}}'>[[Image:Icon_highlights.png|10x10px | <div class='tt-hl' style='display:{{#if:{{{highlights2|}}}|block|none}}'>[[Image:Icon_highlights.png|10x10px|highlights]]{{{highlights2|}}}</div> | ||
<div class='tt-hl' style='display:{{#if:{{{highlights3|}}}|block|none}}'>[[Image:Icon_highlights.png|10x10px | <div class='tt-hl' style='display:{{#if:{{{highlights3|}}}|block|none}}'>[[Image:Icon_highlights.png|10x10px|highlights]]{{{highlights3|}}}</div> | ||
</div> | </div> | ||
<div class='uniwiki-ship-tooltip-bottom'> | <div class='uniwiki-ship-tooltip-bottom'> | ||
<div class='tt-att'>[[Image:icon_hi_slot.png|15x15px | <div class='tt-att'>[[Image:icon_hi_slot.png|15x15px|high slots]]{{{highs|0}}}<div style='display:inline;'>({{{launchers|0}}}/{{{turrets|0}}})</div></div> | ||
<div class='tt-att'>[[Image:icon_mid_slot.png|15x15px | <div class='tt-att'>[[Image:icon_mid_slot.png|15x15px|middle slots]]{{{mediums|0}}}</div> | ||
<div class='tt-att'>[[Image:icon_low_slot.png|15x15px | <div class='tt-att'>[[Image:icon_low_slot.png|15x15px|low slots]]{{{lows|0}}}</div> | ||
<div class='tt-att'>[[Image:icon_powergrid.png|15x15px | <div class='tt-att'>[[Image:icon_powergrid.png|15x15px|powergrid]]{{{powergrid|0 MW}}}</div> | ||
<div class='tt-att'>[[Image:icon_cpu.png|15x15px | <div class='tt-att'>[[Image:icon_cpu.png|15x15px|cpu output]]{{{cpu|0 tf}}}</div> | ||
<div class='tt-att'>[[Image:Icon_velocity.png|15x15px | <div class='tt-att'>[[Image:Icon_velocity.png|15x15px|max. velocity]]{{{maxvelocity|0 m/s}}}</div> | ||
<div class='tt-att'>[[Image:Icon_capacity.png|15x15px | <div class='tt-att'>[[Image:Icon_capacity.png|15x15px|cargo capacity]]{{{cargohold|0 m³}}}</div> | ||
</div> | </div> | ||
</td> | </td> | ||
Revision as of 12:42, 5 May 2022
Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)