Difference between revisions of "Template:MMSI Number"

From blackwiki
Jump to navigation Jump to search
imported>MusikAnimal
m (Protected "Template:MMSI Number": Highly visible template; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
imported>Zntrip
m (Removing extra space)
 
Line 1: Line 1:
<includeonly>{{ns0|[[Category:MMSI Number|{{{1|{{#property:P587|missing from template MMSI Number}}}}}]]}} [[Maritime Mobile Service Identity|MMSI number]]: {{#ifeq: {{{link|}}} | no | {{{1|{{#property:P587}}}}} | [https://www.marinetraffic.com/ais/details/ships/mmsi:{{{1|{{#property:P587}}}}} {{{1|{{#property:P587}}}}}]}}</includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly>{{ns0|[[Category:MMSI Number|{{{1|{{#property:P587|missing from template MMSI Number}}}}}]]}}[[Maritime Mobile Service Identity|MMSI number]]: {{#ifeq: {{{link|}}} | no | {{{1|{{#property:P587}}}}} | [https://www.marinetraffic.com/ais/details/ships/mmsi:{{{1|{{#property:P587}}}}} {{{1|{{#property:P587}}}}}]}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 04:07, 17 September 2020

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 Template:Ns0MMSI number: 311166000.

See also

Template:Wikidata property

Template:Psix name/related