Template:IMO Number/doc

From blackwiki
< Template:IMO Number
Revision as of 16:19, 13 December 2018 by imported>Timrollpickering (per WP:CFDS, replaced: IMO number → IMO numbers (12))
Jump to navigation Jump to search

Purpose

This template is used to add an IMO numbers to a ship article's infobox, and to add the article to Category:IMO numbers. It additionally links the IMO numbers 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 numbers:

{{IMO numbers|number}}

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

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

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

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

See also

Template:Psix name/related