Changes

Jump to navigation Jump to search
m
{{documentation subpage}}
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 {{tld|NVR}}, the template returns the default attribution statement:
:{{NVR}}

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

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:
:<code><nowiki>{{NVR|{{NVR SC url|id=YTB815}}|{{NVR SC url|id=IX540}}}}</nowiki></code>
::{{NVR|{{NVR SC url|id=YTB815}}|{{NVR SC url|id=IX540}}}}

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 {{tlx|NVR url}} and {{tlx|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 {{cl|Wikipedia articles incorporating text from the Naval Vessel Register}}.

==See also==
{{WPSHIPS Ship citation templates}}

<includeonly>{{sandbox other||
[[Category:United States government attribution templates]]
[[Category:Ship templates]]
}}</includeonly>
Anonymous user

Navigation menu