Template:IMO Number/doc

From IxWiki
Revision as of 12:24, 25 April 2020 by >Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

This template is used to add an IMO number to a ship article's infobox, and to add the article to Category:IMO numbers. It additionally links the IMO number to Marinetraffic.com.

This template is intended to be used in the |Ship identification= field in {{Infobox ship career}}.

Usage

The only parameter in the template is the ship's IMO number:

{{IMO Number|number}}

Example: for the article on Black Watch, {{IMO Number|7108930}} results in IMO number7108930.

If only number is required (e.g. in a table), the text can be hidden with the following syntax:

{{IMO Number|number|disp=no}}

Example: {{IMO Number|7108930|disp=no}} results in 7108930.

See also

  • {{Cite ship register}} ({{csr}}) – a general citation template that covers major databases and registries
  • {{Ship register}} - Formats ship's register number for article's infobox
  • {{IMO Number}} – Formats ship's ISO number for article's infobox
  • {{MMSI Number}} – Formats ship's MMSI number for article's infobox and links it to Marinetraffic.com
  • {{ENI Number}} - Formats ship's ENI number for article's infobox