Difference between revisions of "Template:MMSI Number"

From blackwiki
Jump to navigation Jump to search
imported>Huntster
(Add link, based off Template:MMSI.)
imported>Huntster
(Change format to match Template:IMO Number.)
Line 1: Line 1:
<includeonly>[[Category:MMSI Number|{{{1}}}]] [[Maritime Mobile Service Identity|MMSI number:]] {{#ifeq: {{{link|}}} | no | {{{1}}} | [http://www.marinetraffic.com/ais/shipdetails.aspx?mmsi={{{1}}} {{{1}}}]}}</includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly>[[Category:MMSI Number|{{{1}}}]] [[Maritime Mobile Service Identity|MMSI number]]: {{#ifeq: {{{link|}}} | no | {{{1}}} | [http://www.marinetraffic.com/ais/shipdetails.aspx?mmsi={{{1}}} {{{1}}}]}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 04:19, 28 April 2012

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

Template:Uses Wikidata

Purpose

Use the ship's MMSI number to create a link to Marinetraffic.com where the ship's movements can be tracked. This template also adds the article to Category:MMSI Number.

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 MMSI number:

{{MMSI Number|mmsi}}

Example: for the article on Black Watch, {{MMSI Number|311166000}} results in MMSI number: 311166000.

See also

Template:Wikidata property

Template:Psix name/related