跳至內容

模板:Infobox artwork/doc

維基百科,自由的百科全書
{{{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             = [[梵谷博物館]]
}}

模板數據

模板數據
以下是該模板的模板資料,適用於視覺化編輯器等工具。

Infobox artwork模板資料

An infobox for artwork

模板參數

此模板以參數區塊格式為優先。

參數描述類型狀態
標題title

藝術品的標題。默認為頁面名稱。

字串非必填
圖像image image_file

要顯示的圖像文件的名稱,不帶「文件:」前綴

檔案非必填
圖像大小image_size

圖像的大小(以像素為單位),可以使用後綴「px」

數值不建議使用
圖像比例image_upright

圖像縮放係數;人像應縮小

預設
1.36
範例
1.1
數值非必填
圖像替代文字alt

可代替圖像顯示和/或供盲人閱讀的圖像說明

字串非必填
圖像說明caption

圖像下方顯示的標題

字串非必填
次要標題語言other_language_1

次要標題的語言

字串非必填
次要標題other_title_1

次要標題

字串非必填
第三標題語言other_language_2

第三標題的語言

字串非必填
第三標題other_title_2

第三標題

字串非必填
藝術家artist

創作該作品的藝術家的姓名

字串非必填
設計師designer

沒有描述

不明非必填
年份year

藝術品創作年份

字串非必填
完成日期completion_date

藝術品完成的日期。僅當年份參數未定義時才顯示。

字串非必填
目錄編號catalogue catalog

藝術品的目錄編號,例如「F454」

字串非必填
類型type

藝術品的類型。建議改用「medium」和「movement」。

字串不建議使用
媒介medium material

創作藝術作品時使用的材料

範例
紙本木炭
字串非必填
流派movement

藝術運動或運動,通常與藝術作品或藝術家職業生涯中創作藝術作品的時間有關。必須參照可靠來源。

範例
後印象派
自動值
字串非必填
主題subject

藝術品的主題

字串非必填
高度(公制)height_metric

藝術品的高度,以米、厘米等為單位,不含單位

數值非必填
寬度(公制)width_metric

藝術品的寬度,以米、厘米等為單位,不含單位

數值非必填
長度(公制)length_metric

藝術品的長度,以米、厘米等為單位,不含單位

數值非必填
高度(英制)height_imperial

藝術品的高度,以英尺、英寸等為單位,不含單位

數值非必填
高度(增加英寸)height_inch

如果英制單位設置為英尺,則可以將英寸精度添加到高度中。

數值非必填
寬度(英制)width_imperial

藝術品的寬度,單位為英尺、英寸等,不含單位

數值非必填
寬度(增加英寸)width_inch

如果英制單位設置為英尺,則可以在寬度上增加英寸精度

數值非必填
長度(英制)length_imperial

藝術品的長度,以英尺、英寸等為單位,不含單位

數值非必填
Length (inch addition)length_inch

如果英制單位設置為英尺,則可以將英寸精度添加到長度中,而不需要單位 「英寸」。

數值非必填
直徑(公制)diameter_metric

藝術品的直徑,單位為米、厘米等,不含單位

數值非必填
直徑(英制)diameter_imperial

藝術品的直徑,單位為英尺、英寸等,不含單位

數值非必填
公制單位metric_unit

用作公制單位的單位,如 「m 」或 「cm」

預設
cm
字串非必填
英制單位imperial_unit

用作英制或美國習慣單位的單位,如 「in」或 「ft」

預設
in
字串非必填
尺寸dimensions

附加或非標準維度數據可作為原始維基文本放在這裡。

字串非必填
尺寸參考dimensions_ref

任何有關藝術品尺寸的參考資料都可以作為原始維基文本(包括 「ref 」標籤)放在這裡。

字串非必填
重量weight

藝術品的重量

字串非必填
指定designation

對藝術品的法律保護

字串非必填
狀態condition

藝術品的狀況

字串非必填
國家country

沒有描述

不明非必填
博物館museum

目前收藏藝術品的博物館

字串非必填
城市city

藝術品當前所在的城市

字串非必填
坐標coordinates

藝術品的坐標

字串非必填
藏主owner

該藝術品的當前所有者

字串非必填
登錄號accession

藝術品的登錄號

字串非必填
前作preceded_by

沒有描述

不明非必填
續作followed_by

沒有描述

不明非必填
嵌入module

嵌入其他模板

字串非必填
網站website url

藝術品的網站

字串非必填
painting_alignmentpainting_alignment

沒有描述

不明非必填
italic other_title_1italic other_title_1

沒有描述

不明非必填
italic other_title_2italic other_title_2

沒有描述

不明非必填
pushpin_mappushpin_map

沒有描述

不明非必填
pushpin_map_altpushpin_map_alt

沒有描述

不明非必填
pushpin_map_captionpushpin_map_caption

沒有描述

不明非必填
pushpin_reliefpushpin_relief

沒有描述

不明非必填
pushpin_label_positionpushpin_label_position

沒有描述

不明非必填
map_dot_labelmap_dot_label

沒有描述

不明非必填
map_sizemap_size

沒有描述

不明非必填
heightheight

沒有描述

不明不建議使用
lengthlength

沒有描述

不明不建議使用
widthwidth

沒有描述

不明不建議使用

微格式

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

參見