• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Wikivoyage

  • Template
  • Talk
  • Language
  • Watch
  • View source
Wikivoyage has a travel guide for Wikivoyage.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

Contents

  • 1 Usage
  • 2 TemplateData
  • 3 Links to listings
    • 3.1 How to link
    • 3.2 When to link
  • 4 See also

Usage

As supported by Wikipedia:Wikimedia sister projects, this template may be used to add a Wikivoyage link to a Wikipedia article. It generates an interwikimedia link – it is not intended to represent sources for Wikipedia articles.

If usage of the template creates layout issues in an article, {{Wikivoyage-inline}} should be used instead.

The Wikivoyage template can be used with one, two, three or no parameters as follows:

{{Wikivoyage}} creates a link to the Wikivoyage page matching the Wikipedia page name.
{{Wikivoyage|Boracay}} creates a link to the Wikivoyage page titled "Boracay".
{{Wikivoyage|Boracay|Boracay Island}} creates a link to the Wikivoyage page titled "Boracay", but the link is worded "Boracay Island".
{{Wikivoyage|Boracay|Boracay Island|an itinerary}} creates a link to the Wikivoyage page titled "Boracay", and the entire sentence reads "Wikivoyage has an itinerary for Boracay Island."

See also: {{Sister project links}}

{{Sister project links|voy={{PAGENAME}}}} will create a similar box, but accommodates multiple siblings. It is not a direct-equivalent replacement for the individual sibling project boxes as the "sister project links" box by default creates various blind links to special:search on the destination wikis which are not search-engine friendly.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wikivoyage in articles based on its TemplateData.

TemplateData for Wikivoyage

Adds an interwiki link to [[Wikivoyage]], for example for use in external links section. If no parameters are set, defaults to linking to a Wikivoyage article by the same name as the Wikipedia article followed by the words 'a travel guide'.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Page1

The name of the Wikivoyage page, if not the same as the Wikipedia article

Default
<Wikipedia page name>
Example
London (Ontario)
Page nameoptional
Label2

The label for the link, if not the same as the Wikivoyage page name

Default
<Wikipedia page name>
Example
"London" or "London, ON" or "London, Ontario"
Stringoptional
Type3

Use if 'a travel guide' is not the best description of the Wikivoyage page. The most common alternatives are 'an itinerary', 'a phrasebook', 'a travel topic', and 'an article'.

Default
'a travel guide'
Lineoptional

Links to listings

How to link

First the wikidata parameter must be set on the listing entry of the point of interest on Wikivoyage. (This is the Q number you see on page reached from the Wikidata item link on the Wikipedia page). This creates an anchor on the page so that clinking the link on Wikipedia will take the reader to the part of the Wikivoyage article where the listing is.

Second add the Wikivoyage template on the Wikipedia page of the point of interest using the page name of the article on Wikivoyage where the listing is. The wikidata code for the page anchor is automatically added.

For example for the Eiffel Tower on the Wikipedia article add {{Wikivoyage|Paris/7th arrondissement}}, or also use a second parameter such as {{Wikivoyage|St. Louis|Gateway Arch}} to get the correct description on the link.

When to link

When the listing on Wikivoyage has information not typically allowed on Wikipedia, such as opening times and prices. Preferably when the listing content is of reasonable length and useful to a visitor.

See also

  • Template:Wikivoyage inline
  • Template:Wikivoyage listing
  • Wikipedia:Manual of Style/Layout § External links
  • {{Commons}}—shows Commons box
  • {{Commons-inline}}—shows Commons gallery inline
  • {{Commons category}}—shows Commons category box
  • {{Commons category-inline}}—shows Commons category inline
  • {{Commons category multi}}—to list up to six categories
  • {{Commons and category}}—shows Commons box with both gallery and category
  • {{Commons and category inline}}—shows Commons gallery and category inline
  • {{Copy to Wikimedia Commons}}
  • {{Wikimedia Commons redirect}}—specialized soft redirect template for Commons
  • {{Wiki category}}—to link to a gallery hosted on Wikipedia
  • mw:Manual:Pywikibot/commonscat.py
  • {{Sister project links}}—to link all Wikinews, Wikisource, etc.
  • {{Wikibooks}} / {{Wikibooks inline}}
  • {{Wikidata property}}
  • {{Wikinews}} / {{Wikinews inline}}
  • {{Wikiquote}} / {{Wikiquote-inline}}
  • {{Wikisource}} / {{Wikisource-inline}}
  • {{Wikispecies}} / {{Wikispecies-inline}}
  • {{Wikiversity}} / {{Wikiversity inline}}
  • {{Wikivoyage}} / {{Wikivoyage inline}}
  • {{Wiktionary}} / {{Wiktionary-inline}}
The above documentation is transcluded from Template:Wikivoyage/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Wikivoyage&oldid=1002978076"
Last edited on 26 January 2021, at 22:27

Languages

    • Acèh
    • Afrikaans
    • العربية
    • Արեւմտահայերէն
    • অসমীয়া
    • Asturianu
    • Azərbaycanca
    • تۆرکجه
    • Basa Bali
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • Basa Banyumasan
    • भोजपुरी
    • Bikol Central
    • Boarisch
    • Bosanski
    • Brezhoneg
    • Буряад
    • Català
    • Cebuano
    • Čeština
    • Dagbanli
    • Dansk
    • Deutsch
    • Eesti
    • Ελληνικά
    • Español
    • Esperanto
    • Euskara
    • فارسی
    • Fiji Hindi
    • ગુજરાતી
    • 한국어
    • Հայերեն
    • हिन्दी
    • Hrvatski
    • Ilokano
    • Bahasa Indonesia
    • Jawa
    • Kapampangan
    • ქართული
    • Кыргызча
    • Latviešu
    • Lietuvių
    • Lingála
    • Magyar
    • मैथिली
    • Македонски
    • മലയാളം
    • मराठी
    • მარგალური
    • مصرى
    • Bahasa Melayu
    • Minangkabau
    • 閩東語 / Mìng-dĕ̤ng-ngṳ̄
    • Монгол
    • မြန်မာဘာသာ
    • Nederlands
    • नेपाली
    • 日本語
    • Norsk bokmål
    • Norsk nynorsk
    • Occitan
    • ଓଡ଼ିଆ
    • Oʻzbekcha / ўзбекча
    • ਪੰਜਾਬੀ
    • پنجابی
    • Polski
    • Português
    • Română
    • संस्कृतम्
    • ᱥᱟᱱᱛᱟᱲᱤ
    • Scots
    • සිංහල
    • Simple English
    • سنڌي
    • Slovenčina
    • Slovenščina
    • کوردی
    • Српски / srpski
    • Srpskohrvatski / српскохрватски
    • Suomi
    • Svenska
    • Tagalog
    • தமிழ்
    • တႆး
    • తెలుగు
    • ไทย
    • Türkçe
    • Українська
    • اردو
    • Tiếng Việt
    • Winaray
    • 粵語
    • Žemaitėška
    • 中文
    • Kadazandusun
    • Ghanaian Pidgin
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 26 January 2021, at 22:27 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop