Template:Sleep

From Wikivoyage
Jump to navigation Jump to search
[view] [edit] [history] [purge] Template-info.svg Template documentation

Usage

{{sleep
 | name    = | alt = | url = | email = 
 | address = | lat = | long = | directions = 
 | phone   = | tollfree = | fax = 
 | checkin = | checkout = | price =
 | lastedit=
 | content = 
}}

Parameters

  • name: the name of the hotel or accommodation. Recommended. Make sure there is no whitespace between the = sign and the name, or the entry will show up as "NoName" on the map.
  • alt: an alternative name, either in the local language or just an alternative. Optional.
  • address: a street address for finding the hotel, 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.
  • url: the URL for the official Web site for this hotel (see external links for more guidelines). Recommended.
  • hours: opening hours of the hotel, when applicable. Recommended.
  • checkin: checkin time. Optional.
  • checkout: checkout time Optional.
  • price: price of a room. Recommended.
  • lat: Decimal latitude (GPS coordinates) for map output. Optional.
  • long: Decimal longitude (GPS coordinates) for map output. 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.
  • lastedit: Field indicating when the listing was last updated, or when the information in the listing was last verified. Format must be "2015-01-15" (yyyy-mm-dd). Optional

Example

* {{sleep
| name=Claridge's | alt= | url=http://www.claridges.co.uk/ | email=
| address=49 Brook St | lat= | long= | directions=
| phone=+44 20 7629 8860 | tollfree= | fax=
| checkin= | checkout= | price=
| lastedit=2015-01-15
| content=A London institution for those in the know. On the corner of Brook street and Davies street. Famous for serving traditional afternoon tea and hosts Gordon Ramsay's restaurant. (Not for much longer though)
}}
  • Claridge's, 49 Brook St, +44 20 7629 8860. A London institution for those in the know. On the corner of Brook street and Davies street. Famous for serving traditional afternoon tea and hosts Gordon Ramsay's restaurant. (Not for much longer though)

See also

TemplateData

Listing template for places to sleep

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the hotel or accommodation

Example
Claridge's
Unknownsuggested
Alternative namealt

An alternative name, e.g., in the local language or a former name

Example
formerly Mivart's Hotel
Unknownsuggested
URLurl

URL for the official Web site for this hotel

Example
http://www.claridges.co.uk/
Unknownsuggested
Emailemail

an email address for making reservations or getting more information

Example
hotel@example.com
Unknownsuggested
Addressaddress

A street address for finding the hotel, for places where this is meaningful

Example
49 Brook St
Unknownsuggested
Latitudelat

Decimal latitude (GPS coordinates) for map output

Example
51.5125
Unknownsuggested
Longitudelong

Decimal longitude (GPS coordinates) for map output

Example
-0.1476
Unknownsuggested
Directionsdirections

Additional brief directions besides the street address, such as cross streets, nearby subway or bus stations.

Example
corner of Brook Street and Davies Street in Mayfair
Unknownsuggested
Telephonephone

For making reservations or getting information

Example
+44 20 7629 8860
Unknownsuggested
Toll-free telephone numbertollfree

no description

Example
+1 800 555-1234
Unknownsuggested
Fax numberfax

no description

Example
+44 (0)20 7499 2210
Unknownsuggested
Check-in timecheckin

The normal earliest time for checking in. Use either 24-hour format (15:00) or 12-hour (3PM)

Example
3PM
Unknownsuggested
Check-out timecheckout

The normal time for leaving the hotel

Example
noon
Unknownsuggested
Priceprice

no description

Example
£400 per night for a single room, and up
Unknownsuggested
Last updatelastedit

The date when the listing was last updated, or when the information in the listing was last verified.

Example
2016-06-30
Auto value
{{subst:#time:Y-m-d}}
Unknownsuggested
Descriptioncontent

A description of the hotel

Example
A London institution for those in the know. On the corner of Brook street and Davies street. Famous for serving traditional afternoon tea and hosts Gordon Ramsay's restaurant. (Not for much longer though)
Unknownsuggested