Template:Infobox artwork/wikidata/doc

From indicwiki
< Template:Infobox artwork‎ | wikidata
Revision as of 20:07, 20 May 2022 by Sarika (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> {{Lua|Module:Infobox|Module:InfoboxImage|Module:Coordinates|Module:Check for unknown parame...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to navigation Jump to search

Usage[edit source]

IndicWiki Infobox
List of infoboxes
Style and help
Help:Infobox
Style and help
Help:Infobox
Style and help
Help:Infobox
Style and help
Help:Infobox

Template:Italic title

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[edit source]

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 Template:Wikidata entity link The name of the image file to display, without the "File:" prefix
image_upright
alt Alternative text for image
caption Template:Wikidata entity link Caption for image
artist Template:Wikidata entity link Name of the artist(s) who created the piece
year Template:Wikidata entity link Set Template:Wikidata entity link = Template:Q 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 Template:Wikidata entity link Material used by the artist or designer to create the work of art. Examples: "Oil on canvas", "Bronze sculpture", "Ceramic tile"
movement Template:Wikidata entity link 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 Template:Wikidata entity link Subject(s) of the artwork
height_metric
height_imperial
Template:Wikidata entity link
width_metric
width_imperial
Template:Wikidata entity link
length_metric
length_imperial
Template:Wikidata entity link or Template:Wikidata entity link 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 Template:Wikidata entity link Weight of the artwork
designation Template:Wikidata entity link Legal protection granted to the artwork
condition Condition of the artwork
museum, city Template:Wikidata entity link, Template:Wikidata entity link, Template:Wikidata entity link, Template:Wikidata entity link (fallback to Template:Wikidata entity link for Antarctica) Museum that currently houses the artwork, and city / general place in which the artwork is currently located
coords Template:Wikidata entity link 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 Template:Wikidata entity link Current owner of the artwork
commissionedby Template:Wikidata entity link Commissioner of the work
collection Template:Wikidata entity link
accession Template:Wikidata entity link Accession or similar reference in the museum's database.
preceded_by Template:Wikidata entity link Preceding work by the same artist
followed_by Template:Wikidata entity link Next work by the same artist
module an embedded template
website
url
Template:Wikidata entity link Use {{URL}}, but only for an official webpage or website.
id Template:Wikidata entity link
Template:Wikidata entity link
Template:Wikidata entity link
Template:Wikidata entity link
Template:Wikidata entity link
Identifiers