Difference between revisions of "Template:ShipBoxTooltip/doc"
From EVE University Wiki
m (Add link. Add sample) |
m (Change category for the template.) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | ; Description |
+ | : Creates a tooltip with a subset of the ships stats. | ||
+ | : {{Color box | ||
+ | |color= #144F1D | ||
+ | |border= #2F8F2F | ||
+ | |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!.<br>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. | ||
+ | }} | ||
− | |||
− | |||
− | |||
; Dependencies: | ; Dependencies: | ||
− | : Uses: | + | :; Uses: |
:: {{T|Tooltip}} | :: {{T|Tooltip}} | ||
− | :: | + | :: {{T|Imageserver}} When no local image of ship is available and <kbd>shipid</kbd> is known. |
− | + | :: Part of the parameter set of {{Tl|ShipArticle}} | |
− | :: {{ | ||
; Syntax | ; Syntax | ||
− | : | + | : ShipBoxTooltip is not to be used on its own. It is to be called by using the wrapper template {{Tl|Ship}} |
− | : {{T| | + | |
+ | ; Template set | ||
+ | : {{T|ShipArticle}} | ||
+ | : {{T|Ship}} | ||
+ | :: {{T|ShipBoxLarge}} | ||
+ | :: {{T|ShipBoxTooltip}} | ||
; Sample | ; Sample | ||
− | : {{Code|<nowiki>{{Ship| | + | : {{Code|<nowiki>Some text {{Ship|Megathron Navy Issue}} more text.</nowiki>}} gives... |
− | {{Ship| | + | Some text {{Ship|Megathron Navy Issue}} more text. |
+ | |||
+ | |||
− | |||
− | |||
{{Bug | {{Bug | ||
|There is a problem with the presentation of the result. See [[Template talk:ShipBoxTooltip]]}} | |There is a problem with the presentation of the result. See [[Template talk:ShipBoxTooltip]]}} | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Formatting templates]] [[Category:Data templates]]<!-- Any categories for the template itself --></includeonly> |
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 11:24, 17 July 2023
- 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.
Some text
Megathron Navy Issue
Megathron Navy Issue
Faction Battleships Megathron Class
8 (1/7) 4 8
16,275 MW 630 tf
130 m/sec
840 m³
|
more text.
Bug: | There is a problem with the presentation of the result. See Template talk:ShipBoxTooltip |