Difference between revisions of "Template:IMO Number"
Jump to navigation
Jump to search
imported>Courcelles m (Protected Template:IMO Number: Batch semi-protection of highly visible templates listed on Wikipedia:Database reports/Unprotected templates with many transclusions/4 Any that were full-protected I will restore. using TW ([edit=autoconfirmed) |
imported>AGK m (Changed protection level of Template:IMO Number: Highly-visible template ([edit=autoconfirmed] (indefinite))) |
(No difference)
| |
Revision as of 22:39, 21 April 2012
Purpose
This template is used to add an IMO number to a ship article's infobox, and to add the article to Category:IMO numbers. It additionally links the IMO number to Marinetraffic.com.
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|number}}
Example: for the article on Black Watch, {{IMO Number|7108930}} results in IMO number: 7108930.
If only number is required (e.g. in a table), the text can be hidden with the following syntax:
{{IMO Number|number|disp=no}}
Example: {{IMO Number|7108930|disp=no}} results in IMO number: 7108930.
See also
| The above documentation is transcluded from Template:IMO 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. |