Template:Infobox restaurant/doc
外观
| 此頁面是Template:Infobox restaurant的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
用法
[编辑]{{Infobox Restaurant
| name =
| name_en =
| image =
| image_width =
| image_caption =
| slogan =
| logo =
| logo_width =
| established =
| current-owner =
| head-chef =
| food-type =
| dress-code =
| rating =
| street-address =
| city =
| state =
| zip =
| country =
| founder =
| seating-capacity =
| reservations =
| other-locations =
| other-information =
| website =
| email =
}}
说明
[编辑]| 字段 | 说明 |
| name | 餐廳名稱(必填) |
| name_en | 餐廳名稱(英文) |
| image | 餐廳圖片 |
| image_width | 图片尺寸 |
| image_caption | 描述 |
| slogan | 餐廳口號 |
| logo | 餐廳標誌 |
| logo_width | 標誌大小 |
| established | 餐廳開業日期 |
| current-owner | 当前所有者 |
| head-chef | 總廚 |
| food-type | 餐廳食物類別 |
| dress-code | 餐厅的着装规定(便装、半正式、正装) |
| rating | 餐廳評價(Michelin Guide, Zagat's Survey, etc.) |
| street-address | 餐厅所在街道 |
| city | 餐厅所在城市 |
| state | 餐厅所在的州 |
| zip | 餐厅所在地的邮政编码 |
| country | 餐厅所在的国家 |
| founder | 创始人 |
| coordinates | 餐厅的地理坐标(使用{{coord}}) |
| seating-capacity | 餐厅座位数 |
| reservations | 是否需要预约 |
| other-locations | Are there other locations? Is the restaurant fanchised? |
| other-information | 其他信息 |
| website | 餐厅网站 |
微格式
[编辑]本模板產生的HTML記號包含了HCard 微格式,能夠讓電腦解析地點名稱和位置,具有可自動將文章分類至適當類別的功能。在HCard中有Geo微格式,能讓電腦分析经纬度資料,因此可在地圖上查詢,或下載至全球定位系统(GPS)裝置。關於微格式的更多使用資訊,請參閱維基百科的微格式專題。
hCard 使用以下的 HTML class:
adrcounty-namefnlabellocalitynicknamenoteorgvcard
Geo由{{coord}}產生,並使用以下的HTML class:
geolatitudelongtitude
请勿将这些class更名或删除。
當指定經緯度數值時,請避免太過詳細。