[go: nahoru, domu]

跳转到内容

Template:Infobox artwork

被永久保护的模板
维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]
{{{title}}}
{{{other_language_1}}}:{{{other_title_1}}}、​{{{other_language_2}}}:{{{other_title_2}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
{{{pushpin_map_alt}}}
{{{pushpin_map_alt}}}
{{{map_dot_label}}}
{{{pushpin_map_caption}}}
藝術家{{{artist}}}
年份{{{year}}}
目錄編號{{{catalogue}}}
媒介{{{medium}}}
流派{{{movement}}}
主題{{{subject}}}
尺寸{{{height_metric}}} cm × {{{width_metric}}} cm × {{{length_metric}}} cm({{{height_imperial}}} in × {{{width_imperial}}} in × {{{length_imperial}}} in); 直径 {{{diameter_metric}}} cm ({{{diameter_imperial}}} in); {{{dimensions}}}{{{dimensions_ref}}}
重量{{{weight}}}
定名{{{designation}}}
狀態{{{condition}}}
收藏國家/地區{{{country}}}
收藏地{{{city}}}{{{museum}}}
座標0°N 0°E / 0°N 0°E / 0; 0
藏主{{{owner}}}
登錄號{{{accession}}}
前作{{{preceded_by}}}
續作{{{followed_by}}}
{{{module}}}
網址{{{website}}}

用法

{{Infobox artwork
| title              = 
| other_language_1   = 
| other_title_1      = 
| other_language_2   = 
| other_title_2      = 
| image              = 
| image_upright      = 
| alt                = 
| caption            = 
| artist             = 
| year               =  <!-- 若在公元1583年之后,使用{{start date|YYYY}} -->
| completion_date    =  <!-- year与completion_date二选一即可,使用{{start date|YYYY|MM|DD}} -->
| catalogue          = 
| medium             = 
| movement           = 
| subject            = 
| height_metric      =  <!-- 公制单位 -->
| width_metric       = 
| length_metric      = 
| diameter_metric    = 
| height_imperial    =  <!-- 英制单位 -->
| width_imperial     = 
| length_imperial    = 
| diameter_imperial  = 
| dimensions         = 
| dimensions_ref     = 
| metric_unit        = cm  <!-- Note: this parameter must either use the value given or not be included -->
| imperial_unit      = in  <!-- Note: this parameter must either use the value given or not be included -->
| weight             = 
| designation        = 
| condition          = 
| museum             = 
| city               = 
| coordinates        =  <!-- 仅填写艺术品本身的坐标,而非存放艺术品的建筑的坐标,{{coord|LAT|LON|type:landmark|display=inline,title}} -->
| owner              = 
| accession          = 
| preceded_by        =  <!-- 该艺术家的上一件作品 -->
| followed_by        =  <!-- 该艺术家的下一件作品 -->
| module             = 
| website            =  <!-- 仅限官方网页/网站,{{URL|example.com}} -->
}}

如果使用无单位的 height、width 参数,条目将被归入Category:使用过时艺术品信息模板语法的条目

示例

吃馬鈴薯的人
藝術家梵谷
年份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             = [[梵谷博物館]]
}}

此模板生成的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。

參見