Difference between revisions of "Wikitravel:Listings"
m (Reverted edits by 66.206.246.95 (Talk) to last version by OVK) |
(added listing Halcyon I) |
||
| Line 76: | Line 76: | ||
* <do name="Activity name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" hours="21:00-17:30" price="Rs. 50 " lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff to do.</do> | * <do name="Activity name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" hours="21:00-17:30" price="Rs. 50 " lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff to do.</do> | ||
| + | *<do name="Halcyon I" alt="" address="Doca de Alcântara, peer 701" directions="Lisbon, Portugal" phone="351913671956" url="http://www.facebook.com/pages/Halcyon-I/160818487343615?ref=hl" hours="2" price="45" lat="38º42" long="09º10">We provide two hour trips from "Doca de Alcântara", in Lisbon, at € 45 per guest, up to eight. Depending on tides and wind, from 10am to 12am and from 3pm to 5pm, we sail between "Torre de Belém" and Stª Apolónia. We provide a free welcome drink onboard, including cheese, patê and smoked salmon tosts. | ||
| + | |||
| + | Halcyon I is the only classic yacht operating in Lisbon. It's a walk around boat, so customers don't need to stay on the same place for the all trip. If they feel cold, they can even get inside and enjoy a leather sitting saloon, with windows all around.</do> | ||
| + | |||
===Buy=== | ===Buy=== | ||
Revision as of 11:20, 6 January 2013
Wikitravel uses standardized formats to list attractions, activities, shops, restaurants, bars and hotels under the See, Do, Buy, Eat, Drink and Sleep sections respectively. This page describes those listings.
Contents |
Listing order
Alphabetical order should be the norm within each section. If another standard is used, it should be clearly stated (either on the discussion page of the article or as a hidden comment above the list itself) so any new listing can be added to the appropriate place. Leading articles, such as "The", or "A", in the listing's name should be ignored for the purposes of determining the order.
Avoid long lists
Wikitravel is a travel guide, not the Yellow Pages. Huge undifferentiated lists are only marginally useful to the traveller. A general rule of thumb is that it is time to consider breaking them up or pruning them when entries reach double figures.
Adding and editing listings
To add a new listing, go to the article for the city which you want to add the listing to and click on the blue [add listing] part next to the appropriate section header of See, Do, Buy, Eat, Drink or Sleep. This will pop up a box where you can easily enter the listing details.
To edit an existing listing, click on the small, grey edit text after the listing. Note that for some older listings, this option is not available, and you need to edit them manually by clicking on the blue [edit] link at the top of the section.
Overview
The following section describes how to manually enter or edit XML-formatted listing tags.
These structured tags make it easier for software to format the listings correctly. Each tag type is for a different kind of listing, according to the section it's in.
The tag format follows the angle-brackets form of HTML, XML, or other SGML applications. Each tag should have the format:
<tag attribute1="..." attribute2="...">Some description.</tag>
Listings that use these tags will create correctly formatted hcard entries, which can be copied and viewed with software like the Operator extension for Firefox.
Attributes
Each attribute is one of the following listed attributes. Note that the content of the description can contain wikitext, but the content of the attributes cannot. Each attribute can only be listed twice. No attribute is required, but some are recommended to make a listing at all useful.
- name: the name of the hotel, bar, restaurant, museum, or whatever. Recommended.
- alt: an alternative name, either in the local language or just an alternative. Optional.
- address: a street address for finding the attraction, for places where this is meaningful. Recommended.
- directions: additional brief directions besides the street address, such as cross streets, nearby subway or bus stations. Optional
- phone: a phone number for making reservations or getting more information. Recommended.
- tollfree: a toll-free phone number, if available. Optional.
- email: an email address for making reservations or getting more information. Optional.
- fax: a fax number. Optional.
- phoneextra: any extra information for phone calls. Optional
- url: the URL for the official Web site for this attraction (see external links for more guidelines). Recommended.
- hours: opening hours of the attraction, when applicable. Recommended.
- checkin: checkin time, for sleep listings only. Optional.
- checkout: checkout time, for sleep listings only. Optional.
- hoursextra: any extra hours information (seasons, exceptions). Optional.
- price: price of a room, or price of a drink, or price of an average meal, or price of admission. Recommended.
- priceextra: any extra price information (discounts, what it applies to). Optional.
- lat: Decimal latitude (GPS coordinates) for map output. Not yet displayed. Optional.
- long: Decimal longitude (GPS coordinates) for map output. Not yet displayed. Optional.
- Note: lat and long should have the same number of decimal places (using trailing zeroes if applicable). If one is present, so should the other be.
- geo: comma-separated decimal latitude and longitude (GPS coordinates) of the attraction. Deprecated; use lat and long instead.
- tags: comma-separated list of free-text tags (see tag for details). Note: not yet shown in the output. Optional.
Note that the capitalization has to be identical (that is, use "name", not "Name" or "NAME"), and that empty listings (with no description) still need to have a closing tag (like </tag>).
Examples
See
See also: Wikitravel:Attraction listings
Type:
* <see name="Attraction name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" hours="21:00-17:30" price="Rs. 50 for entrance" lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff about the attraction.</see>
to display:
- Attraction name (local or alternative name), Address (directions), ☎ +91 27 222-1234 (fakeemail@example.com, fax: +91 27 222-1235), [1]. 21:00-17:30. Stuff about the attraction. Rs. 50 for entrance. (latitude,longitude)
Do
See also: Wikitravel:Activity listings
Type:
* <do name="Activity name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" hours="21:00-17:30" price="Rs. 50 for entrance" lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff to do.</do>
to display:
- Activity name (local or alternative name), Address (directions), ☎ +91 27 222-1234 (fakeemail@example.com, fax: +91 27 222-1235), [2]. 21:00-17:30. Stuff to do. Rs. 50. (latitude,longitude)
- Halcyon I, Doca de Alcântara, peer 701 (Lisbon, Portugal), ☎ 351913671956, [3]. 2. We provide two hour trips from "Doca de Alcântara", in Lisbon, at € 45 per guest, up to eight. Depending on tides and wind, from 10am to 12am and from 3pm to 5pm, we sail between "Torre de Belém" and Stª Apolónia. We provide a free welcome drink onboard, including cheese, patê and smoked salmon tosts. Halcyon I is the only classic yacht operating in Lisbon. It's a walk around boat, so customers don't need to stay on the same place for the all trip. If they feel cold, they can even get inside and enjoy a leather sitting saloon, with windows all around. 45. (38º42,09º10)
Buy
Type:
* <buy name="Shop name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" hours="18:00-21:00" price="Rs. 150 and above" lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff about the shop.</buy>
- Shop name (local or alternative name), Address (directions), ☎ +91 27 222-1234 (fakeemail@example.com, fax: +91-22-2222-1235), [4]. 18:00-21:00. Stuff about the shop. Rs. 150 and above. (latitude,longitude)
Eat
See also: Wikitravel:Restaurant listings
Type:
* <eat name="Restaurant name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" hours="18:00-21:00" price="Rs. 150 and above" lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff about the restaurant.</eat>
to display:
- Restaurant name (local or alternative name), Address (directions), ☎ +91 27 222-1234 (fakeemail@example.com, fax: +91 27 222-1235), [5]. 18:00-21:00. Stuff about the restaurant. Rs. 150 and above. (latitude,longitude)
Drink
See also: Wikitravel:Bar listings
Type:
* <drink name="Bar name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" hours="18:00-21:00" price="Rs. 100 and above" lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff about the bar.</drink>
to display:
- Bar name, Address (directions), ☎ +91 27 222-1234 (fakeemail@example.com, fax: +91 27 222-1235), [6]. 18:00-21:00. Stuff about the bar. Rs. 100 and above. (latitude,longitude)
Sleep
See also: Wikitravel:Accommodation listings
Type:
* <sleep name="Hotel name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" tollfree="0800-444-5555" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" checkin="13:00" checkout="11:00" price="Rs. 1,500 and above" lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff about the hotel.</sleep>
to display:
- Hotel name (local or alternative name), Address (directions), ☎ +91 27 222-1234 (toll free: 0800-444-5555, fakeemail@example.com, fax: +91 27 222-1235), [7]. checkin: 13:00; checkout: 11:00. Stuff about the hotel. Rs. 1,500 and above. (latitude,longitude)
Listing
If the listing doesn't fit into one of the above categories, you can use the "listing" tag for a generic one.
Type:
* <listing name="Generic name" alt="local or alternative name" address="Address" directions="directions" phone="+91 27 222-1234" email="fakeemail@example.com" fax="+91 27 222-1235" url="http://www.example.com" hours="10:00-14:00" price="Rs. 1,500 and above" lat="latitude" long="longitude" tags="comma,separated,tag_labels">Stuff about the listed item.</listing>
to display:
- Generic name (local or alternative name), Address (directions), ☎ +91 27 222-1234 (fakeemail@example.com, fax: +91 27 222-1235), [8]. 10:00-14:00. Stuff about the listed item. Rs. 1,500 and above. (latitude,longitude)
Translation
The strings that are used for the parts of these structured listings can be translated for different languages. These are the localization strings for each part.
The tags:
- eat
- MediaWiki:listing-eat-tag
- drink
- MediaWiki:listing-drink-tag
- see
- MediaWiki:listing-see-tag
- do
- MediaWiki:listing-do-tag
- sleep
- MediaWiki:listing-sleep-tag
- buy
- MediaWiki:listing-buy-tag
- listing
- MediaWiki:listing-listing-tag
The attributes:
- name
- MediaWiki:listing-name-attr
- alt
- MediaWiki:listing-alt-attr
- address
- MediaWiki:listing-address-attr
- directions
- MediaWiki:listing-directions-attr
- phone
- MediaWiki:listing-phone-attr
- MediaWiki:listing-email-attr
- fax
- MediaWiki:listing-fax-attr
- url
- MediaWiki:listing-url-attr
- hours
- MediaWiki:listing-hours-attr
- price
- MediaWiki:listing-price-attr
- geo
- MediaWiki:listing-geo-attr
- tags
- MediaWiki:listing-tags-attr
Sources for lat/longs
There are a few Web sites that provide useful lat/long information.
- Multimap lets you search for cities in many countries and returns lat/long info (some problems with non ASCII chars in the names)
- The Getty Thesaurus of Names has lat/long info for most cities in its database
- The Global Gazetteer from Falling Rain Genomics, Inc. is another database that gives decimal geocode values for many place names around the world.
- Richard Cyganiak's FOAF mapper - find co-ordinates using Google Maps.
- http://geonames.org/ - Quick and thorough geocoding
- Wikipedia gives co-ordinates for most articles about places
See also
- Wikitravel:Microformats
- Wikitravel:Time and date formats
- Wikitravel:Phone numbers
- Wikitravel:Currency
- Wikitravel:Accommodation listings
- Wikitravel:Activity listings
- Wikitravel:Attraction listings
- Wikitravel:Bar listings
- Wikitravel:Restaurant listings
- Wikitravel:Shopping listings