Template

Sleep/doc

From Halal Explorer

< Template:Sleep

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)
}}
  • Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted, 49 Brook St, . 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)Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permittedLua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted

See also

TemplateData

<templatedata> { "params": { "name": { "suggested": true, "label": "Name", "description": "Name of the hotel or accommodation", "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", "suggested": true }, "address": { "suggested": true, "label": "Address", "description": "A street address for finding the hotel, for places where this is meaningful", "example": "49 Brook St", "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", "suggested": true }, "phone": { "suggested": true, "label": "Telephone", "description": "For making reservations or getting information", "example": "+44 20 7629 8860", "suggested": true }, "tollfree": { "label": "Toll-free telephone number", "example": "+1 800 555-1234", "suggested": true }, "email": { "label": "Email", "description": "an email address for making reservations or getting more information", "example": "hotel@example.com", "suggested": true }, "fax": { "label": "Fax number", "example": "+44 (0)20 7499 2210", "suggested": true }, "url": { "suggested": true, "label": "URL", "description": "URL for the official Web site for this hotel", "example": "http://www.claridges.co.uk/", "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", "suggested": true }, "checkout": { "label": "Check-out time", "description": "The normal time for leaving the hotel", "example": "noon", "suggested": true }, "price": { "suggested": true, "example": "£400 per night for a single room, and up", "suggested": true }, "lat": { "label": "Latitude", "description": "Decimal latitude (GPS coordinates) for map output", "example": "51.5125", "suggested": true }, "long": { "label": "Longitude", "description": "Decimal longitude (GPS coordinates) for map output", "example": "-0.1476", "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, "autovalue": "{{subst:#time:Y-m-d}}" }, "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)", "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" ] } </templatedata>