More actions
m Split classes uniwiki-ship-tooltip table, tr and td for analysis purpose. |
m Remove cellpadding, deprecated use css padding. Remove cellspacing, deprecated. Move inline css width to class. |
||
| Line 2: | Line 2: | ||
.uniwiki-ship-tooltip table { | .uniwiki-ship-tooltip table { | ||
background-color: transparent; | width: 100%; | ||
background-color: transparent; | |||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.uniwiki-ship-tooltip tr { | .uniwiki-ship-tooltip tr { | ||
background-color: transparent; | background-color: transparent; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.uniwiki-ship-tooltip td { | .uniwiki-ship-tooltip td { | ||
background-color: transparent; | background-color: transparent; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
| Line 107: | Line 108: | ||
}} | }} | ||
|2=<div class='uniwiki-ship-tooltip'> | |2=<div class='uniwiki-ship-tooltip sbtt'> | ||
<table | <table> | ||
<tr> | <tr> | ||
<td class="sbtt-image">[[Image:{{#if:{{{shipimg|}}} | <td class="sbtt-image">[[Image:{{#if:{{{shipimg|}}} | ||
Revision as of 13:09, 18 May 2022
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.
| 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?)