Difference between revisions of "Template:Infobox organization/Wikidata/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>MJL
(Copied content from Special:Permalink/987540993)
imported>MJL
(restore some wikidata)
 
Line 8: Line 8:
 
| subheader2 = {{#if:{{{native_name|{{{native name|}}}}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name|{{{native name}}}}}}</div>}}
 
| subheader2 = {{#if:{{{native_name|{{{native name|}}}}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name|{{{native name}}}}}}</div>}}
  
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|{{{organization_logo|{{{Non-profit_logo|}}}}}}}}} |size={{{logo_size|}}} |sizedefault=250px |alt={{{logo_alt|}}} }}
+
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{#invoke:InfoboxImage|InfoboxImage |image={{#invoke:WikidataIB |getValue |rank=best |P154 |name=logo |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes |{{{logo|{{{organization_logo|{{{Non-profit_logo|}}}}}}}}}}} |size={{{logo_size|}}} |sizedefault=250px |alt={{{logo_alt|}}} }}
 
| caption = {{{logo_caption|}}}
 
| caption = {{{logo_caption|}}}
  
| image2 = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{imagesize|{{{size|}}}}}}}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
+
| image2 = {{#invoke:InfoboxImage|InfoboxImage |image={{#invoke:WikidataIB |getValue |rank=best |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes |{{{image|}}}}} |size={{{image_size|{{{imagesize|{{{size|}}}}}}}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
| caption2 = {{{caption|}}}
+
| caption2 = {{#if:{{{image|}}}|{{{caption|}}}|{{#invoke:WikidataIB|getValue|P18|qual=P2096|qualsonly=y|fwd=ALL}}}}
  
| image3 = {{#invoke:InfoboxImage|InfoboxImage |image={{{map|}}} |size={{{map_size|{{{msize|}}}}}} |sizedefault=250px |alt={{{map_alt|{{{malt|}}}}}} }}
+
| image3 = {{#invoke:InfoboxImage|InfoboxImage |image={{#invoke:WikidataIB |getValue |rank=best |P242 |name=map |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes |{{{map|}}}}} |size={{{map_size|{{{map_size|}}}}}} |size={{{map_size|{{{msize|}}}}}} |sizedefault=250px |alt={{{map_alt|{{{malt|}}}}}} }}
 
| caption3 = {{{map_caption|{{{mcaption|}}}}}}
 
| caption3 = {{{map_caption|{{{mcaption|}}}}}}
  
Line 35: Line 35:
 
| label1  = Abbreviation
 
| label1  = Abbreviation
 
| class1  = nickname
 
| class1  = nickname
|  data1  = {{{abbreviation|}}}
+
|  data1  = {{#invoke:WikidataIB | getValue |rank=best |P1813 |name=abbreviation |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |{{{abbreviation|}}} }}
  
 
| label2  = Nickname
 
| label2  = Nickname
Line 43: Line 43:
 
| label3 = Pronunciation
 
| label3 = Pronunciation
 
|  data3 = {{#if:{{{pronounce|}}}{{{Pronounce|}}}{{{Pronunciation|}}}{{{pronunciation|}}}{{{pronounce comment|}}} |<!--
 
|  data3 = {{#if:{{{pronounce|}}}{{{Pronounce|}}}{{{Pronunciation|}}}{{{pronunciation|}}}{{{pronounce comment|}}} |<!--
-->{{Unbulleted list|1={{{pronounce|}}}{{{Pronounce|}}}{{{Pronunciation|}}}{{{pronunciation|}}}{{{pronounce ref|}}}&#x20;{{{pronounce comment|}}}<!--
+
-->{{Unbulleted list|1={{{pronounce|}}}{{{Pronounce|}}}{{{Pronunciation|}}}{{#invoke:WikidataIB |getValue |rank=best |P898 |name=pronunciation |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |{{{pronunciation|}}} }}{{{pronounce ref|}}}&#x20;{{{pronounce comment|}}}<!--
 
     -->|2={{{pronounce 2|}}} }}}}
 
     -->|2={{{pronounce 2|}}} }}}}
  
Line 51: Line 51:
 
| label5  = Motto
 
| label5  = Motto
 
| class5  = note
 
| class5  = note
|  data5  = {{{motto|{{{organization_motto|{{{pledge|}}}}}}}}}
+
|  data5  = {{#invoke:WikidataIB | getValue |rank=best |P1451 |name=motto |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |{{{motto|{{{organization_motto|{{{pledge|}}}}}}}}} }}
  
 
| label6  = Predecessor
 
| label6  = Predecessor
Line 64: Line 64:
 
| label9  = {{#if:{{{formation|}}} |Formation |{{#if:{{{founded_date|{{{founded|}}}}}}|Founded|Established}} }}
 
| label9  = {{#if:{{{formation|}}} |Formation |{{#if:{{{founded_date|{{{founded|}}}}}}|Founded|Established}} }}
 
| class9  = note
 
| class9  = note
|  data9  = {{if empty |{{{formation|}}} |{{{established|}}} |{{{founded_date|{{{founded|}}}}}} }}
+
|  data9  = {{if empty |{{{formation|}}} |{{#invoke:WikidataIB | getValue |rank=best |P571 |name=established |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |{{{established|}}} }} {{ifnotempty | {{#invoke:WikidataIB | getValue |rank=best |P571 |name=established |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |{{{established|}}} }} | ({{Years or months ago|{{Str number/trim|{{wikidata|property|raw|{{{qid|}}}|P571}} }} }}) }} |{{{founded_date|{{{founded|}}}}}} }}
  
| label10  = Founder{{#if:{{{founders|}}}|s}}
+
| label10  = Founder{{#if:{{{founder|}}}||s}}
|  data10  = {{#if:{{{founders|}}} |{{{founders}}} |{{{founder|}}} }}
+
|  data10  = {{#if:{{{founder|}}} |{{{founder}}} |{{#invoke:WikidataIB | getValue |rank=best |P112 |name=founders |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{founders|}}} }} }}
  
 
| label11  = Founded at
 
| label11  = Founded at
|  data11  = {{{founding_location|}}}
+
|  data11  = {{#invoke:WikidataIB | getValue |rank=best |P740 |name=founding_location |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |{{{founding_location|}}} }}
  
 
| label12  = {{#if:{{{defunct|}}}|Defunct|Dissolved}}
 
| label12  = {{#if:{{{defunct|}}}|Defunct|Dissolved}}
|  data12  = {{{defunct|{{{dissolved|}}}}}}
+
|  data12  = {{#invoke:WikidataIB | getValue |rank=best |P576 |name=dissolved |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |{{{defunct|{{{dissolved|}}}}}} }}
  
 
| label13  = Merger&nbsp;of
 
| label13  = Merger&nbsp;of
Line 79: Line 79:
  
 
| label14 = Type
 
| label14 = Type
|  data14 = {{{type|{{{organization_type|{{{Non-profit_type|}}}}}}}}}
+
|  data14 = {{#invoke:WikidataIB | getValue |rank=best |P31 |name=type |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | list={{{list|}}} |{{{type|{{{organization_type|{{{Non-profit_type|}}}}}}}}} }}
  
 
| label15 = {{longitem |{{#if:{{{vat_id|}}} |[[VAT identification number|VAT ID no.]] |[[Taxpayer Identification Number|Tax ID no.]]}} }}
 
| label15 = {{longitem |{{#if:{{{vat_id|}}} |[[VAT identification number|VAT ID no.]] |[[Taxpayer Identification Number|Tax ID no.]]}} }}
Line 97: Line 97:
  
 
| label20 = Headquarters
 
| label20 = Headquarters
|  data20 = {{{headquarters|}}}
+
|  data20 = {{#invoke:WikidataIB | getValue |rank=best |P159 |name=headquarters |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} | {{{headquarters|}}} }}
  
 
| label21 = Location
 
| label21 = Location
Line 130: Line 130:
  
 
| label23 = Coordinates
 
| label23 = Coordinates
|  data23 = {{{coordinates|{{{coords|}}}}}}
+
|  data23 = {{#if:{{{coords|}}}{{{coordinates|}}} |  {{if empty|{{{coordinates|}}}|{{{coords|}}}}} | {{#if:{{#Property:P625}} | {{If first display both|{{Coord|display=inline,title|format=dms}}|{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|P625}} }}{{EditAtWikidata|pid=P625}} }} }} }}
  
 
| label24 = Origins
 
| label24 = Origins
Line 152: Line 152:
  
 
| label30 = {{longitem |Members{{#if:{{{num_members|{{{members|}}}}}}||hip}} {{#if:{{{num_members_year|{{{membership_year|}}}}}} |{{nobold|({{{num_members_year|{{{membership_year|}}}}}})}} }} }}
 
| label30 = {{longitem |Members{{#if:{{{num_members|{{{members|}}}}}}||hip}} {{#if:{{{num_members_year|{{{membership_year|}}}}}} |{{nobold|({{{num_members_year|{{{membership_year|}}}}}})}} }} }}
|  data30 = {{#if:{{{num_members|{{{members|}}}}}} |{{{num_members|{{{members}}}}}} |{{{membership|}}} }}
+
|  data30 = {{#if:{{{num_members|{{{members|}}}}}} |{{{num_members|{{{members}}}}}} |{{#invoke:WikidataIB | getValue |rank=best |P2124 |name=membership |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{membership|}}} }} }}
  
 
| label31 = {{longitem |Official language{{#if:{{{languages|}}}|s}} }}
 
| label31 = {{longitem |Official language{{#if:{{{languages|}}}|s}} }}
|  data31 = {{#if:{{{languages|}}} |{{{languages}}} |{{{language|}}} }}
+
|  data31 = {{#if:{{{languages|}}} |{{{languages}}} |{{#invoke:WikidataIB | getValue |rank=best |P37 |name=official_language |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{official_language|{{{language|}}}}}} }} }}
  
 
| label32 = Owner{{#if:{{{owners|}}}|s}}
 
| label32 = Owner{{#if:{{{owners|}}}|s}}
Line 185: Line 185:
  
 
| label41 = {{longitem|Parent organi{{#if:{{{parent_organisation|}}}|s|z}}ation}}
 
| label41 = {{longitem|Parent organi{{#if:{{{parent_organisation|}}}|s|z}}ation}}
|  data41 = {{#if:{{{parent_organisation|}}} |{{{parent_organisation}}} |{{{parent_organization|}}} }}
+
|  data41 = {{#invoke:WikidataIB | getValue |rank=best |P749 |name=parent_organisation |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{#if:{{{parent_organisation|}}} |{{{parent_organisation}}} |{{{parent_organization|}}} }} }}
  
 
| label42 = [[Subsidiary|Subsidiaries]]
 
| label42 = [[Subsidiary|Subsidiaries]]
|  data42 = {{#if:{{{subsidiaries|}}} |{{{subsidiaries}}} |{{{subsid|}}} }}
+
|  data42 = {{#invoke:WikidataIB | getValue |rank=best |P355 |name=subsidiary |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{subsidiary|{{#if:{{{subsidiaries|}}} |{{{subsidiaries}}} |{{{subsid|}}} }}}}} }}
  
 
| label43 = Secessions
 
| label43 = Secessions
Line 197: Line 197:
  
 
| label45 = {{longitem |Budget {{#if:{{{budget_year|}}} |{{nobold|({{{budget_year}}})}} }} }}
 
| label45 = {{longitem |Budget {{#if:{{{budget_year|}}} |{{nobold|({{{budget_year}}})}} }} }}
|  data45 = {{{budget|}}}
+
|  data45 = {#invoke:WikidataIB | getValue |rank=best |P2769 |name=budget |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{budget|}}} }}
  
 
| label46 = {{longitem |Revenue {{#if:{{{revenue_year|{{{income_year|}}}}}} |{{nobold|({{{revenue_year|{{{income_year|}}}}}})}} }} }}
 
| label46 = {{longitem |Revenue {{#if:{{{revenue_year|{{{income_year|}}}}}} |{{nobold|({{{revenue_year|{{{income_year|}}}}}})}} }} }}
|  data46 = {{{revenue|{{{income|}}}}}}
+
|  data46 = {{#invoke:WikidataIB | getValue |rank=best |P2139 |name=revenue |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{revenue|{{{income|}}}}}} }}
  
 
| label47 = Disbursements
 
| label47 = Disbursements
Line 206: Line 206:
  
 
| label48 = Expenses {{#if:{{{expenses_year|}}} | {{nobold|({{{expenses_year}}})}} }}
 
| label48 = Expenses {{#if:{{{expenses_year|}}} | {{nobold|({{{expenses_year}}})}} }}
|  data48 = {{{expenses|{{{spent|{{{expense|}}}}}}}}}
+
|  data48 = {{#invoke:WikidataIB | getValue |rank=best |P2402 |name=expenses |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{expenses|{{{spent|{{{expense|}}}}}}}}} }}
  
 
| label49 = [[Financial endowment|Endowment]] {{#if:{{{endowment_year|}}} | {{nobold|({{{endowment_year}}})}} }}
 
| label49 = [[Financial endowment|Endowment]] {{#if:{{{endowment_year|}}} | {{nobold|({{{endowment_year}}})}} }}
Line 212: Line 212:
  
 
| label50 = {{longitem |{{#if:{{{num_staff|}}}{{{staff|}}} |Staff |Employees}} {{#if:{{{num_staff_year|{{{staff_year|{{{num_employees_year|{{{employees_year|}}}}}}}}}}}} |{{nobold|({{{num_staff_year|{{{staff_year|{{{num_employees_year|{{{employees_year|}}}}}}}}}}}})}} }} }}
 
| label50 = {{longitem |{{#if:{{{num_staff|}}}{{{staff|}}} |Staff |Employees}} {{#if:{{{num_staff_year|{{{staff_year|{{{num_employees_year|{{{employees_year|}}}}}}}}}}}} |{{nobold|({{{num_staff_year|{{{staff_year|{{{num_employees_year|{{{employees_year|}}}}}}}}}}}})}} }} }}
|  data50 = {{if empty |{{{num_staff|}}} |{{{staff|}}} |{{{num_employees|}}} |{{{employees|}}} }}
+
|  data50 = {{if empty |{{{num_staff|}}} |{{#invoke:WikidataIB | getValue |rank=best |P1128 |name=staff |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{staff|}}} }} |{{{num_employees|}}} |{{{employees|}}} }}
  
 
| label51 = {{longitem |Volunteers {{#if:{{{num_volunteers_year|{{{volunteers_year|}}}}}} |{{nobold|({{{num_volunteers_year|{{{volunteers_year|}}}}}})}} }} }}
 
| label51 = {{longitem |Volunteers {{#if:{{{num_volunteers_year|{{{volunteers_year|}}}}}} |{{nobold|({{{num_volunteers_year|{{{volunteers_year|}}}}}})}} }} }}
Line 221: Line 221:
  
 
| label53 = Award(s)
 
| label53 = Award(s)
|  data53 = {{{awards|}}}
+
|  data53 = {{#invoke:WikidataIB | getValue |rank=best |P166 |name=awards |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |list={{{list|}}} |{{{awards|}}} }}
  
 
| label54 = Website
 
| label54 = Website
|  data54 = {{{website|{{{homepage|}}}}}}
+
|  data54 = {{#invoke:WikidataIB |url2 |url= {{#invoke:WikidataIB | getValue |rank=best |P856 |name=url |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |{{{url|{{{website|{{{homepage|}}}}}}}}} }} }}
  
 
| label55 = Remarks
 
| label55 = Remarks
Line 234: Line 234:
  
 
| belowstyle = border-top:#aaa 1px solid;
 
| belowstyle = border-top:#aaa 1px solid;
| below = {{{footnotes|}}}
+
| below = {{EditOnWikidata|noicon={{{noicon|false}}}}} {{{footnotes|}}}
  
 
}}<!-- Tracking categories:
 
}}<!-- Tracking categories:
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox organization with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox organization]] with unknown parameter "_VALUE_"|ignoreblank=y| abbreviation | additional_location | additional_location2 | addnl_location | addnl_location_city | addnl_location_city2 | addnl_location_country | addnl_location_country2 | addnl_location2 | affiliations | alt | area_served | awards | board_of_directors | bodystyle | budget | budget_year | caption | coordinates | coords | defunct | disbursed | disbursement | disbursements | dissolved | employees | employees_year | endowment | endowment_year | established | expense | expenses | expenses_year | field | fields | foci | focus | footnotes | formation | former | former name | former_name | formerly | founded | founded_date | founder | founders | founding_location | full name | full name lang | full_name | full_name_lang | gen_sec | general | headquarters | homepage | image | image_alt | image_size | imagesize | income | income_year | key_people | language | languages | leader_name | leader_name2 | leader_name3 | leader_name4 | leader_title | leader_title2 | leader_title3 | leader_title4 | location | location_city | location_city2 | location_country | location_country2 | location2 | logo | logo_alt | logo_caption | logo_size | main_organ | malt | map | map dot label | map_alt | map_caption | map_dot_label | map_relief | map_size | map_type | map2 | map2_alt | map2_caption | map2_size | mcaption | members | membership | membership_year | merged | merger | method | methods | motto | msize | name | named_after | native name | native_name | native_name_lang | nickname | Non-profit_logo | Non-profit_name | Non-profit_type | num_employees | num_employees_year | num_members | num_members_year | num_staff | num_staff_year | num_volunteers | num_volunteers_year | organization_logo | organization_motto | organization_name | organization_type | origins | owner | owners | parent_organisation | parent_organization | pledge | predecessor | product | products | professional_title | pronounce | Pronounce | pronounce 2 | pronounce comment | pronounce ref | Pronunciation | pronunciation | publication | purpose | pushpin_map | pushpin_relief | region | region_served | registration_id | remarks | revenue | revenue_year | sec_gen | secessions | services | size | spent | staff | staff_year | status | students | students_year | subsid | subsidiaries | successor | tax_id | type | vat_id | volunteers | volunteers_year | website }}<!--Tracking cat for native name lang parameter-->{{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}||[[Category:Infoboxes without native name language parameter]]}}|}}<noinclude>
+
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox organization with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox organization/Wikidata]] with unknown parameter "_VALUE_"|ignoreblank=y |qid |suppressfields |fetchwikidata |onlysourced |noicon |list |abbreviation | additional_location | additional_location2 | addnl_location | addnl_location_city | addnl_location_city2 | addnl_location_country | addnl_location_country2 | addnl_location2 | affiliations | alt | area_served | awards | board_of_directors | bodystyle | budget | budget_year | caption | coordinates | coords | defunct | disbursed | disbursement | disbursements | dissolved | employees | employees_year | endowment | endowment_year | established | expense | expenses | expenses_year | field | fields | foci | focus | footnotes | formation | former | former name | former_name | formerly | founded | founded_date | founder | founders | founding_location | full name | full name lang | full_name | full_name_lang | gen_sec | general | headquarters | homepage | image | image_alt | image_size | imagesize | income | income_year | key_people | language | languages | leader_name | leader_name2 | leader_name3 | leader_name4 | leader_title | leader_title2 | leader_title3 | leader_title4 | location | location_city | location_city2 | location_country | location_country2 | location2 | logo | logo_alt | logo_caption | logo_size | main_organ | malt | map | map dot label | map_alt | map_caption | map_dot_label | map_relief | map_size | map_type | map2 | map2_alt | map2_caption | map2_size | mcaption | members | membership | membership_year | merged | merger | method | methods | motto | msize | name | named_after | native name | native_name | native_name_lang | nickname | Non-profit_logo | Non-profit_name | Non-profit_type | num_employees | num_employees_year | num_members | num_members_year | num_staff | num_staff_year | num_volunteers | num_volunteers_year | organization_logo | organization_motto | organization_name | organization_type | origins | owner | owners | parent_organisation | parent_organization | pledge | predecessor | product | products | professional_title | pronounce | Pronounce | pronounce 2 | pronounce comment | pronounce ref | Pronunciation | pronunciation | publication | purpose | pushpin_map | pushpin_relief | region | region_served | registration_id | remarks | revenue | revenue_year | sec_gen | secessions | services | size | spent | staff | staff_year | status | students | students_year | subsid | subsidiaries | subsidiary | successor | tax_id | type | url | vat_id | volunteers | volunteers_year | website }}<!--Tracking cat for native name lang parameter-->{{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}||[[Category:Infoboxes without native name language parameter]]}}|}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:39, 1 January 2021

Template:PAGENAMEBASE
Employees
Script error: No such module "If empty".
Formerly called
Script error: No such module "If empty".
50px Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata

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
CoordinatesLua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value).Template:WikidataScript error: No such module "EditAtWikidata".

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 Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P18)
image_upright
image_size
alt
caption Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2096)
logo Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P154)
lgog_size
logo_alt
logo_caption
map Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P154)
map_size
map_alt
map_caption
abbreviation Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1813)
pronunciation Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P898)
named_after Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P138)
type Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P31)
motto Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1451)
aim Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P3712)
director Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1037)
ceo Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P169)
chairperson Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P488)
official_language Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P37)
established Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P571)
founders Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P112)
founding_location Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P740)
dissolved Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P576)
merger
parent_organisation Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P749)
part_of Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P361)
owner Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P127)
subsidiary Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P355)
headquarters Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P159)
location Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P276)
country Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P17)
coordinates Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P625)
budget Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2769)
revenue Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2139)
disbursement
expenses Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2402)
assets Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2403)
staff Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1128)
membership Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2124)
volunteers
awards Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P166)
url Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P856)
formerly Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1365)
former_name

See also

Template:Wikidata infoboxes