Template:Infobox artwork/wikidata | |
---|---|
![]() | 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}}}]] {{{caption}}} | |
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}}} |
Just add:
{{Infobox artwork/wikidata}}
to the top of an article, and data will be automatically included from Wikidata where they are available. These values can be overridden by passing values to the relevant parameters in the article (if need be), e.g.:
{{Infobox artwork/wikidata
| name =
}}
If you want to not show some properties, you can do so by giving the parameter name to the suppressfields parameter like this:
{{Infobox artwork/wikidata
| suppressfields = subject; movement
}}
Many parameters need references in Wikidata before they will be displayed here.
Parameter | Default | Description |
---|---|---|
qid | – | The ID of the Wikidata entry to include if the page is not linked to a Wikidata entry |
wikidata | – | Depreciated. Use qid instead. |
title | Wikidata label (en) (Or Page name) |
The title of the artwork |
painting_alignment | right | Depreciated - do not use. Usages where "left" were specified should be removed. |
italic title | yes | italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force. |
other_language_1 | Language of secondary title | |
other_title_1 | Wikidata alias | Secondary title |
other_language_2 | Language of tertiary title | |
other_title_2 | Tertiary title | |
image | image (P18) | The name of the image file to display, without the "File:" prefix |
image_upright | ||
alt | Alternative text for image | |
caption | media legend (P2096) | Caption for image |
artist | creator (P170) | Name of the artist(s) who created the piece |
year | inception (P571) | Set sourcing circumstances (P1480) = circa (Q5727902) to display {{circa}} before the date. Use {{start date}} unless before 1583 CE. |
completion_date | Use {{start date}}; alternative to |year= .
| |
catalogue | Reference in a catalogue raisonné. | |
medium | made from material (P186) | Material used by the artist or designer to create the work of art. Examples: "Oil on canvas", "Bronze sculpture", "Ceramic tile" |
movement | movement (P135) | Art movement, or movements, typically associated with work of art or time during artist's career when work of art was created. Must be verifiable through sources. Examples: "Post-Impressionism", "Pop art" |
type | Deprecated due to ambiguity. Use medium and movement instead. | |
subject | main subject (P921) | Subject(s) of the artwork |
height_metric height_imperial |
height (P2048) | |
width_metric width_imperial |
width (P2049) | |
length_metric length_imperial |
length (P2043) or thickness (P2610) | Don't include both - if you do you'll end up with four dimensions being shown! |
diameter_metric diameter_imperial |
||
dimensions | ||
dimensions_ref | ||
metric_unit | e.g. 'cm' | |
imperial_unit | e.g. 'in' | |
weight | mass (P2067) | Weight of the artwork |
designation | heritage designation (P1435) | Legal protection granted to the artwork |
condition | Condition of the artwork | |
museum, city | located in/on physical feature (P706), location (P276), located in the administrative territorial entity (P131), country (P17) (fallback to continent (P30) for Antarctica) | Museum that currently houses the artwork, and city / general place in which the artwork is currently located |
coords | coordinate location (P625) | Use {{coord}}, but only for the exact coordinates (when known) of the artwork's own location, i.e. not coordinates for the site, building, structure, etc. where it is kept; leave blank otherwise. |
owner | owned by (P127) | Current owner of the artwork |
commissionedby | commissioned by (P88) | Commissioner of the work |
collection | collection (P195) | |
accession | inventory number (P217) | Accession or similar reference in the museum's database. |
preceded_by | follows (P155) | Preceding work by the same artist |
followed_by | followed by (P156) | Next work by the same artist |
module | an embedded template | |
website url |
official website (P856) | Use {{URL}}, but only for an official webpage or website. |
id | Joconde work ID (P347) RKDimages ID (P350) Art UK artwork ID (P1679) Bildindex der Kunst und Architektur ID (deprecated) (P2092) The Met object ID (P3634) |
Identifiers |
A Mapframe map is automatically included if:
|qid=
)|mapframe=no
|pushpin_map=
|map_type=
and |image_map=
not used)The following optional parameters can 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 symbol