Template:IMO Number/doc
< Template:IMO Number
Jump to navigation
Jump to search
Revision as of 16:19, 13 December 2018 by imported>Timrollpickering (per WP:CFDS, replaced: IMO number → IMO numbers (12))
![]() | This is a documentation subpage for Template:IMO Number. It contains usage information, categories and other content that is not part of the original template page. |
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.