Template:Infobox artwork
维基媒体模板 / 維基百科,自由的 encyclopedia
事实速览
关闭
此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
用法
{{ 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。
參見
- {{Infobox Artist}}
- {{Image information art}} - 作品資料
上述文档嵌入自Template:Infobox artwork/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |