Template:Buy

From Wikivoyage
Jump to: navigation, search

.

[view] [edit] [history] [purge] Template-info.svg Template documentation

Usage

{{buy
 | name    = | alt = | url = | email = 
 | address = | lat = | long = | directions = 
 | phone   = | tollfree = | fax = 
 | hours   = | price = 
 | lastedit=
 | content =
}}

Parameters

  • name: the name of the shop. Recommended.
  • 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

Template parameters

Parameter Description Type Status
Name name

Name of the shop

Default
empty
Example
Harrods
Auto value
empty
Unknown suggested
Alt alt

An alternative name, former name, or name in the local language

Default
empty
Example
empty
Auto value
empty
Unknown suggested
URL url

The URL for the official website for the shop

Default
empty
Example
http://www.harrods.com/
Auto value
empty
Unknown suggested
Email email

An email address for getting more information

Default
empty
Example
hello@example.com
Auto value
empty
Unknown suggested
Address address

Street address, if relevant

Default
empty
Example
87–135 Brompton Rd SW1X 7XL
Auto value
empty
Unknown suggested
Directions directions

Additional brief directions besides the street address, such as cross streets, nearby subway or bus stations.

Default
empty
Example
tube: Knightsbridge
Auto value
empty
Unknown suggested
Latitude lat

Decimal latitude (GPS coordinates) for map output

Default
empty
Example
51.49940
Auto value
empty
Unknown suggested
Longitude long

Decimal longitude (GPS coordinates) for map output

Default
empty
Example
-0.16323
Auto value
empty
Unknown suggested
Telephone number phone

For getting more information

Default
empty
Example
+44 20 7730 1234
Auto value
empty
Unknown suggested
Toll-free telephone number tollfree

Toll-free telephone number

Default
empty
Example
+1 800 555-1234
Auto value
empty
Unknown suggested
Fax number fax

Fax number

Default
empty
Example
+1 312 555-1234
Auto value
empty
Unknown suggested
Hours hours

The opening and closing hours of the shop

Default
empty
Example
M-Sa 10:00-20:00
Auto value
empty
Unknown suggested
Price price

Price of average purchase

Default
empty
Example
£50
Auto value
empty
Unknown suggested
Last update lastedit

The date when the listing was last updated, or when the information in the listing was last verified.

Default
empty
Example
2016-06-30
Auto value
{{subst:#time:Y-m-d}}
Unknown suggested
Content content

A description of the shop

Default
empty
Example
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.
Auto value
empty
Unknown suggested