Difference between revisions of "Template:ShipBoxTooltip"
From EVE University Wiki
m (Add nowrap tp .sbtt-ship-group, so wrapping occurs between .sbtt-ship-group and .sbtt-ship-hull.) |
m (Remove margin-right: in .sbtt-ship-group.) |
||
Line 43: | Line 43: | ||
.sbtt-ship-group { | .sbtt-ship-group { | ||
− | |||
white-space: nowrap; | white-space: nowrap; | ||
color: orange; | color: orange; | ||
Line 96: | Line 95: | ||
<div class='uniwiki-ship-tooltip-header'> | <div class='uniwiki-ship-tooltip-header'> | ||
<div class="sbtt-ship-name">{{{shipname}}}</div> | <div class="sbtt-ship-name">{{{shipname}}}</div> | ||
− | <div class="sbtt-ship-category"><span class="sbtt-ship-group">{{{grouping|Unique Ships}}}</span><span class="sbtt-ship-hull">{{{hulltype|Unknown Class}}}</span></div> | + | <div class="sbtt-ship-category"><span class="sbtt-ship-group">{{{grouping|Unique Ships}}}</span> <span class="sbtt-ship-hull">{{{hulltype|Unknown Class}}}</span></div> |
</div> | </div> | ||
{{#if: {{{highlights1|}}} | {{#if: {{{highlights1|}}} |
Revision as of 11:28, 16 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.
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?)