Difference between revisions of "Template:ShipBoxTooltip"
From EVE University Wiki
m |
m (Reformat source. Cleanup {{#css:}}, reduce indent, put every selector on its own line, put every property on its own line.) |
||
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: | ||
− | + | ||
− | + | .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 | {{Tooltip |
Revision as of 11:05, 12 May 2022
For usage guide please see Ship Template
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- Creates a tooltip with a subset of the ships stats.
- Dependencies
-
- Uses
- {{Tooltip}}
- {{Imageserver}} When no local image of ship is available and shipid is known.
- Part of the parameter set of
{{ShipArticle}}
- Syntax
- ShipBoxTooltip is not to be used on its own. It is to be called by using the wrapper template
{{Ship}}
- Template set
- {{ShipArticle}}
- {{Ship}}
- {{ShipBoxLarge}}
- {{ShipBoxTooltip}}
- Sample
gives...Some text {{Ship|Megathron Navy Issue}} more text.
Bug: | There is a problem with the presentation of the result. See Template talk:ShipBoxTooltip |
Visit Template:ShipBoxTooltip/doc to edit this text! (How does this work?) (Refresh this text - why?)