Difference between revisions of "Template:MMSI Number"
Jump to navigation
Jump to search
imported>Pigsonthewing (Use Wikidata value if no local value) |
imported>Elegie (Use HTTPS for the MMSI number link in order to provide increased user privacy/security) |
||
| 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}}}}} | [ | + | <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> |
Revision as of 09:28, 25 May 2017
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:Ns0 MMSI number: 311166000.
See also
| The above documentation is transcluded from Template:MMSI Number/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |