Template:Drink/doc
This is a documentation subpage for Template:Drink. It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit]{{drink
| name = | alt = | url = | email =
| address = | lat = | long = | directions =
| phone = | tollfree = | fax =
| hours = | price =
| lastedit=
| content =
}}
Parameters
[edit]- name: the name of the bar, café, or whatever. Required.
- alt: an alternative name, either in the local language or just an alternative. Optional.
- address: a street address for finding the bar, 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 bar (see external links for more guidelines). Recommended.
- hours: opening hours of the bar, when applicable. Recommended.
- price: price of a drink, or price of admission. 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]* {{drink
| name=Groucho's | alt= | url= | email=
| address=8355 S Pulaski Ave | lat= | long= | directions=
| phone=+1 773 767-4838 | tollfree= | fax=
| hours=M-F 2PM-4AM, Sa noon-5AM, Su noon-4AM; Kitchen open until 3AM | price=Admission: $5, entrees: $5-11
| lastedit=2015-01-15
| content=A decent South Side rock club featuring better-known local and regional acts. As an added bonus, the kitchen serves bar food all night.
}}
- Groucho's, 8355 S Pulaski Ave, ☏ +1 773 767-4838. M-F 2PM-4AM, Sa noon-5AM, Su noon-4AM; Kitchen open until 3AM. A decent South Side rock club featuring better-known local and regional acts. As an added bonus, the kitchen serves bar food all night. Admission: $5, entrees: $5-11.
See also
[edit]TemplateData
[edit]Describe where you can have a drink
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the bar, café, or whatever. | String | required |
Alternative name | alt | An alternative name, either in the local language or just an alternative. | String | suggested |
Web site | url | The URL for the official Web site for this bar (see external links for more guidelines). | URL | suggested |
email | An email address for making reservations or getting more information. | String | suggested | |
Address | address | A street address for finding the bar, for places where this is meaningful. | String | suggested |
Latitude | lat | Decimal latitude (GPS coordinates) for map output. 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.
| Number | suggested |
Longitude | long | Decimal longitude (GPS coordinates) for map output. 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.
| Number | suggested |
Directions | directions | Additional brief directions besides the street address, such as cross streets, nearby subway or bus stations. | String | suggested |
Phone | phone | A phone number for making reservations or getting more information. | String | suggested |
Tollfree | tollfree | A toll-free phone number, if available. | String | optional |
Fax | fax | A fax number. | String | optional |
Hours | hours | Opening hours of the place, when applicable. | String | suggested |
Price | price | Average price of a drink, or price of admission. | String | suggested |
Last Edit | 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).
| Date | suggested |
Content | content | Description of the place | Content | suggested |