Template:Infobox organization/Wikidata
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
Abbreviation | WHO |
---|---|
Formerly | International Office of Public Hygiene |
Established | 7 April 1948 (77 years ago) |
Types | specialized agency of the United Nations, open-access publisher |
Headquarters | Geneva |
Country | Switzerland, Philippines |
Official Languages | English language, Arabic, Spanish language, French language, Russian language |
Directors | Tedros Adhanom Ghebreyesus |
Parent organisations | United Nations Economic and Social Council, United Nations |
Subsidiaries | World 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 Regional Office for the Western Pacific |
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
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 |
onlysourced | rejects Wikidata that is unsourced or only imported from a Wikipedia; values: yes/true/1 or no/false/0; defaults to yes |
dateformat | allows 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 |
qid | allows to set a special Wikidata ID, defaults to the current Wikipedia-Page |
Parameter | Wikidata property |
---|---|
image | image (P18) |
image_upright | |
image_size | |
alt | |
caption | media legend (P2096) |
logo | logo image (P154) |
logo_size | |
logo_alt | |
logo_caption | |
map | logo image (P154) |
map_size | |
map_alt | |
map_caption | |
abbreviation | short name (P1813) |
formerly | replaces (P1365) |
former_name | |
named_after | named after (P138) |
pronunciation | IPA transcription (P898) |
motto | motto text (P1451) |
merger | |
established | inception (P571) |
founders | founded by (P112) |
founding_location | location of formation (P740) |
dissolved | dissolved, abolished or demolished date (P576) |
type | instance of (P31) |
tax_id | |
legal status | legal form (P1454) |
purpose | |
area_served | |
aim | has goal (P3712) |
headquarters | headquarters location (P159) |
location | location (P276) |
country | country (P17) |
coordinates | coordinate location (P625) |
membership | member count (P2124) |
method | |
official_language | official language (P37) |
owner | owned by (P127) |
ceo | chief executive officer (P169) |
director | director / manager (P1037) |
chairperson | chairperson (P488) |
parent_organisation | parent organization (P749) |
part_of | part of (P361) |
subsidiary | has subsidiary (P355) |
affiliations | affiliation (P1416) |
budget | budget (P2769) |
revenue | total revenue (P2139) |
disbursement | |
expenses | total expenditure (P2402) |
assets | total assets (P2403) |
staff | employees (P1128) |
volunteers | number of volunteers (P6125) |
awards | award received (P166) |
url | official website (P856) |
See also
- {{Infobox organization}}
- Usage of Infobox