跳转到内容

模板:Infobox restaurant/doc

维基百科,自由的百科全书

用法

[编辑]
{{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 餐厅网站
email Email

微格式

[编辑]

本模板产生的HTML记号包含了HCard 微格式,能够让电脑解析地点名称和位置,具有可自动将文章分类至适当类别的功能。在HCard中有Geo微格式,能让电脑分析经纬度资料,因此可在地图上查询,或下载至全球定位系统(GPS)装置。关于微格式的更多使用资讯,请参阅维基百科的微格式专题

hCard 使用以下的 HTML class:

  • adr
  • county-name
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • vcard

Geo由{{coord}}产生,并使用以下的HTML class:

  • geo
  • latitude
  • longtitude

请勿将这些class更名或删除。

当指定经纬度数值时,请避免太过详细。