Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Naval Vessel Register URL/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== MakeShipLink === This function returns a link to a ship's page at the Naval Vessel Register website. Usage: : <code><nowiki>{{#invoke:Naval Vessel Register URL|MakeShipLink|id=|title=}}</nowiki></code> : <code><nowiki>{{#invoke:Naval Vessel Register URL|MakeShipLink}}</nowiki></code> β uses the calling template's parameters Parameters: : '''1''' or '''id''' β the ship's case-insensitive hull classification symbol in one of five forms: :#SSBN-659 β the preferred format because it matches the format for hull classification symbols generally used for US Navy ships throughout Wikipedia :#SSBN 659 :#SSBN659 :#SSBN_659 :#SSBN_659_1635 β the NVR file name format as of September 2017 ::There are exceptions. There are three ships listed at the NVR website that do not have hull classification symbols. These are: {{USS|Constitution}}, {{USS|Maine|ACR-1|6}}, and {{USS|Texas|1892|6}}. For these three ships, use the ship's name for this parameter. The code word OLDIRON, previously used to identify ''Constitution'' is no longer supported. : '''2''' or '''title''' β A title or label for the link. Examples: : <code><nowiki>{{#invoke:Naval Vessel Register URL|MakeShipLink|DDG_1000}}</nowiki></code> produces {{#invoke:Naval Vessel Register URL|MakeShipLink|DDG_1000}} : <code><nowiki>{{#invoke:Naval Vessel Register URL|MakeShipLink|constitution}}</nowiki></code> produces {{#invoke:Naval Vessel Register URL|MakeShipLink|constitution}} : <code><nowiki>{{#invoke:Naval Vessel Register URL|MakeShipLink|maine|USS ''Maine''}}</nowiki></code> produces {{#invoke:Naval Vessel Register URL|MakeShipLink|maine|USS ''Maine''}}
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)