Difference between revisions of "Template:ShipBoxTooltip"
From EVE University Wiki
m (Undo revision 185986 by Evon R'al (talk) The escape did not work. It actually made it worse. It broke the link for existing shipimg parameter.) Tag: Undo |
m (Ship image: Replace parameter with default option with {{#if:}}) |
||
Line 79: | Line 79: | ||
<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;'>[[Image:{{{shipimg| | + | <td class='left' style='padding: 0 5px 0 0;width: 80px; position: relative;'>[[Image:{{#if:{{{shipimg|}}}|{{{shipimg}}}|No-image.png}}80x80px|{{{shipname}}}]]{{#if:{{{tech|}}}|<div class='techcornersmall'>[[Image:CornerT{{{tech|2}}}s.png|link=]]</div>|}}</td> |
<td> | <td> | ||
<div class='uniwiki-ship-tooltip-header'> | <div class='uniwiki-ship-tooltip-header'> |
Revision as of 14:09, 12 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.
Megathron Navy Issue |
Megathron Navy Issue
Faction BattleshipsMegathron Class
|
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?)