Template:R:wvoyage/documentation

Usage
This template is used in the Further Reading or References section of a Wiktionary entry to link to a Wikivoyage article. It works identically to R:wp other than linking to Wikivoyage instead of Wikipedia.

Parameters

 * 1
 * Language code of the language-specific version of Wikivoyage to link to. Defaults to  for the English Wikivoyage. NOTE: This is a Wikimedia language code, not a Wiktionary language code. See discussion below.


 * 2
 * Wikivoyage page to link to. Defaults to the current page title.


 * 3
 * Text to display when linking to Wikivoyage. Defaults to 2.


 * sc
 * Wiktionary script code of the link in 2 (or of the display text in 3, if provided). This is used when displaying the link to the page on Wikivoyage. You rarely need to specify this, as it is autodetected. NOTE: This is a Wiktionary script code.


 * 1
 * Italicize the displayed link.


 * 1
 * Suppress the final dot (period/full stop) that is displayed by default.

Language codes
Parameter 1 specifies the version of Wikivoyage to link to. This is a Wikimedia language code, not a Wiktionary language code. The two sets of language codes are similar, but there are some critical differences. For example, Wiktionary has a single language code  for Serbo-Croatian, and no language codes for national variants of Serbo-Croatian (Serbian, Croatian, Bosnian, Montenegrin). Wikimedia, however, has both a Serbo-Croatian language code  and national-language variant codes for Serbian, Croatian  and Bosnian. In addition, sometimes the same language has different codes in Wiktionary vs. Wikimedia; for example, Cantonese uses  in Wiktionary but   in Wikimedia, and Tarantino uses   in Wiktionary but   in Wikimedia.

Related templates

 * wikivoyage: a floating box, placed directly under the language heading or relevant part-of-speech heading
 * wvoyage: plain inline text link to Wikivoyage, with the Wikimedia language code in lang