Template:Ship
This template works differently than other templates you'll find in the wiki. The main purpose of this template is to produce something like this Template:ShipDatabase (you can try hovering the text to see what i mean) or his bigger brother
Template:ShipDatabase With just typing something as simple as this
{{Ship|Drake|tooltip}} for the tooltip-look, and
{{Ship|Drake|box}} for the bigger box-styled version
As you noticed, by using this template we don't need to write any additional ship information to produce something more informative, as long as the ship information is written on the Template:ShipDatabase. This should cut down the time needed for editors and/or contributors to write articles which includes any particular ship information, not to mention the tooltip mode will enable users to put a hoverable ship information text on their articles. The tooltip mode can be used on any place on any form of wiki stylings or locations, for example inside a table or a list, since the hoverable text would be treated as a normal link by the wiki.
Notes
This template is the main and entry point for the Ship Template & Database. The contents and behaviour of this template directly affected by contents of the following templates :
- Template:ShipDatabase : this is where the ship database is stored
- Template:ShipSelector ¹
- Template:ShipBoxLarge ¹
- Template:ShipBoxTooltip ¹
- ¹ these three templates are not meant to be edited, unless absolutely necessary.
All these five templates were designed to be work in conjunction to each other, meaning if one of them is missing, all five and especially this ship template won't work! The reason why this template exi