Wikivoyage:Links to Wikipedia
Wikivoyage articles should be as complete as possible in and of themselves. Essential information about a topic should be included in the Wikivoyage article, rather than relying on a link to Wikipedia.
Many articles in Wikivoyage can benefit from links to Wikipedia articles on the same subject. A Wikivoyage article focuses on the issues facing travelers for a destination, but Wikipedia articles can have deeper or broader information on a topic. For many non travel-related terms or topics, Wikivoyage will not and should not ever have an article, since it is not an encyclopaedia.
Links to Wikipedia from Wikivoyage is done via Wikidata, article links shown in the sidebar, attractions via listings.
Sidebar links
[edit]A single 1:1 link between a Wikivoyage article and a Wikipedia article on the same subject may be placed in the "In other projects" sections of the sidebar menu by editing the "Wikivoyage" section of the Wikidata record.
The link will not appear in the main text of the article page on Wikivoyage, but will instead show up automatically in the "In other projects" section of the left-side navigation panel. See Wikivoyage:Links from Wikipedia#Links to articles, as usually the Wikipedia page already exists. Once connected in Wikidata, edit/save of articles will update the side panel.
Occasionally, our destination articles do not meet Wikidata's expectation of a unique, 1:1 correspondence to Wikipedia articles or Commons categories. As a last resort, place no more than one of each of these templates at the end of the Wikivoyage article to create the link to the same topic to generate a templated box instead of a sidebar link:
- {{RelatedWikipedia}}
- {{RelatedCommonsCat}}
Inline links
[edit]Wikipedia and Wikidata are now standard fields in all Wikivoyage listing templates. Links to the relevant Wikipedia and Wikidata pages should be added to these fields in listings whenever possible. Inline links to Wikipedia are otherwise generally not used in mainspace pages on this site, to avoid their being mistaken for internal links to other Wikivoyage articles. See Wikivoyage:External links.
Inline links outside of listing templates may be used on policy, personal or talk pages. To create one, use "w:" (an inline link to the same-language Wikipedia) or "wikipedia:", like this: [[:Wikipedia:Article title on Wikipedia]].
Some MediaWiki templates create links from Wikivoyage mainspace articles to Wikipedia, to Wikidata or to a specific (lat, long) position on a map. For instance, the {{listing}} template supports links to a venue's official site, to a Wikidata entry and to a Wikipedia article. The listing editor is able to lookup (lat, long) given a Wikidata link; these co-ordinates can then generate a link and marker for dynamic maps. See the documentation for each template for details.
To link from a Wikipedia article on an attraction to a listing within a Wikivoyage destination article, see Wikivoyage:Links from Wikipedia#Links to listings
Interlanguage links
[edit]There are versions of Wikipedia for many different languages. Linking to most of them from English-language Wikivoyage doesn't make a lot of sense. After all, our target audience are English speakers who likely won't understand a linked article in Tamil or Estonian.
In addition, don't count on Wikipedia-style interlanguage prefixes to work for links to Wikipedia language versions. We have our own multilanguage sites here at Wikivoyage, and fr:Lyon points to the French Wikivoyage article about Lyon, not to the French Wikipedia article about Lyon.
If, on a policy page, a personal page or a talk page, you need to link to an article on Tagalog Wikipedia (or something similar), you can make a shortcut using the form [[:w:language code:title]]. So, the Tagalog article on Spain is at w:tl:Espanya. (Conversely, [[voy:London]] from an English-language wiki or [[:en:voy:London]] anywhere else should get you back to English-speaking Wikivoyage territory, namely our page on London, from elsewhere in Wikimedia.)