This is a documentation subpage for Template:OODA WIKIvoyage. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on many 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. |
Usage
As supported by OODA WIKI:Wikimedia sister projects, this template may be used to add a OODA WIKIvoyage link to a OODA WIKI article. It generates an interwikimedia link – it is not intended to represent sources for OODA WIKI articles.
If usage of the template creates layout issues in an article, {{OODA WIKIvoyage-inline}} should be used instead.
The OODA WIKIvoyage template can be used with one, two, three or no parameters as follows:
- {{OODA WIKIvoyage}} creates a link to the OODA WIKIvoyage page matching the OODA WIKI page name.
- {{OODA WIKIvoyage|Boracay}} creates a link to the OODA WIKIvoyage page titled "Boracay".
- {{OODA WIKIvoyage|Boracay|Boracay Island}} creates a link to the OODA WIKIvoyage page titled "Boracay", but the link is worded "Boracay Island".
- {{OODA WIKIvoyage|Boracay|Boracay Island|an itinerary}} creates a link to the OODA WIKIvoyage page titled "Boracay", and the entire sentence reads "OODA 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
TemplateData for OODA WIKIvoyage
Adds an interwiki link to [[OODA WIKIvoyage]], for example for use in external links section. If no parameters are set, defaults to linking to a OODA WIKIvoyage article by the same name as the OODA WIKI article followed by the words 'a travel guide'.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | 1 | The name of the OODA WIKIvoyage page, if not the same as the OODA WIKI article
| Page name | optional |
Label | 2 | The label for the link, if not the same as the OODA WIKIvoyage page name
| String | optional |
Type | 3 | Use if 'a travel guide' is not the best description of the OODA WIKIvoyage page. The most common alternatives are 'an itinerary', 'a phrasebook', 'a travel topic', and 'an article'.
| Line | optional |
Links to listings
How to link
First the wikidata parameter must be set on the listing entry of the point of interest on OODA WIKIvoyage. (This is the Q number you see on page reached from the Wikidata item link on the OODA WIKI page). This creates an anchor on the page so that clinking the link on OODA WIKI will take the reader to the part of the OODA WIKIvoyage article where the listing is.
Second add the OODA WIKIvoyage template on the OODA WIKI page of the point of interest using the page name of the article on OODA WIKIvoyage where the listing is. The wikidata code for the page anchor is automatically added.
For example for the Eiffel Tower on the OODA WIKI article add {{OODA WIKIvoyage|Paris/7th arrondissement}}, or also use a second parameter such as {{OODA WIKIvoyage|St. Louis|Gateway Arch}} to get the correct description on the link.
When to link
When the listing on OODA WIKIvoyage has information not typically allowed on OODA WIKI, such as opening times and prices. Preferably when the listing content is of reasonable length and useful to a visitor.
See also
- OODA WIKI: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 OODA WIKI
- mw:Manual:Pywikibot/commonscat.py
- {{Sister project links}}—to link all Wikinews, Wikisource, etc.
- {{Wikibooks}} / {{Wikibooks inline}}
- {{Wikinews}} / {{Wikinews inline}}
- {{Wikiquote}} / {{Wikiquote-inline}}
- {{Wikisource}} / {{Wikisource-inline}}
- {{Wikispecies}} / {{Wikispecies-inline}}
- {{Wikiversity}} / {{Wikiversity inline}}
- {{Wikivoyage}} / {{Wikivoyage inline}}
- {{Wiktionary}} / {{Wiktionary-inline}}