Template:Infobox exhibition/doc

From English Wikipedia @ Freddythechick

This {{Infobox}} template retrieves various parameter values from Wikidata if enabled ("opt-in") as long as that information is sourced on Wikidata to a source other than Wikipedia. Editors can provide a local value at the article level to override or prevent specific fields from displaying, i.e., to indicate that those fields are unsuitable for inclusion in that article's infobox. This template has no option/parameter to display unsourced values.

The template calls Module:Wikidata and Module:WikidataIB.

Usage

Te Maori

Just use: <syntaxhighlight lang="wikitext">

Infobox exhibition/doc

</syntaxhighlight> and you should get a Wikidata-filled infobox. (Providing the article is linked to a Wikidata entry containing relevant information) This will by default only fetch information that is sourced on Wikidata. This is an important safeguard for Biographies of Living Persons.

Examples

When used on a page sitelinked from the Wikidata item, the |qid= and |name= parameters aren't required, but can be used if you want to override the sitelink or page title.

<syntaxhighlight lang="wikitext">

Te Maori

</syntaxhighlight>

The |suppressfields= parameter will prevent the infobox from displaying the fields you identify.

<syntaxhighlight lang="wikitext">

Infobox exhibition/doc

</syntaxhighlight>

Parameters

Wikidata-specific parameters
Parameter Effect
fetchwikidata allows a whitelist of fields that may be imported from Wikidata; set to "ALL" for all fields; defaults to none
suppressfields allows a blacklist of fields that may be displayed in this infobox; overrides whitelist; defaults to none
noicon set to "on" to remove pencil icon links for each statement, in place of an "edit on Wikidata" link at the bottom of the infobox
Subject-specific parameters
Parameter Wikidata property
name
image (P18)
image_upright
image_size
alt
caption (P2096)
native_name (P1559)
country (P17)
location (P276)
country_of_origin (P495)
start_point (P1427)
via_point (P2825)
end_point (P1444)
curator (P1640)
organiser (P664)
sponsor (P859)
funder (P8324)
affiliation (P1416)
exhibited (P1436)
follows (P155)
followed_by (P156)
footnotes

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox exhibition in articles based on its TemplateData.

TemplateData for Infobox exhibition

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
fetchwikidatafetchwikidata

no description

Unknownoptional