Wikitravel:Listings
|
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.
[edit] Listing orderAlphabetical 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 definite or indefinite articles, such as "The", or "A", in the listing's name should be ignored for the purposes of determining the order. [edit] Avoid long listsWikitravel is a travel guide, not the Yellow Pages. [edit] Adding and editing listingsTo 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] link 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. Wiki styled text doesn't work within our XML-formatted listing tags. For some listings, this option is not available, and you need to edit them manually by clicking on the light blue [edit] link at the top of the section. [edit] OverviewThe 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:
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. [edit] AttributesEach attribute is one of the following listed attributes.
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>). [edit] Examples[edit][add listing] See See also: Wikitravel:Attraction listings * <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:
[edit][add listing] Do See also: Wikitravel:Activity listings * <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:
[edit][add listing] BuyType: * <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>
[edit][add listing] 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:
[edit][add listing] Drink See also: Wikitravel:Bar listings * <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:
[edit][add listing] 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:
[edit][add listing] ListingIf the listing doesn't fit into one of the above categories, you can use the "listing" tag for a generic one.
* <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:
[edit] TranslationThe 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:
The attributes:
[edit] Sources for lat/longsThere are a few Web sites that provide useful lat/long information.
[edit] See also
|
|