Difference between revisions of "Template:ShipBoxTooltip"

From EVE University Wiki
Jump to: navigation, search
m (Try the escape again it seams not to work. Testing again to make sure.)
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
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{{!}}no-image.png}}}|80x80px|{{{shipname}}}]]{{#if:{{{tech|}}}|<div class='techcornersmall'>[[Image:CornerT{{{tech|2}}}s.png|link=]]</div>|}}</td>
+
   <td class='left' style='padding: 0 5px 0 0;width: 80px; position: relative;'>[[Image:{{{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 13:27, 12 May 2022

Template documentation (for the above template, sometimes hidden or invisible)
Description
Creates a tooltip with a subset of the ships stats.
This template is a part of the Ship Database template set and designed to be used in conjunction with the templates on that category and is not meant to be used or called directly!.
If you're looking on how to use the Ship template please see this page instead.

DO NOT EDIT THE CONTENTS OF THIS TEMPLATE IF YOU ARE NOT SURE ON WHAT YOU ARE DOING.
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
Some text {{Ship|Megathron Navy Issue}} more text.
gives...
Some text Megathron Navy Issue
Megathron Navy Issue
CornerTFs.png
Megathron Navy Issue
Faction BattleshipsMegathron Class
highlightsHigh Amount of High Slots
highlightsHigh Amount of Low Slots
high slots8
(1/7)
middle slots4
low slots8
powergrid16,275 MW
cpu output630 tf
max. velocity130 m/sec
cargo capacity840 m³
more text.


Bug icon red.png 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?)