Template:Infobox organization/Wikidata/doc

From imedwiki
< Template:Infobox organization‎ | Wikidata
Jump to navigation Jump to search

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

WHO
EstablishedTemplate:Ifnotempty
Template:EditOnWikidata

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
 | suppressfields=flag official_language
 | noicon=on
...
}}

This will prevent the infobox from displaying the fields for flag or . |noicon=on will suppress the pencil icons in favour of a single "edit on Wikidata" link at the bottom (see WHO, right).

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
Subject-specific parameters
Parameter Wikidata property
image Template:Wikidata entity link
image_upright
image_size
alt
caption Template:Wikidata entity link
logo Template:Wikidata entity link
lgog_size
logo_alt
logo_caption
map Template:Wikidata entity link
map_size
map_alt
map_caption
abbreviation Template:Wikidata entity link
pronunciation Template:Wikidata entity link
named_after Template:Wikidata entity link
type Template:Wikidata entity link
motto Template:Wikidata entity link
aim Template:Wikidata entity link
director Template:Wikidata entity link
ceo Template:Wikidata entity link
chairperson Template:Wikidata entity link
official_language Template:Wikidata entity link
established Template:Wikidata entity link
founders Template:Wikidata entity link
founding_location Template:Wikidata entity link
dissolved Template:Wikidata entity link
merger
parent_organisation Template:Wikidata entity link
part_of Template:Wikidata entity link
owner Template:Wikidata entity link
subsidiary Template:Wikidata entity link
headquarters Template:Wikidata entity link
location Template:Wikidata entity link
country Template:Wikidata entity link
coordinates Template:Wikidata entity link
budget Template:Wikidata entity link
revenue Template:Wikidata entity link
disbursement
expenses Template:Wikidata entity link
assets Template:Wikidata entity link
staff Template:Wikidata entity link
membership Template:Wikidata entity link
volunteers
awards Template:Wikidata entity link
url Template:Wikidata entity link
formerly Template:Wikidata entity link
former_name

See also


This template is based (in parts) on the Template:Infobox organization/Wikidata/doc from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.