Template:Buy/doc

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

TemplateData
{	"params": { "name": { "label": "Name", "description": "Name of the shop", "example": "Harrods", "type": "string", "suggested": true },		"alt": { "label": "Alt", "description": "An alternative name, former name, or name in the local language", "type": "string", "suggested": true },		"address": { "label": "Address", "description": "Street address, if relevant", "example": "87–135 Brompton Rd SW1X 7XL", "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": "tube: Knightsbridge", "type": "string", "suggested": true },		"phone": { "label": "Telephone number", "description": "For getting more information", "example": "+44 20 7730 1234", "type": "string", "suggested": true },		"tollfree": { "label": "Toll-free telephone number", "description": "Toll-free telephone number", "example": "+1 800 555-1234", "type": "string" },		"email": { "label": "Email", "description": "An email address for getting more information", "example": "hello@example.com", "type": "string", "suggested": true },		"fax": { "label": "Fax number", "description": "Fax number", "example": "+1 312 555-1234", "type": "string" },		"url": { "label": "URL", "description": "The URL for the official website for the shop", "example": "http://www.harrods.com/", "type": "url", "suggested": true },		"hours": { "label": "Hours", "description": "The opening and closing hours of the shop", "example": "M-Sa 10:00-20:00", "type": "string", "suggested": true },		"price": { "label": "Price", "description": "Price of average purchase", "example": "£50", "type": "string", "suggested": true },		"lat": { "label": "Latitude", "description": "Decimal latitude (GPS coordinates) for map output", "example": "51.4994", "type": "number", "suggested": true },		"long": { "label": "Longitude", "description": "Decimal longitude (GPS coordinates) for map output", "example": "-0.1632", "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": "Content", "description": "A description of the shop", "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.", "type": "content", "suggested": true }	},	"description": "Listing template for things to buy", "paramOrder": [ "name", "alt", "url", "email", "address", "directions", "lat", "long", "phone", "tollfree", "fax", "hours", "price", "lastedit", "content" ] }