Template:Infobox Product

维基百科,自由的百科全书
跳转至: 导航搜索
Documentation icon 模板文档[查看] [编辑] [页面历史] [清除]

用法[编辑]

{{ infobox product
| title            = 
| image            = 
| caption          = 
| inventor         = 
| launch year      = 
| company          = 
| available        = 
| current supplier = 
| last production  = 
| notes            = 
| url              =
}}

例子[编辑]

Template:Infobox product

{{ infobox product
| title            = Reason washing machine
| image            = 
| caption          = 
| inventor         = [[Andrew Reason]]
| launch year      = 2009
| company          = 
| available        = yes
| current supplier = Reason
| last production  = 
| notes            = 
}}

微格式[编辑]

此模板生成的HTML标记包含了hProduct微格式,能夠讓電腦解析产品的详情,便于维基百科自动地,或经由浏览器工具人工地将该条目编入搜索引擎所需的索引。關於维基百科中微格式的更多使用資訊,請參閱維基百科的微格式專題

如果产品有URL,请使用{{Url}}。

hProduct使用的HTML class包括:

  • brand
  • category
  • description
  • fn
  • hproduct
  • identifier
  • listing
  • photo
  • price
  • review
  • type
  • url
  • url
  • value

請勿移除或修改這些class; nor collapse nested elements which use them.

参见[编辑]