Jump to content

Template:Infobox artwork/wikidata/doc

Kufuma Wikipedia
{{{title}}}
{{{other_language_1}}}: {{{other_title_1}}}, {{{other_language_2}}}: {{{other_title_2}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
{{{title}}} is located in Earth
{{{title}}}
{{{title}}}
{{{pushpin_map_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}}}
Coordinates0°N 0°E / 0°N 0°E / 0; 0
Accession No.{{{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.

Parameters

[kulemba source]
ParameterDefaultDescription
qidThe ID of the Wikidata entry to include if the page is not linked to a Wikidata entry
wikidataDepreciated. Use qid instead.
titleWikidata label (en)
(Or Page name)
The title of the artwork
painting_alignmentrightDepreciated - do not use. Usages where "left" were specified should be removed.
italic titleyesitalic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force.
other_language_1Language of secondary title
other_title_1Wikidata aliasSecondary title
other_language_2Language of tertiary title
other_title_2Tertiary title
imageimage (P18)The name of the image file to display, without the "File:" prefix
image_upright
altAlternative text for image
captionmedia legend (P2096)Caption for image
artistcreator (P170)Name of the artist(s) who created the piece
yearinception (P571)Set sourcing circumstances (P1480) = circa (Q5727902) to display {{circa}} before the date. Use {{start date}} unless before 1583 CE.
completion_dateUse {{start date}}; alternative to |year=.
catalogueReference in a catalogue raisonné.
mediummade from material (P186)Material used by the artist or designer to create the work of art. Examples: "Oil on canvas", "Bronze sculpture", "Ceramic tile"
movementmovement (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"
typeDeprecated due to ambiguity. Use medium and movement instead.
subjectmain 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_unite.g. 'cm'
imperial_unite.g. 'in'
weightmass (P2067)Weight of the artwork
designationheritage designation (P1435)Legal protection granted to the artwork
conditionCondition of the artwork
museum, citylocated in/on physical feature (P706), location (P276), ili mu chigaŵa (P131), chalo (P17) (fallback to continent (P30) for Antarctica)Museum that currently houses the artwork, and city / general place in which the artwork is currently located
coordsmalo ghake (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.
ownerowned by (P127)Current owner of the artwork
commissionedbycommissioned by (P88)Commissioner of the work
collectioncollection (P195)
accessioninventory number (P217)Accession or similar reference in the museum's database.
preceded_byfollows (P155)Preceding work by the same artist
followed_byfollowed by (P156)Next work by the same artist
modulean embedded template
website
url
official website (P856)Use {{URL}}, but only for an official webpage or website.
idJoconde work ID (P347)
RKDimages ID (P350)
Art UK artwork ID (P1679)
Bildindex der Kunst und Architektur ID (P2092)
The Met object ID (P3634)
Identifiers

Mapframe maps

[kulemba source]

A Mapframe map is automatically included if:

  • There are coordinates specified on the page's Wikidata item (or the item specified in |qid=)
  • It has not been turned off by setting |mapframe=no
  • Other map types have not been used (|pushpin_map= |map_type= and |image_map= not used)

The following optional parameters can be used to adjust the map

  • Basic {{Infobox mapframe}} parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
      • Internal onByDefault parameter: not specified
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata d:Property:P625
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-wikidata – Set to yes to show all shape/line features from OpenStreetMap. Default: not specified
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to none. Force display of shape by setting to on. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to none. Force display of line by setting to on. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for chalo (P17), P131 for ili mu chigaŵa (P131)). Default: not specified
    • mapframe-switcher – set to auto or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • auto – switch geomasks found in location (P276) and ili mu chigaŵa (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 parameter
      • zooms – 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 average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 300
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
      • mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
      • mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
      • mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
      • mapframe-line-stroke-width – Width of line features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: monument
      • Can also be set to blank to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 12
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified / not specified / not specified / not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified