Template:Buy
Jump to navigation
Jump to search
This documentation is transcluded from Template:Buy/doc. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
{{buy
| name = | alt = | url = | email =
| address = | lat = | long = | directions =
| phone = | tollfree = | fax =
| hours = | price =
| lastedit=
| content =
}}
Parameters
- name: the name of the shop. Required.
- alt: an alternative name, either in the local language or just an alternative. Optional.
- address: a street address for finding the shop, 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 getting more information. Recommended.
- tollfree: a toll-free phone number, if available. Optional.
- email: an email address for getting more information. Optional.
- fax: a fax number. Optional.
- url: the URL for the official Web site for this shop (see external links for more guidelines). Recommended.
- hours: opening hours of the shop, when applicable. Recommended.
- price: price of an average purchase. 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
* {{buy
| name=Harrods | alt= | url=http://www.harrods.com/ | email=
| address=87–135 Brompton Rd SW1X 7XL | lat= | long= | directions=tube: Knightsbridge
| phone=+44 20 7730 1234 | tollfree= | fax=
| hours=M-Sa 10:00-20:00 | price=
| lastedit=2015-01-15
| content=The most famous store in London, favoured by the British establishment and owned by Mohamed Al-Fayed. Fairly strict dress code so do not turn up looking like a backpacker and expect to gain entrance.
}}
- Harrods, 87–135 Brompton Rd SW1X 7XL (tube: Knightsbridge), ☏ +44 20 7730 1234. M-Sa 10:00-20:00. The most famous store in London, favoured by the British establishment and owned by Mohamed Al-Fayed. Fairly strict dress code so do not turn up looking like a backpacker and expect to gain entrance.
See also
TemplateData
Listing template for things to buy
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the shop
| String | suggested |
Alt | alt | An alternative name, former name, or name in the local language | String | suggested |
URL | url | The URL for the official website for the shop
| URL | suggested |
email | An email address for getting more information
| String | suggested | |
Address | address | Street address, if relevant
| String | suggested |
Directions | directions | Additional brief directions besides the street address, such as cross streets, nearby subway or bus stations.
| String | suggested |
Latitude | lat | Decimal latitude (GPS coordinates) for map output
| Number | suggested |
Longitude | long | Decimal longitude (GPS coordinates) for map output
| Number | suggested |
Telephone number | phone | For getting more information
| String | suggested |
Toll-free telephone number | tollfree | Toll-free telephone number
| String | optional |
Fax number | fax | Fax number
| String | optional |
Hours | hours | The opening and closing hours of the shop
| String | suggested |
Price | price | Price of average purchase
| 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 |
Content | content | A description of the shop
| Content | suggested |