Template:USS/doc

Usage
This is a typing short cut for linking to US Navy ship articles named in the format "USS Deep Six (AWOL-99)". Since ship names are italicized in article text, linking to them in the usual manner means typing everything twice, such as USS Deep Six (AWOL-99). This template halves that to USS Deep Six (AWOL-99).

This template does not support  (substitution). Behind the scenes, it invokes ship.

Formal usage

 * , where ID can be the hull number, launch year, or pennant number, as specified in the article title.
 * , where ID can be the hull number, launch year, or pennant number, as specified in the article title.

Examples
Last example could be used to link to ship index (disambiguation) page

Target page
By default, the wikilink is build like this:
 * With, the targetpage is
 * Elements PREFIX and ID can be omitted (if they are not part of the targetpage title).
 * Elements PREFIX and ID can be omitted (if they are not part of the targetpage title).
 * Elements PREFIX and ID can be omitted (if they are not part of the targetpage title).

Formatted label

 * Then the template by default adds the formatted label:
 * . By default:
 * , by default the label is:
 * , showing as:
 * USS Enterprise (CVN-65).

The default label can be changed with a simple parameter. The extra third position, unnamed parameter allows setting which changes the elements of the ship's full name. It sets the label in the link: For example, in your article, the hull number (disambiguator) may not be needed to show. In that case, add option 2, and the result is:
 * &rarr;
 * USS Enterprise (CVN-65)
 * USS Enterprise (CVN-65)

The options are:

PREFIX not in article name
It is possible that the prefix is not part of the target pagename. In that case, extra parameter yes (unlink prefix) puts the name outside of the link: [example here]