More actions
m Coding and testing. |
m Restart process. |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{Tooltip | For usage guide please see [[Template:Ship|Ship Template]] | ||
<includeonly><onlyinclude>{{#css: | |||
.uniwiki-ship-tooltip table, .uniwiki-ship-tooltip tr, .uniwiki-ship-tooltip td | |||
{ | |||
background-color: transparent; | |||
margin: 0; padding: 0; | |||
vertical-align: top; | |||
} | |||
.uniwiki-ship-tooltip .left a img | |||
{ | |||
border: 1px solid #272727; | |||
} | |||
.uniwiki-ship-tooltip-header | |||
{ | |||
border-bottom: 1px solid #272727; | |||
margin-bottom: 5px; | |||
padding-bottom: 5px; | |||
text-align: center; | |||
} | |||
.uniwiki-ship-tooltip-header .tooltip-header-shipname | |||
{ | |||
color: white; | |||
font-family: trebuchet MS; | |||
font-size: 16px; | |||
font-variant: small-caps; | |||
height: 20px; | |||
line-height: 15px; | |||
} | |||
.uniwiki-ship-tooltip-header .tooltip-header-category | |||
{ | |||
font-size: 11px; | |||
height: 10px; | |||
line-height: 10px; | |||
} | |||
.uniwiki-ship-tooltip-middle .tt-hl | |||
{ | |||
color: khaki; | |||
font-size: 10px; | |||
height: 10px; | |||
line-height: 12px; | |||
} | |||
.uniwiki-ship-tooltip-bottom | |||
{ | |||
float: left; | |||
width: 170px; | |||
} | |||
.uniwiki-ship-tooltip-bottom .tt-att | |||
{ | |||
color: #9E8F75; | |||
display: inline-block; | |||
font-size: 10px; | |||
float:left; | |||
height: 13px; | |||
line-height: 15px; | |||
margin-right: 3px; | |||
padding-right: 3px; | |||
} | |||
.techcornersmall | |||
{ | |||
width: 64px; | |||
height: 64px; | |||
position: absolute; | |||
top: 0px; | |||
left: 0px; | |||
margin-left: 2px; | |||
margin-top: 0px; | |||
} | |||
}} | |||
{{Tooltip | |||
|1=[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]] | |1=[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]] | ||
|2=<div class='uniwiki-ship-tooltip'> | |2=<div class='uniwiki-ship-tooltip'> | ||
<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|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</td> | <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|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</td> | ||
| Line 29: | Line 96: | ||
</table> | </table> | ||
</div> | </div> | ||
}} | }}</onlyinclude></includeonly><noinclude> | ||
</onlyinclude></includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 17:32, 1 May 2022
For usage guide please see Ship Template
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?)