Difference between revisions of "Template:ShipBoxTooltip/doc"

From EVE University Wiki
Jump to: navigation, search
m (Remove {{Note}}, the templates still test for an empty parameter shipname but it now gives an error that the parameter is missing and no longer the incorrect error unknown shipname.)
m (Add box with warning, copied from {{Template:ShipBoxLarge}}.)
Line 1: Line 1:
 
{{Cleanup|Documentation need some more work}}
 
{{Cleanup|Documentation need some more work}}
 +
 +
{{Color box
 +
|color=#144f1d
 +
|border=#2f8f2f
 +
|This template is a part of Ship Database template 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 [[Template:Ship|this page]] instead.<br><br>DO NOT EDIT THE CONTENTS OF THIS TEMPLATE IF YOU ARE NOT SURE ON WHAT YOU ARE DOING.}}
  
 
For usage guide please see [[Template:Ship|Ship Template]]
 
For usage guide please see [[Template:Ship|Ship Template]]

Revision as of 12:13, 14 November 2022

This article should be cleaned up or improved.
The reason is: Documentation need some more work
This template is a part of Ship Database template 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.

For usage guide please see Ship Template

Description
This template is a sub-template used to produce a link to a ship which on mouse over shows a tool-tip whit some ship info.
Dependencies
Uses:
{{Tooltip}}
Ship information in ship database articles.
Called by:
{{Ship}} through ship database articles
Syntax
Can not be used on its own.
{{ShipBoxTooltip}} is called when a ship article is called with mode= tooltip. e.g. {{:Vexor|mode= tooltip}} gives
Vexor
Vexor.jpg
Vexor
Standard Cruisers Vexor Class
Icon hi slot.png4 (0/4) Icon mid slot.png4 Icon low slot.png5
Icon powergrid.png700 MW Icon cpu.png300 tf
Icon velocity.png195 m/sec
Icon capacity.png480 m³
Sample
Some text {{Ship|Megathron Navy Issue}} more text.
gives...

Some text

Megathron Navy Issue
Megathron Navy Issue.jpg
CornerTFs.png
Megathron Navy Issue
Faction Battleships Megathron Class
Icon highlights.pngHigh Amount of High Slots
Icon highlights.pngHigh Amount of Low Slots
Icon hi slot.png8 (1/7) Icon mid slot.png4 Icon low slot.png8
Icon powergrid.png16,275 MW Icon cpu.png630 tf
Icon velocity.png130 m/sec
Icon capacity.png840 m³

more text.


Bug icon red.png Bug: There is a problem with the presentation of the result. See Template talk:ShipBoxTooltip