Jump to content

Template:Naval Vessel Register/doc

From Wikipedia, the free encyclopedia

Creates an attribution statement and links to ship and service craft detail pages in the Naval Vessel Register (NVR) website.

Usage

[edit]

This template accepts up to two external links to NVR entries. If you don't provide a parameter, and simply use {{Naval Vessel Register}}, the template returns the default attribution statement:

Public Domain This article includes information collected from the Naval Vessel Register, which, as a U.S. government publication, is in the public domain.

If you provide the url of a ship's (or service craft's) detail page as the first unnamed parameter value, the template will return the attribution statement along with a link to the selected NVR details page:

{{Naval Vessel Register|http://www.nvr.navy.mil/NVRSHIPS/DETAILS/DDG81.HTM}} produces this:
Public Domain This article includes information collected from the Naval Vessel Register, which, as a U.S. government publication, is in the public domain. The entry can be found here.

Sometimes the NVR has two detail pages for the same hull under different identifiers. If you provide both urls in the template, it will return the attribution statement and links to both of the detail pages:

{{Naval Vessel Register|{{Naval Vessel Register service craft URL|id=YTB815}}|{{Naval Vessel Register service craft URL|id=IX540}}}}
Public Domain This article includes information collected from the Naval Vessel Register, which, as a U.S. government publication, is in the public domain. The entries can be found here and here.

Because the NVR has in the past, and may again in the future, changed details of the urls that point to the detail pages that it hosts, editors may be advised to use the templates {{Naval Vessel Register URL}} and {{Naval Vessel Register service craft URL}} so that when necessary, a simple change to one or both of these templates restores all of the 'broken' urls.

Articles using this template will be added to the hidden category Category:Wikipedia articles incorporating text from the Naval Vessel Register.

See also

[edit]
type group template ref article example
Dictionary of American Naval Fighting Ships (DANFS) (external link)
source dictionary {{DANFS}} DANFS public domain attribution notice Public Domain This article incorporates text from the public domain Dictionary of American Naval Fighting Ships.
source dictionary {{Cite DANFS}} DANFS material citation Cressman, Robert J. (2005-12-06). "Bridgeport". Dictionary of American Naval Fighting Ships. Navy Department, Naval History and Heritage Command. Retrieved 2016-09-15.
Naval Vessel Register (NVR) (external link)
source register {{NVR}} Naval Vessel Register, public domain attribution notice Public Domain This article includes information collected from the Naval Vessel Register, which, as a U.S. government publication, is in the public domain.
source register {{NVR url}} creates urls for NVR ship details pages
source register {{NVR SC url}} creates urls for NVR service craft details pages