Template:Ship

Template {{Ship}} creates a wikilink to its article and formats the visible name correctly.

The three parts are called: prefix, name, ID (ID is WP:Disambiguation, or hull number, pennant number, launch year: to identify the ship when multiple ships have the same name).

A fourth, unnamed parameter |4= allows setting which pieces of text are displayed in the wikilink.

It sets the label in the link: [[targetpage|label]] For example, the ship's article is entered as {{ship|HMCS|Kootenay|H75}}, by default showing as HMCS Kootenay (H75).

Using a format option: TemplateData for Ship This template provides a wikilink to a ship's page, with label optionsTemplate parameters[Edit template data]Fleet identifierShip's nameHull number, launch year, or pennant numberFormats label (parts showing)yes=puts Fleet ID outside of Wikilink