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

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(change cat)
imported>Huntster
(Tidy up doc to match MMSI Number doc.)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
  
This template is used to add a link for the [[IMO ship identification number]], and also to add the article to [[:Category:IMO Number]] for use with the <code>Ship identification</code> parameter of {{tl|Infobox ship career}}.
+
== Purpose ==
 +
This template is used to add an [[IMO numbers|IMO number]] to a ship article's infobox, and to add the article to [[:Category:IMO Number]].
 +
 
 +
This template is intended to be used in the {{para|Ship identification}} field in {{tl|Infobox ship career}}.
  
 
=== Usage ===
 
=== Usage ===
Add the ship's [[International Maritime Organization]] (IMO) identification number to the <code>number</code> parameter within the <code>Ship identification</code> parameter of {{tl|Infobox ship career}}:
+
The only parameter in the template is the ship's IMO number:
  
<pre>
+
<tt><nowiki>
| Ship identification = {{IMO Number|number}}
+
{{IMO Number|mmsi}}
</pre>
+
</nowiki></tt>
Articles marked with this template will be added to [[:Category:IMO Number]].
 
  
Editors may also add {{tl|MMSI Number}} for vessels which have been issued a [[Maritime Mobile Service Identity]] number.
+
Example: for the article on [[Black Watch (ship)|''Black Watch'']], <tt><nowiki>{{IMO Number|7108930}}</nowiki></tt> results in {{IMO Number|7108930}}.
  
 
=== See also ===
 
=== See also ===
*[[Template:Infobox ship begin]]
+
{{Psix name/related}}
*[[:Category:Ship identification numbers]]
 
 
 
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
[[Category:Ship templates]]
 
[[Category:Ship templates]]
 
[[Category:IMO Number|*]]
 
[[Category:IMO Number|*]]
 
</includeonly>
 
</includeonly>

Revision as of 11:35, 8 November 2013

Purpose

This template is used to add an IMO number to a ship article's infobox, and to add the article to Category:IMO 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 IMO number:

{{IMO Number|mmsi}}

Example: for the article on Black Watch, {{IMO Number|7108930}} results in Template:Ns0IMO number7108930.

See also

Template:Psix name/related