This is the template sandbox page for Template:Infobox artwork (diff). See also the companion subpage for test cases. |
This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This infobox should italicize the article title automatically. If this is not required, add |italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force . |
This template uses Lua: |
{{{title}}} | |
---|---|
{{{other_language_1}}}: {{{other_title_1}}}, {{{other_language_2}}}: {{{other_title_2}}} | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Artist | {{{artist}}} |
Year | {{{year}}} |
Catalogue | {{{catalogue}}} |
Medium | {{{medium}}} |
Movement | {{{movement}}} |
Subject | {{{subject}}} |
Dimensions | {{{height_metric}}} cm × {{{width_metric}}} cm × {{{length_metric}}} cm ({{{height_imperial}}} in × {{{width_imperial}}} in × {{{length_imperial}}} in); {{{diameter_metric}}} cm diameter ({{{diameter_imperial}}} in); {{{dimensions}}}{{{dimensions_ref}}} |
Weight | {{{weight}}} |
Designation | {{{designation}}} |
Condition | {{{condition}}} |
Location | {{{museum}}}, {{{city}}} |
0°N 0°E / 0°N 0°E | |
Owner | {{{owner}}} |
Accession | {{{accession}}} |
Preceded by | {{{preceded_by}}} |
Followed by | {{{followed_by}}} |
{{{module}}} | |
Website | {{{website}}} |
{{Infobox artwork
| title =
| other_language_1 =
| other_title_1 =
| other_language_2 =
| other_title_2 =
| wikidata =
| image =
| image_upright =
| alt =
| caption =
| artist =
| year = <!-- If after 1583 CE, use {{start date|YYYY}} -->
| completion_date = <!-- For a more specific date (post-1583): {{start date|YYYY|MM|DD|df=y}} -->
| catalogue =
| medium =
| movement =
| subject =
| height_metric = <!-- (i.e. in metric units) -->
| width_metric =
| length_metric =
| diameter_metric =
| height_imperial = <!-- (i.e. in imperial units) -->
| 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 = <!-- Only use for the coordinates (when known) of the artwork itself, i.e. not for the site, building, structure, etc. where it is kept, otherwise leave blank (or omit): {{coord|LAT|LON|type:landmark|display=inline,title}} -->
| owner =
| accession =
| preceded_by = <!-- preceding work by the same artist -->
| followed_by = <!-- next work by the same artist -->
| module =
| website = <!-- Official webpage/site only: {{URL|example.com}} -->
}}
|italic other_title_1=no
.|italic other_title_2=no
.|year=
.This template includes code that allows input of dimensional information: any of height, width, length, and diameter, as well as a freeform parameter for adding nonstandard information.
There are 11 parameters, of which most fall into two groups of unit types:
height_imperial
width_imperial
length_imperial
diameter_imperial
height_metric
width_metric
length_metric
diameter_metric
Once raw numerical values are established in the above parameters, the units are set in the imperial_unit
and metric_unit
parameters, which default to inches and centimetres respectively.
If information is provided in only one unit system, it is automatically converted to the other using the unit that is defined for that system. In general, this should be used, as for most pieces of artwork measurements will only be taken in one unit system. Do not use a comma as decimal indicator for metric units (as used in some European and other countries) since the conversion does not recognize commas and the imperial measurement will be calculated incorrectly (e.g. use 30.8 not 30,8).
Users should take care to avoid false precision: measurements should be provided in the same unit, and with the same number of significant digits, as when they were taken. ("1 metre" is far less precise than "1000.00 millimetres", even though they are, in theory, the same length!)
If additional dimensional data is needed, the dimensions
parameter can be used to add freeform information to the end of the rendered string. This parameter accepts raw wikitext and is not subject to any automatic conversion or modification ({{convert}} would have to be used manually).
References concerning artwork dimensions can be appended to the dimensional data by placing them in the optional dimensions_ref
parameter.
The coordinates=
parameter is used to display coordinates in the infobox, and optionally at the top of the page; use the {{coord}} template.
Two types of maps are available: pushpin maps (static) or mapframe maps (dynamic).
{{Infobox artwork
...
| coordinates = <!-- Use the {{Coord}} template. -->
| pushpin_map = <!-- Location name used for Template:Location map -->
| pushpin_map_alt = <!-- Location name used for Template:Location map -->
| pushpin_relief =
| pushpin_label_position =
| map_dot_label =
| map_size =
| pushpin_map_caption = <!-- Text to be displayed below map; for no caption enter "pushpin_map_caption="; -->
...
}}
A Mapframe map is automatically included if:
|mapframe=yes
|coord=
, or if the Wikidata item for the page (or as specified in |qid=
) has a value for coordinate location (P625)The following optional parameters can then be used to adjust the map
|mapframe-geomask=
is set, "Location in geomask's label"){{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified|coord={{Coord|12.34|N|56.78|E}}
. Default: coordinates from Wikidatayes
to show shape/line features from the wikidata item, if any, when |coord=
is set. Default: not specifiednone
. Use an inverse shape (geomask) instead of a regular shape by setting to inverse
. Default: not specifiednone
. Force point marker to be displayed by setting to on
. Default: not specifiednone
. Default: not specifiedP17
for country (P17), P131
for located in the administrative territorial entity (P131)). Default: not specifiedauto
or geomasks
or zooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
auto
– switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3
), "zoomed out" is 1
, and "zoomed midway" is the averageblank
to override any default marker symbolA list of modules containing maps that may be used can be found at:
The Potato Eaters | |
---|---|
Dutch: De Aardappeleters | |
Artist | Vincent van Gogh |
Year | 1885 |
Catalogue | F123 |
Medium | Oil on canvas |
Movement | Post-Impressionism |
Dimensions | 82 cm × 114 cm (321⁄4 in × 45 in) |
Condition | lost |
Location | Van Gogh Museum, Amsterdam |
52°21′30″N 4°52′52″E / 52.35833°N 4.88111°E | |
Owner | Made-up Foundation |
Accession | 1903-1234 |
Website | example |
{{Infobox artwork
| title = The Potato Eaters
| other_language_1 = [[Dutch language|Dutch]]
| other_title_1 = {{Lang|nl|De Aardappeleters}}
| image = Vincent Van Gogh - The_Potato_Eaters.png
| alt = Two men and three women eating potatoes
| caption =
| artist = [[Vincent van Gogh]]
| year = {{start date|1885}}
| catalogue = F123
| medium = [[Oil painting|Oil on canvas]]
| movement = [[Post-Impressionism]]
| height_metric = 82
| width_metric = 114
| height_imperial = 32{{1/4}}
| width_imperial = 45
| condition = lost
| museum = [[Van Gogh Museum]]
| city = [[Amsterdam]]
| coordinates = {{coord|52|21|30|N|4|52|52|E|region:NL_type:landmark|display=inline,title}}
| owner = Made-up Foundation
| accession = 1903-1234
| website = {{URL|example.com}}
}}
Manneken Pis | |
---|---|
Artist | Jerome Duquesnoy |
Year | 1388: original version 1619 : current version |
Medium | Bronze |
Dimensions | 61 cm (24 in) |
Location | Brussels |
50°50′42″N 4°21′00″E / 50.84499°N 4.34998°E |
{{Infobox artwork
| title = ''Manneken Pis''
| image = Bruxelles Manneken Pis.jpg
| image_upright = 1.1
| wikidata = Q152072
| artist = [[Jerome Duquesnoy]]
| year = 1388: original version<br />{{Start date|1619}}: current version
| medium = Bronze
| height_metric = 61
| city = [[Brussels]]
| coordinates = {{coord|50.84499|4.34998|display=inline,title}}
| pushpin_map = Belgium Brussels
| map_size = 250
}}
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox artwork in articles based on its TemplateData.
TemplateData for Infobox artwork An infobox for artwork
|
The HTML classes of this microformat include:
|medium=
)