模板:Eat/doc
此页面是Template:Eat的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
模板介绍
[编辑]使用方法
[编辑]示例
[编辑]注意事项
[编辑]参见
[编辑]给模板编辑者的说明
[编辑]模板结构
[编辑]实现方法
[编辑]编辑注意
[编辑]Template Data
[编辑]Listing template for restaurants and other places to eat
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Name | name | The name of the restaurant, café, or whatever.
| 内容 | 推荐 |
Alternative name | alt | An alternative name, either in the local language or just an alternative. | 内容 | 可选 |
Address | address | A street address for finding the restaurant, for places where this is meaningful.
| 内容 | 推荐 |
Directions | directions | Additional brief directions besides the street address, such as cross streets, nearby subway or bus stations.
| 内容 | 可选 |
Phone | phone | A phone number for making reservations or getting more information.
| 数字 | 推荐 |
Toll-free | tollfree | A toll-free phone number, if available.
| 数字 | 可选 |
email | An email address for making reservations or getting more information.
| 内容 | 推荐 | |
Fax | fax | A fax number.
| 数字 | 可选 |
URL | url | The URL for the official Web site for this attraction (see [[external links]] for more guidelines).
| URL | 推荐 |
Wikipedia article | wikipedia | Name of the Wikipedia article on this place (if it exists)
| 页面名称 | 可选 |
Opening hours | hours | Opening hours of the restaurant, when applicable.
| 内容 | 推荐 |
Price | price | Price of an average meal, or price of a drink in case of bars.
| 内容 | 推荐 |
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.
| 数字 | 可选 |
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.
| 数字 | 可选 |
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).
| 日期 | 推荐 |
Content | content | Additional description with information on reservation, amenities, dress code and whatnot.
| 内容 | 推荐 |