More actions
m Change category for the template. |
m Replace hard-coded color with design-token. |
||
| Line 2: | Line 2: | ||
: Creates a tooltip with a subset of the ships stats. | : Creates a tooltip with a subset of the ships stats. | ||
: {{Color box | : {{Color box | ||
|color= | | color= var(--background-color-error-subtle) | ||
|border= #2F8F2F | | 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. | | 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. | ||
}} | }} | ||
Latest revision as of 09:10, 9 June 2025
- 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
|
more text.
| There is a problem with the presentation of the result. See Template talk:ShipBoxTooltip |