模板:Infobox artwork

被永久保護的模板
維基百科,自由的百科全書
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

用法

吃馬鈴薯的人
藝術家梵谷
年份1885
類型油彩/畫布
尺寸82 cm × 114 cm(32¼ in × 45 in)
收藏地阿姆斯特丹梵谷博物館
{{ infobox artwork
| image_file         = Vincent Van Gogh - The_Potato_Eaters.png
| painting_alignment = right
| image_size         = 300px
| title              = 吃馬鈴薯的人
| artist             = [[梵谷]]
| year               = 1885
| type               = [[油畫|油彩/畫布]]
| height_metric      = 82
| width_metric       = 114
| height_imperial    = 32¼
| width_imperial     = 45
| city               = [[阿姆斯特丹]]
| museum             = [[梵谷博物館]]
}}

空模版

{{Infobox artwork
| title              = 
| image_file         = 
| caption            = 
| painting_alignment = 
| image_size         = 
| alt                = 
| other_language_1   = 
| other_title_1      = 
| other_language_2   = 
| other_title_2      = 
| artist             = 
| catalogue          = 
| year               = {{start date|YYYY}} <!--remove date template if before 1583 CE -->
| type               = 
| material           = 
| subject            = 
| height_metric      = 
| width_metric       = 
| length_metric      = 
| height_imperial    = 
| width_imperial     = 
| length_imperial    = 
| diameter_metric    = 
| diameter_imperial  = 
| dimensions         = 
| metric_unit        = cm<!--don't leave blank—either don't include it, or include the default cm. -->
| imperial_unit      = in<!--don't leave blank—either don't include it, or include the default in. -->
| condition          = 
| country            =
| city               = 
| museum             = 
| accession          = 
| coordinates        = <!-- Only use for the exact coordinates of the artwork itself (and only where known) and not for the coordinates of the museum. Leave blank if coordinates are not known. -->
| owner              = 
| url                = <!--{{URL|example.com}} Only for official web pages-->
}}

如果使用無單位的 height、width 參數,條目將被歸入Category:使用過時藝術品信息模板語法的條目

此模板生成的HTML標記包含了hProduct微格式,能夠讓電腦解析產品的詳情,便於維基百科自動地,或經由瀏覽器工具人工地將該條目編入搜尋引擎所需的索引。關於維基百科中微格式的更多使用資訊,請參閱維基百科的微格式專題

如果產品有URL,請使用 {{Url}}。

hProduct使用的HTML class包括:

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

請勿重新命名或移除這些class和使用這些參數的collapse nested elements。

參見