Template:Sleep/doc
This is a documentation subpage for Template:Sleep. It contains usage information, categories and other content that is not part of the original template page. |
Usage
edit{{sleep
| name = | alt = | url = | email =
| address = | lat = | long = | directions =
| phone = | tollfree = | fax =
| checkin = | checkout = | price =
| lastedit=
| content =
}}
Parameters
edit- name: the name of the hotel or accommodation. Required. 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
edit* {{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
editTemplateData
editListing template for places to sleep
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the hotel or accommodation
| String | suggested |
Alternative name | alt | An alternative name, e.g., in the local language or a former name
| String | suggested |
URL | url | URL for the official Web site for this hotel
| URL | suggested |
email | an email address for making reservations or getting more information
| String | suggested | |
Address | address | A street address for finding the hotel, for places where this is meaningful
| String | suggested |
Latitude | lat | Decimal latitude (GPS coordinates) for map output
| Number | suggested |
Longitude | long | Decimal longitude (GPS coordinates) for map output
| Number | suggested |
Directions | directions | Additional brief directions besides the street address, such as cross streets, nearby subway or bus stations.
| String | suggested |
Telephone | phone | For making reservations or getting information
| String | suggested |
Toll-free telephone number | tollfree | no description
| String | optional |
Fax number | fax | no description
| String | optional |
Check-in time | checkin | The normal earliest time for checking in. Use either 24-hour format (15:00) or 12-hour (3PM)
| String | suggested |
Check-out time | checkout | The normal time for leaving the hotel
| String | suggested |
price | price | no description
| String | suggested |
Last update | lastedit | The date when the listing was last updated, or when the information in the listing was last verified.
| Date | suggested |
Description | content | A description of the hotel
| Content | suggested |