Template:Infobox expedition/Wikidata/doc
![]() | This is a documentation subpage for Template:Infobox expedition/Wikidata. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | When adding an infobox using data from Wikidata, please check for consistency with the article and its references, and to address the inconsistencies observed, which can be done by amending the article or the Wikidata entry, or by supplying a better value to the infobox as a local parameter if this is what emerges from the sources. |
![]() | This template uses Lua: |

NO LABEL (P15) (see uses)
NO LABEL (P17) (see uses)
NO LABEL (P18) (see uses)
NO LABEL (P276) (see uses)
NO LABEL (P495) (see uses)
NO LABEL (P580) (see uses)
NO LABEL (P582) (see uses)
NO LABEL (P664) (see uses)
NO LABEL (P710) (see uses)
NO LABEL (P859) (see uses)
NO LABEL (P1037) (see uses)
NO LABEL (P1416) (see uses)
NO LABEL (P1427) (see uses)
NO LABEL (P1444) (see uses)
NO LABEL (P1559) (see uses)
NO LABEL (P1876) (see uses)
NO LABEL (P3712) (see uses)
NO LABEL (P8324) (see uses)
This version of {{Infobox expedition}} 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.
This template is under development as part of WikiProject Te Papa Research Expeditions.
The template calls Module:Wikidata and Module:WikidataIB.
Usage
Basic
Three Kings Islands 1970 | |
---|---|
Chatham Islands Expedition 1954 | |
---|---|
Franklin's Lost Expedition 1845-48 | |
---|---|
Just use: <syntaxhighlight lang="wikitext">
Infobox expedition/Wikidata/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.
General example
<syntaxhighlight lang="wikitext">
Infobox expedition/Wikidata/doc | |
---|---|
</syntaxhighlight>
This will prevent the infobox from displaying the fields for country or participants. |noicon=on
will suppress the pencil icons in favour of a single "edit on Wikidata" link at the bottom.
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 |
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) |
start_time | (P580) |
destination_point | (P1444) |
end_time | (P582) |
goal | (P3712) |
leader | (P1037) |
organiser | (P664) |
sponsor | (P859) |
funder | (P8324) |
affiliation | (P1416) |
vessels | (P1876) |
participants | (P710) |
routemap | (P15) |
routemap_size | |
routemap_alt | |
footnotes |
TemplateData
TemplateData for Infobox expedition/Wikidata
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
fetchwikidata | fetchwikidata | no description | Unknown | optional |
See also