Template:Sleep/doc

Parameters

 * 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

TemplateData
{	"params": { "name": { "suggested": true, "label": "Name", "description": "Name of the hotel or accommodation", "type": "string", "example": "Claridge's"		}, "alt": { "label": "Alternative name", "description": "An alternative name, e.g., in the local language or a former name", "example": "formerly Mivart's Hotel", "type": "string", "suggested": true },		"address": { "label": "Address", "description": "A street address for finding the hotel, for places where this is meaningful", "example": "49 Brook St", "type": "string", "suggested": true },		"directions": { "label": "Directions", "description": "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", "type": "string", "suggested": true },		"phone": { "label": "Telephone", "description": "For making reservations or getting information", "example": "+44 20 7629 8860", "type": "string", "suggested": true },		"tollfree": { "label": "Toll-free telephone number", "example": "+1 800 555-1234", "type": "string" },		"email": { "label": "Email", "description": "an email address for making reservations or getting more information", "example": "hotel@example.com", "type": "string", "suggested": true },		"fax": { "label": "Fax number", "example": "+44 (0)20 7499 2210", "type": "string" },		"url": { "suggested": true, "label": "URL", "description": "URL for the official Web site for this hotel", "example": "http://www.claridges.co.uk/", "type": "url", "suggested": true },		"checkin": { "label": "Check-in time", "description": "The normal earliest time for checking in. Use either 24-hour format (15:00) or 12-hour (3PM)", "example": "3PM", "type": "string", "suggested": true },		"checkout": { "label": "Check-out time", "description": "The normal time for leaving the hotel", "example": "noon", "type": "string", "suggested": true },		"price": { "suggested": true, "example": "£400 per night for a single room, and up", "type": "string", "suggested": true },		"lat": { "label": "Latitude", "description": "Decimal latitude (GPS coordinates) for map output", "example": "51.5125", "type": "number", "suggested": true },		"long": { "label": "Longitude", "description": "Decimal longitude (GPS coordinates) for map output", "example": "-0.1476", "type": "number", "suggested": true },		"lastedit": { "label": "Last update", "description": "The date when the listing was last updated, or when the information in the listing was last verified.", "example": "2016-06-30", "suggested": true, "type": "date", "autovalue": "" },		"content": { "label": "Description", "description": "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)", "type": "content", "suggested": true }	},	"description": "Listing template for places to sleep", "paramOrder": [ "name", "alt", "url", "email", "address", "lat", "long", "directions", "phone", "tollfree", "fax", "checkin", "checkout", "price", "lastedit", "content" ] }