Template:Infobox organization/Wikidata

☆ Save On Wikipedia ↗
Template documentation

This version of {{Infobox organisation}} retrieves various parameter values from Wikidata if enabled ("opt-in"), but only in the absence of a locally supplied value. The template calls Module:Wikidata and Module:WikidataIB.

It allows editors at the article level to blacklist various fields so that they do not display. This makes a positive statement that those fields are unsuitable for inclusion in that article's infobox.

Usage

Basic

World Health Organization
AbbreviationWHO
FormerlyInternational Office of Public Hygiene
Established7 April 1948 (78 years ago)
Typesspecialized agency of the United Nations, open-access publisher
HeadquartersGeneva
CountrySwitzerland
Official LanguagesEnglish language, Arabic, Spanish language, French language, Russian language
DirectorsTedros Adhanom Ghebreyesus
Parent organisationsUnited Nations Economic and Social Council, United Nations
SubsidiariesWorld Health Organization Regional Office for Africa, Pan American Health Organization, World Health Organization Regional Office for Europe, Alliance for Health Policy and Systems Research, World Health Organization (France), World Health Organization Regional Office for South-East Asia, WHO Regional Office for the Eastern Mediterranean, World Health Organization

Just use:

{{infobox organization/Wikidata  | fetchwikidata=ALL}}

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.

General example

{{infobox organization/Wikidata
 | fetchwikidata=ALL
 | suppressfields=flag official_language
 | noicon=on
 | dateformat=mdy
...
 | chairperson=Peter Pan
}}

This will fetch all available data, prevent the infobox from displaying the fields for flag or official language. |noicon=on will suppress the pencil icons in favour of a single "edit on Wikidata" link at the bottom (see WHO, right). |dateformat=mdy will change the date format to mdy. In addition, every parameter can be used to overwrite the data from Wikidata like the chairperson in the example.

Parameters

Wikidata-specific parameters
Parameter Effect
fetchwikidataallows a whitelist of fields that may be imported from Wikidata; set to "ALL" for all fields; defaults to none
suppressfieldsallows a blacklist of fields that may be displayed in this infobox; overrides whitelist; defaults to none
onlysourcedrejects Wikidata that is unsourced or only imported from a Wikipedia; values: yes/true/1 or no/false/0; defaults to yes
dateformatallows to set the date format for established and dissolved; values: dmy, mdy, or y; defaults to dmy
noicon"ON" will suppress the pencil icons in favour of a single "edit on Wikidata" link at the bottom
qidallows to set a special Wikidata ID, defaults to the current Wikipedia-Page
Subject-specific parameters
Parameter Wikidata property
imageimage (P18)
image_upright
image_size
alt
captionmedia legend (P2096)
logologo image (P154)
logo_size
logo_alt
logo_caption
maplogo image (P154)
map_size
map_alt
map_caption
abbreviationshort name (P1813)
formerlyreplaces (P1365)
former_name
named_afternamed after (P138)
pronunciationIPA transcription (P898)
mottomotto text (P1451)
merger
establishedinception (P571)
foundersfounder (P112)
founding_locationlocation of formation (P740)
dissolveddissolved, abolished or demolished date (P576)
typeinstance of (P31)
tax_id
legal statuslegal form (P1454)
purpose
area_served
aimhas goal (P3712)
headquartersheadquarters location (P159)
locationlocation (P276)
countrycountry (P17)
coordinatescoordinate location (P625)
membershipmember count (P2124)
method
official_languageofficial language (P37)
ownerowned by (P127)
ceochief executive officer (P169)
directordirector / manager (P1037)
chairpersonchairperson (P488)
parent_organisationparent organization or unit (P749)
part_ofpart of (P361)
subsidiarychild organization or unit (P355)
affiliationsaffiliation (P1416)
budgetbudget (P2769)
revenuetotal revenue (P2139)
disbursement
expensestotal expenditure (P2402)
assetstotal assets (P2403)
staffemployees (P1128)
volunteersnumber of volunteers (P6125)
awardsaward received (P166)
urlofficial website (P856)

See also