Difference between revisions of "Template:MMSI Number/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
imported>Zntrip
m (→‎See also: fixed Wikidata link)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{uses Wikidata|P547}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
  
Line 11: Line 12:
 
The only parameter in the template is the ship's MMSI number:
 
The only parameter in the template is the ship's MMSI number:
  
<tt><nowiki>
+
<code><nowiki>
 
{{MMSI Number|mmsi}}
 
{{MMSI Number|mmsi}}
</nowiki></tt>
+
</nowiki></code>
  
Example: for the article on [[Black Watch (ship)|''Black Watch'']], <tt><nowiki>{{MMSI Number|311166000}}</nowiki></tt> results in {{MMSI Number|311166000}}.
+
Example: for the article on [[MS Black Watch (1971)|''Black Watch'']], <code><nowiki>{{MMSI Number|311166000}}</nowiki></code> results in {{MMSI Number|311166000}}.
  
 
== See also ==
 
== See also ==
  
{{Wikidata property|P587|MMSI ship IDs}}
+
{{Wikidata property|P587}}
  
 
{{Psix name/related}}
 
{{Psix name/related}}
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Ship templates|{{PAGENAME}}]]
 
[[Category:Ship templates|{{PAGENAME}}]]
 
[[Category:MMSI Number|*]]
 
[[Category:MMSI Number|*]]
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:External link templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 04:04, 17 September 2020

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