Templat:Infobox organization/Wikidata/doc

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.

WHO
AbbreviationWHO
FormerlyOffice international d'hygiène publique
Established7 April 1948 (76 tahun lalu)
TypesBadan khusus bentukan Perserikatan Bangsa-Bangsa, penerbit akses terbuka
HeadquartersJenewa
CountrySwiss, Filipina
Official Languagesbahasa Inggris, bahasa Arab, bahasa Spanyol, bahasa Prancis, bahasa Rusia
DirectorsTedros Adhanom
Parent organisationsDewan Ekonomi dan Sosial Perserikatan Bangsa-Bangsa, Perserikatan Bangsa-Bangsa
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, World Health Organization 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

sunting
{{infobox organisation/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

sunting
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
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
Subject-specific parameters
Parameter Wikidata property
image gambar (P18)
image_upright
image_size
alt
caption keterangan media (P2096)
logo gambar logo (P154)
logo_size
logo_alt
logo_caption
map gambar logo (P154)
map_size
map_alt
map_caption
abbreviation nama singkat (P1813)
formerly menggantikan (P1365)
former_name
named_after dinamakan berdasarkan (P138)
pronunciation transkripsi IPA (P898)
motto semboyan, slogan, atau moto (P1451)
merger
established sejak (P571)
founders pendiri (P112)
founding_location lokasi pembentukan (P740)
dissolved tanggal pembubaran (P576)
type adalah (P31)
tax_id
legal status bentuk legal (P1454)
purpose
area_served
aim tujuan (P3712)
headquarters lokasi kantor pusat (P159)
location lokasi (P276)
country negara (P17)
coordinates koordinat tempat (P625)
membership jumlah anggota (P2124)
method
official_language bahasa resmi (P37)
owner dimiliki oleh (P127)
ceo pejabat eksekutif tertinggi (P169)
director manajer/direktur (P1037)
chairperson dipimpin oleh (P488)
parent_organisation organisasi induk (P749)
part_of bagian dari (P361)
subsidiary membawahkan (P355)
affiliations afiliasi (P1416)
budget anggaran (P2769)
revenue total omset (P2139)
disbursement
expenses total expenditure (P2402)
assets total aset (P2403)
staff jumlah pegawai (P1128)
volunteers number of volunteers (P6125)
awards penghargaan (P166)
url laman resmi (P856)

See also

sunting