Difference between revisions of "Template:NVR/doc"

From Nordic Larp Wiki
Jump to navigation Jump to search
en>DePiep
 
m (1 revision imported)
 
(No difference)

Latest revision as of 16:00, 1 January 2019

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

Usage

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

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:

{{NVR|http://www.nvr.navy.mil/NVRSHIPS/DETAILS/DDG81.HTM}} produces this:
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:

{{NVR|{{NVR SC url|id=YTB815}}|{{NVR SC url|id=IX540}}}}
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 {{NVR url}} and {{NVR SC 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

WP:SHIPS citation templates
type group template ref article example
Dictionary of American Naval Fighting Ships (DANFS) (external link)
source dictionary {{DANFS}} DANFS public domain attribution notice [1]
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.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
Naval Vessel Register (external link)
source register {{NVR}} Naval Vessel Register, public domain attribution notice
source register {{NVR url}} creates urls for NVR ship details pages
source register {{NVR SC url}} creates urls for NVR service craft details pages