Jump to content

टेम्पलेट: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 अप्रैल 1948 (76 years ago)
Typesspecialized agency of the United Nations, open-access publisher, international organization
Headquartersजेनेवा
Countryस्विट्जरलैंड, फिलिपींस
Official Languagesअंग्रेजी, अरबी भाषा, स्पेनिश भाषा, फ्रांसीसी भाषा, रूसी भाषा, चीनी भाषा
DirectorsTedros Adhanom Ghebreyesus
Parent organisationsUnited Nations Economic and Social Council, यूनाइटेड नेशंस
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.

{{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.

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 𑂓𑂫𑂱 (P18)
image_upright
image_size
alt
caption (P2096)
logo (P154)
logo_size
logo_alt
logo_caption
map (P154)
map_size
map_alt
map_caption
abbreviation 𑂓𑂷𑂗 𑂢𑂰𑂀𑂫 (P1813)
formerly (P1365)
former_name
named_after 𑂢𑂰𑂀𑂫 𑂍𑂵 𑂥𑂰𑂠 (P138)
pronunciation (P898)
motto (P1451)
merger
established (P571)
founders (P112)
founding_location (P740)
dissolved (P576)
type (P31)
tax_id
legal status (P1454)
purpose
area_served
aim (P3712)
headquarters (P159)
location (P276)
country देश (P17)
coordinates अक्षांस-देशांतर लोकेशन (P625)
membership (P2124)
method
official_language 𑂩𑂰𑂔𑂦𑂰𑂎𑂰 (P37)
owner (P127)
ceo (P169)
director (P1037)
chairperson (P488)
parent_organisation (P749)
part_of 𑂍𑂵 𑂯𑂱𑂮𑂹𑂮𑂰 (P361)
subsidiary (P355)
affiliations (P1416)
budget (P2769)
revenue (P2139)
disbursement
expenses (P2402)
assets (P2403)
staff (P1128)
volunteers (P6125)
awards (P166)
url ऑफिशियल वेबसाइट (P856)