Template:R/V/doc

This template links to an unslashed target page [[RV Vityaz (1939)]], but it shows the slash: "R/V": R/V Vityaz (1939)

Usage

 * To show "RV" (unslashed), use RV: RV Vityaz (1939)


 * When the target pagename has a "/" slash, use Ship:
 * Target: [[S/Y Manitou]]
 * Use:  &rarr; S/Y Manitou

Usage
This is a typing short cut for linking to steamship articles named in the format "RV Shipname (year)", showing "R/V". Since ship names are italicized in article text, linking to them in the usual manner means typing everything twice, such as R/V Shipname (ID). This template halves that to R/V Shipname (ID).

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.

Label format options

 * To show "R/V", use R/V: R/V Vityaz (1939)
 * To link to S/Y Manitou, use S/Y Manitou

By default, the wikilink is build like this:
 * , the targetpage is
 * Then the template by default adds the formatted label:
 * , showing as:
 * R/V Vityaz (1939).
 * , showing as:
 * R/V Vityaz (1939).

The default label can be changed with a simple parameter. The extra third position, unnamed parameter allows setting which elements of the ship's full name are shown in the wikilink. 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;
 * &rarr;
 * R/V Vityaz (1939)

The options are: