Changes

Jump to navigation Jump to search
correct captions that are not P18
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:WikidataIB|Module:Check for unknown parameters}}
{{Uses Wikidata|P18|P154|P41|P242|P1813|P898|P138|P31|P1451|P1037|P169|P488|P37|P571|P112|P740|P576|P749|P361|P127|P355|P159|P276|P17|P625|P2769|P2139|P2402|P2403|P1128|P2124|P166|P856|P1365}}
{{warning|When adding an infobox using data from Wikidata, please '''check for consistency''' with the article and its references, and '''address the inconsistencies observed''', which can be done by amending the article or the Wikidata entry, or by supplying a better value to the infobox as a local parameter if this is what emerges from the sources.}}

This version of {{tl|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 ===
{{infobox organization/Wikidata
| qid=Q7817
| name=WHO
| fetchwikidata=ALL
| suppressfields=flag
| noicon=on
}}
Just use:
<pre>
{{infobox organization/Wikidata | fetchwikidata=ALL}}
</pre>
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 ===
<pre>
{{infobox organisation/Wikidata
| suppressfields=flag official_language
| noicon=on
...
}}
</pre>
This will prevent the infobox from displaying the fields for flag or . {{para|noicon|on}} will suppress the pencil icons in favour of a single "edit on Wikidata" link at the bottom (see WHO, right).

== Parameters ==
{| class="wikitable"
|+ Wikidata-specific parameters
! scope= column | Parameter
! scope= column | 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
|}

{| class="wikitable"
|+ Subject-specific parameters
! scope= column | Parameter
! scope= column | Wikidata property
|-
| image || {{Wikidata entity link|P18}}
|-
| image_upright ||
|-
| image_size ||
|-
| alt ||
|-
| caption || {{Wikidata entity link|P2096}}
|-
| logo || {{Wikidata entity link|P154}}
|-
| lgog_size ||
|-
| logo_alt ||
|-
| logo_caption ||
|-
| map || {{Wikidata entity link|P154}}
|-
| map_size ||
|-
| map_alt ||
|-
| map_caption ||
|-
| abbreviation || {{Wikidata entity link|P1813}}
|-
| pronunciation || {{Wikidata entity link|P898}}
|-
| named_after || {{Wikidata entity link|P138}}
|-
| type || {{Wikidata entity link|P31}}
|-
| motto || {{Wikidata entity link|P1451}}
|-
| director || {{Wikidata entity link|P1037}}
|-
| ceo || {{Wikidata entity link|P169}}
|-
| chairperson || {{Wikidata entity link|P488}}
|-
| official_language || {{Wikidata entity link|P37}}
|-
| established || {{wikidata entity link|P571}}
|-
| founders || {{wikidata entity link|P112}}
|-
| founding_location || {{wikidata entity link|P740}}
|-
| dissolved || {{Wikidata entity link|P576}}
|-
| merger ||
|-
| parent_organisation || {{Wikidata entity link|P749}}
|-
| part_of || {{Wikidata entity link|P361}}
|-
| owner ||{{Wikidata entity link|P127}}
|-
| subsidiary ||{{Wikidata entity link|P355}}
|-
| headquarters ||{{Wikidata entity link|P159}}
|-
| location ||{{Wikidata entity link|P276}}
|-
| country ||{{Wikidata entity link|P17}}
|-
| coordinates || {{wikidata entity link|P625}}
|-
| budget || {{Wikidata entity link|P2769}}
|-
| revenue || {{wikidata entity link|P2139}}
|-
| disbursement ||
|-
| expenses ||{{wikidata entity link|P2402}}
|-
| assets ||{{wikidata entity link|P2403}}
|-
| staff || {{wikidata entity link|P1128}}
|-
| membership || {{wikidata entity link|P2124}}
|-
| volunteers ||
|-
| awards || {{wikidata entity link|P166}}
|-
| url || {{wikidata entity link|P856}}
|-
| formerly || {{wikidata entity link|P1365}}
|-
| former_name ||
|}

== See also ==
* {{tl|Infobox organization}}

{{Wikidata infoboxes}}

<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Infobox templates using Wikidata]]
[[Category:Templates generating hCards]]
[[Category:Organization infobox templates]]
[[Category:Society and social science infobox templates]]
}}</includeonly>
Anonymous user

Navigation menu