Difference between revisions of "Template:IMO Number"

From blackwiki
Jump to navigation Jump to search
imported>Emerson7
m (copyediting; cleanup;)
imported>JonEastham
Line 1: Line 1:
[[Category:IMO Number|{{{1}}}]] [[IMO ship identification number|IMO number:]] {{{1}}}<noinclude>{{documentation}}</noinclude>
+
<includeonly>[[Category:IMO Number|{{{1}}}]] [[IMO ship identification number|IMO number:]] {{{1}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 11:36, 17 June 2010

Template documentation[view] [edit] [history] [purge]

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 number: 7108930.

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 IMO number: 7108930.

See also

Template:Psix name/related