ਫਰਮਾ: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.

Usage[ਸੋਧੋ]

Basic[ਸੋਧੋ]

ਵਿਸ਼ਵ ਸਿਹਤ ਸੰਗਠਨ
AbbreviationWHO
FormerlyOffice international d'hygiène publique
Established7 ਅਪਰੈਲ 1948 (76 ਸਾਲ ਪਹਿਲਾਂ)
Typesspecialized agency of the United Nations, open-access publisher, ਅੰਤਰਰਾਸ਼ਟਰੀ ਸੰਗਠਨ
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
Employeesਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "p-1" does not exist।

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 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[ਸੋਧੋ]

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)

See also[ਸੋਧੋ]