This page is protected against editing.

Template:Wikidata Infobox

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Plantilla:Wikidata Infobox (es); Nodyn:Wikidata Infobox (cy); Modèle:Infobox Wikidata (fr); ઢાંચો:Wikidata Infobox (gu); Bản mẫu:Hộp thông tin Wikidata (vi); قالب:صندوق معلومات ويكي بيانات (ar); Mall:Wikidata Infobox (sv); ߞߙߊߞߏ:ߥߞߌߘߕߊ ߌ߲߬ߝߏߓߐߞߛ (nqo); Шаблон:Wikidata Infobox (ru); साचा:विकिडाटा माहितीचौकट (mr); Vorlage:Wikidata Infobox (de); Predefinição:Infocaixa Wikidata (pt); Teimpléad:WD Bosca Sonraí (ga); ഫലകം:Wikidata Infobox (ml); Template:Wikidata Infobox (zh); Şablon:Wikidata Infobox (ku); ढाँचा:Wikidata Infobox (ne); سانچہ:Wikidata Infobox (ur); Predefinição:Infocaixa Wikidata (pt-br); साँचा:विकिडाटा ज्ञानसन्दूक (hi); Templat:Kotak info Wikidata (id); फलकम्:Wikidata Infobox (sa); Mal:Wikidata Infobox (nb); Citakan:Kotak info Wikidata (su); 模板:Wikidata Infobox (zh-hant); Mal:Infobox Wikidata (ban); మూస:Wikidata Infobox (te); داڕێژە:زانیاریدانی ویکیدراوە (ckb); Template:Wikidata Infobox (en); ထာမ်ပလိက်:Wikidata Infobox (mnw); 模板:Wikidata Infobox (zh-hans); Vorlog:Wikidata Infobox (bar) plantilla de Wikimedia (es); Templat Wikimedia (ms); Wikimedia template (en-gb); ويکيمېډيا کينډۍ (ps); Уикимедия шаблон (bg); Vikimedya şablonu (tr); 維基媒體模板 (zh-hk); šablóna projektov Wikimedia (sk); modèl de Wikimèdia (oc); 維基媒體模板 (zh-hant); 维基媒体模板 (zh-cn); Wikimedia-Vorlage (gsw); 위키미디어 틀 (ko); fyrimynd Wikimedia (fo); Vikimedia ŝablono (eo); šablona na projektech Wikimedia (cs); Wikimedia-Vorlog (bar); plantilla de Wikimedia (an); উইকিমিডিয়া টেমপ্লেট (bn); modèle de Wikimedia (fr); cithakan Wikimedia (jv); विकिपीडिया:साचा (mr); ଉଇକିମିଡ଼ିଆ ଛାଞ୍ଚ (or); Wikimedia projekta veidne (lv); plantilia ti Wikimedia (ilo); Викимедијин шаблон (sr); predefinição da Wikimedia (pt-br); Wikimedia template (sco); Wikimedia-Schabloun (lb); Wikimedia-mal (nn); Wikimedia-mal (nb); citakan Wikimédia (su); Wikimedia template (en); قالب ويكيميديا (ar); ߥߞߌߡߋߘߌߦߊ߫ ߞߙߊߞߏ (nqo); 維基媒體模 (yue); Wikimédia-sablon (hu); વિકિપીડિયા ઢાંચો (gu); Wikimediako txantiloia (eu); šablon na Wikimediji (bs); plantía de Wikimedia (ast); шаблон проекта Викимедиа (ru); Викимедиа ҡалыбы (ba); nodyn Wikimedia (cy); Викимедин проектан кеп (ce); шаблон праекта Вікімедыя (be); Викимедијин шаблон (sr-ec); 维基媒体模板 (zh); Wikimedia-berjocht (fy); ვიკიმედიის თარგი (ka); ウィキメディアのテンプレート (ja); 维基媒体模板 (zh-hans); Wikimedia-Vörlaag (nds); Wikimedia-malline (fi); Wikimedia-skabelon (da); תבנית של ויקימדיה (he); formula Vicimediorum (la); Wikimedia mall (et); விக்கிமீடியா வார்ப்புரு (ta); వికీమీడియా మూస (te); Wikimedia-málle (se); шаблони лоиҳаи Викимедиа (tg-cyrl); Wikimedia template (en-ca); шаблони лоиҳаи Викимедиа (tg); shabloni loihai Vikimedia (tg-latn); template di un progetto Wikimedia (it); 維基媒體模板 (zh-tw); bản mẫu Wikimedia (vi); szablon w projekcie Wikimedia (pl); шаблён праекту Вікімэдыі (be-tarask); หน้าแม่แบบวิกิมีเดีย (th); Wikimedia-föörlaag (frr); Wikimedia-Vorlage (de); Викимедиина предлошка (mk); àdàkọ Wikimedia (yo); Wikimedia-sjabloon (zea); predefinição da Wikimedia (pt); şablona Wîkîmediyayê (ku-latn); format Wikimedia (ro); Վիքիմեդիայի նախագծի կաղապար (hy); Vikimedijos šablonas (lt); الگوی ویکی‌مدیا (fa); Padrong pang-Wikimedia (tl); plantilla de Wikimedia (ca); шаблон проекту Вікімедіа (uk); templat Wikimedia (id); kigezo cha Wikimedia (sw); വിക്കിമീഡിയ ഫലകം (ml); Wikimedia-sjabloon (nl); Wikimedia-mal (nds-nl); Ulmang pang-Wikimedia (pam); Wikimedia-sjabloon (li); Wikimedia-Foarloage (stq); modelo da Wikimedia (gl); Wikimedia-mall (sv); Πρότυπο εγχειρήματος Wikimedia (el); stampë e Wikimedias (sq)
Template:Wikidata Infobox 
Wikimedia template
Frideborg Winblad (1869-1964) infobox.png
Upload media
Wikipedia-logo-v2.svg  Wikipedia
Wikivoyage-logo.svg  Wikivoyage
Instance ofWikimedia multi-site page,
Wikimedia template
Maintained by
Different from
  • Template:Universal infobox
  • Template:Databox
  • Template:Infobox Wikidata
  • Template:Infobox Wikidata
Authority control
Edit infobox data on Wikidata
Protected This template has been protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Wikidata Infobox/doc.
WikidataCon Award 2019
अमेजन नदी (dty); Amazůnka (szl); Amasónfljót (is); Sungai Amazon (ms); Амазонкæ (os); Amazon River (en-gb); آمازوناس آیالات (ps); دریائے ایمیزون (pnb); دریائے ایمیزون (ur); Amazonka (sk); Амазонка (uk); Amazonka (tk); 亚马逊河 (zh-cn); Amazonas (gsw); Amazon daryosi (uz); Амазон өзені (kk); Амазон (mk); Amazon (bs); अमेजन नदी (bho); Амазонкэ (ady); Amazone (fr); Amazona (hr); अ‍ॅमेझॉन नदी (mr); ଆମାଜନ ନଦୀ (or); Amazuonė (sgs); अमेजन नदी (awa); Amazonas (lb); Amazonas (nb); Walungan Amazon (su); Amazon Naddi (hif); Amazon özeni (crh); 亞馬遜河 (lzh); نهر الأمازون (ar); Amazon (br); အမေဇုံမြစ် (my); 亞馬遜河 (yue); Амазонка (ky); Ríu Amazones (ast); Amazonas (nds); Амазонка (ba); Afon Amazonas (cy); Riu di Amazzun (lmo); An Amasóin (ga); آمازون (fa); 亚马逊河 (zh); Amazonfloden (da); ამაზონი (ka); アマゾン川 (ja); Amazon (ia); Amazon (ha); نهر الامازون (arz); Flumen Amazonum (la); ऍमज़ॉन नदी (sa); अमेज़न नदी (hi); 亚马逊河 (wuu); ਐਮਾਜ਼ਾਨ ਦਰਿਆ (pa); Amahona (mi); Ri dj'Amàsson (pms); لواد د لأمازون (ary); Амазонка (be-tarask); Ciumi di l'Amazzoni (scn); แม่น้ำแอมะซอน (th); Amazona (sh); Амазонка (rue); Amazonas (stq); Rio de ƚe Amàxoni (vec); ཡ་མ་སོན་གཙང་པོ། (bo); Ātōyātl Amazonas (nah); अमेजन खुसि (new); 𐌰𐌼𐌰𐌶𐍉𐌽𐌰 (got); Amazône (fy); Salog Amazon (bcl); அமேசான் ஆறு (ta); Ամազոն (hy); Amazon (ro); Avon Amazon (kw); Амазонка (bg); riu Amazones (ca); Rio de le Amazzone (roa-tara); Amazoni (sq); Amazone (li); Amazôna (mg); Amazonfloden (sv); Amazon çayı (az); Amazonka (pl); Sungai Amazon (id); Дарёи Амазон (tg); amazonas. zei rirxe (jbo); ແມ່ນ້ຳອາມາຊົນ (lo); 아마존강 (ko); Amasoná (fo); Amazono (eo); Амазон (sr); Riu Amazonas (pap); Rio dles Amazones (lld); Амазонка (krc); Amazon Ò̤ (cdo); Kali Amazon (jv); Амазонка (cv); Амазонка (ab); Lanmanzonn (flòv) (gcr); 亞馬孫河 (gan); אמאזאנאס (yi); Amazon River (ceb); Amaconas (hsb); Sông Amazon (vi); آمازون (azb); Amazone (lv); Amesonerivier (af); আমাজন নদী (bn); Амазонка (inh); Amazonii Pɔɔ (kbp); Rio Amazonas (pt-br); Amazon (sco); Амазон мөрөн (mn); Amazonaselva (nn); Amazonka (cs); Амазонэ (kbd); Sungai Amazon (min); Amazonas (vro); Амазонка (av); ئەمازۆن (ckb); Amazon (en); Amazonas (es); Paranaguasu (gn); Amazon (io); Amazoni (ln); Riu Amazonas (oc); Amazonas (hu); አማዞን ወንዝ (am); Amazan Riva (jam); Amazonas (eu); Amazonas (bar); ამაზონი (xmf); Roê Amazoni (diq); Amarumayu (qu); अमेजन नदी (mai); Амазонка (ce); Рака Амазонка (be); Amazonas Hô (nan); Amazone (revier) (nds-nl); Amazon (ku); अमेजन नदी (ne); Amazon Nehri (tr); Amazonas (rm); آمازون (mzn); Dah Yamajsenhoz (za); Amāzanēa (ang); אמזונאס (he); Амазонка (tt); Karayan Amasona (ilo); Amazonas (de-ch); ᱟᱢᱟᱡᱚᱱ ᱜᱟᱰᱟ (sat); Riu Amazonas (mwl); Amazonas (struum) (frr); ꯑꯃꯦꯖꯣꯟ ꯇꯨꯔꯦꯜ (mni); Amazon da'ryası (kaa); అమెజాన్ నది (te); Rio delle Amazzoni (it); Amasunu jawira (ay); Амазонко (mhr); Amazon özeni (crh-latn); Amazonas (et); Амазон мүрэн (bxr); Амазонка (lez); Amazonas (de); Амазонка (ru); Odò Amasónì (yo); Umlambo iAmazon (xh); rio Amazonas (pt); Amazonas (vo); Амазонка (mrj); আমাজান নদী (as); Amazonė (lt); Amazonka (sl); Ilog Amasona (tl); ಅಮೆಜಾನ್ (kn); Mtsinje wa Amazon (ny); Salog Amasona (war); Amazonas (sw); ആമസോൺ നദി (ml); Amazone (nl); Amazonas (vep); Амазон өрүс (sah); Amazon (fi); Amazon River (en-ca); Amazonas (gl); Río Amazonas (an); Αμαζόνιος (el); Rio Amazona (lfn) río de América del Sur (es); fljót í Suður Ameríku (is); река в Южной Америке (ru); Strom im nördlichen Südamerika und wasserreichster Fluss der Erde (de); river in Peru (en-gb); پرآب‌ترین رود دنیا (fa); 南美洲最长的河流 (zh); ブラジルとその周辺国を流れ大西洋に注ぐ、世界最大規模の河川 (ja); fluvio in America del Sud (ia); flod i Sydamerika (sv); річка (uk); 南美洲最长的河流 (zh-cn); దక్షిణ అమెరికాలోని పొడవైన నది (te); joki Etelä-Amerikassa (fi); rivero en Peruo (eo); řeka v Jižní Americe (cs); தென் அமெரிக்காவின் முக்கிய ஆறு (ta); fiume dell'America meridionale (it); fleuve d'Amérique du sud (fr); Jõgi Peruus (et); river in Peru (en-ca); दक्षिण अमेरिका की सबसे बड़ी नदी (hi); riu d'Amèrica del Sud (ca); longest river in South America (en); rieka v Južnej Amerike (sk); Con sông dài thứ hai thế giới (vi); נהר ענק באמריקה הדרומית (he); Upe Dienvidamerikā, otra garākā upe pasaulē (lv); karayan idiay Abagatan nga Amerika ken maikadua a kaatiddogan a karayan iti lubong (ilo); најдужа река у Јужној Америци (sr); ଦକ୍ଷିଣ ଆମେରିକାର ଦୀର୍ଘତମ ନଦୀ (or); pinakamahabang ilog sa Timog Amerika (tl); o mais longo rio na América do Sul (pt-br); langest river in Sooth Americae (sco); Sungai Terpanjang di Dunia (id); elv i Sør-Amerika (nn); elv i Sør-Amerika (nb); rivier in Zuid-Amerika (nl); തെക്കെ അമേരിക്കൻ ഭൂഖണ്ഡത്തിലെ നദി (ml); Rzeka w Ameryce Południowej (pl); ದಕ್ಷಿಣ ಅಮೆರಿಕಾದ ಪ್ರಮುಖ ನದಿ (kn); rio na América do Sul (pt); río en América do Sur (gl); أكبر نهر في أمريكا الجنوبية (ar); ποταμός στην Περού (el); рака ў Паўднёвай Амэрыцы (be-tarask) Rio Amazonas, río Amazonas (es); Mar Doce (pt-br); Fluvio Amazon (ia); Amazonas (pt); Amazone (rivier) (nl); Amazon River, River Amazon, Amazonian River (en); 亚马孙河 (zh-cn); అమెజాన్ (te); ଆମାଜନ (or); río Amazonas (gl); أمازون (نهر), حوض الأمازون, الأمزون, الامازون, امازون, نهر الامازون (ar); 亚马孙河 (zh); Река Амазон (sr)
Amazon 
longest river in South America
Amazon River mouth on the Atlantic.jpg
Upload media
Wikipedia-logo-v2.svg  Wikipedia
Wikivoyage-logo.svg  Wikivoyage
Instance ofriver
Named after
Location Peru, Colombia, Brazil
Length
  • 6,400 km
Origin of the watercourse
  • Quebrada Apacheta (5,170 metre, 15°31′6″S 71°45′53″W, Amazonas placa 2011 Apacheta.jpg)
Mouth of the watercourse
Drainage basin
Basin country
Tributary
Different from
  • Amazonka
4° 26′ 25.08″ S, 73° 26′ 49.92″ W
Authority control
Edit infobox data on Wikidata

Includes a small Wikidata-enabled infobox on category pages. See Commons:Wikidata infobox help for the FAQ.

The template automatically sets the following categories:

  • Interwikis from Wikidata
  • For people: given name(s) and surname(s), alive/deceased person/man/woman, years of birth and death, awards

Usage

{{Wikidata Infobox |qid= |interwiki= |defaultsort= }}

English: In most cases it can be used simply as {{Wikidata Infobox}}. The category page needs to be linked to through a sitelink on Wikidata (under 'other sites', add the correct sitelink to 'commons'). The Wikidata entry can either be directly about the category's topic, or include the category's main topic (P301).

Common issues

If you see a Wikidata QID (a number, prefixed with "Q") instead of the correct title, then that means that the topic does not have a label in English – to fix this, add an English label on Wikidata. If you see content that's not in your own language, then that probably means that a label isn't available in your language – to fix this, add the appropriate label in your language on Wikidata.

If you spot a problem with the information displayed in the infobox, please first try to fix it on Wikidata. For further info see Commons:Wikidata infobox help, which also has extensive information about the many types of images desired on Wikidata. If that fails, ask on the template talk page.

If the infobox is empty, or it doesn't contain all of the information you think it should, then please expand the Wikidata entry. The infobox should grow accordingly, though the page on Wikimedia Commons might need purging to show very recent updates from Wikidata.

Customisation

If you do not want to see the infobox, then add #wdinfobox { display: none;} to Special:MyPage/common.css and it will not be displayed.

To display the infobox in a horizontal format, add the following to Special:MyPage/common.css. Note that this will only work in some browsers (Chrome and Safari should work, but Firefox won't):

#wdinfobox { width:100%!important; clear:both!important; display: block; -webkit-column-count: 4; -ms-column-count: 4; -moz-column-count: 4; column-count: 4; }

You can also use Javascript to change the settings by adding the following to Special:MyPage/common.js:

  • To auto-hide the whole infobox: $( "#wdinfobox" ).addClass( "mw-collapsed" );
  • To auto-hide the authority control: $( "#wdinfo_ac" ).addClass( "mw-collapsed" );
  • To auto-hide the taxon tree: $( "#wdinfo_taxon" ).addClass( "mw-collapsed" );
  • To never display the infobox: $( "#wdinfobox" ).addClass( "wdinfobox_hide" );
  • To display the infobox horizontally: $( "#wdinfobox" ).addClass( "wdinfobox_horizontal" );

Maintenance

Uses of this template are categorised into Category:Uses of Wikidata Infobox or Category:Uses of Wikidata Infobox with problems depending on whether the template can find a QID.

Template developers: please ensure that if you are nesting {{Wikidata Infobox}} inside another template that you are wrapping it accordingly, that is <includeonly>{{wikidata infobox}}</includeonly>, so that it doesn't categorise the template.

For past discussions about this template, see:

For further help, see Commons:Wikidata infobox help

Template parameters

ParameterDescriptionDefaultStatus
qidQIDQ ID (number) of the topic; overrides lookup in the database for this ID.{{#invoke:wd|properties|raw|P301}}optional
interwikiDisable automatic interwikiinterwiki=- (hyphen-minus) to disable calling {{Interwiki from Wikidata}} on category pages.emptyoptional
defaultsortDisable DEFAULTSORTdefaultsort=no to disable auto-adding a {{DEFAULTSORT}}yoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Includes a small Wikidata-enabled infobox on category pages. See https://commons.wikimedia.org/wiki/Commons:Wikidata_infobox_help for the FAQ.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Disable DEFAULTSORTdefaultsort

Add “no” to disable auto-adding the default category sort key (i.e. {{DEFAULTSORT}}).

Default
y
Lineoptional
Disable automatic interwikiinterwiki

Add “-” (hyphen-minus) to disable adding interwikis using {{Interwiki from Wikidata}} on category pages.

Lineoptional
QIDqid

Q ID (number) of the topic; overrides lookup in the database for this ID.

Default
{{#invoke:wd|properties|raw=P301}}
Lineoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: no user group specified

Placement: At the top of the page

Relies on:
Module:Wd, {{Br separated entries}}; {{Dir}}; {{Fallback}}; {{Label}}; {{Property}}; {{Replace text}}; {{Str left}}; {{Tl}}; {{Wikidata ID}}

Localization

čeština  Deutsch  English  español  українська  Napulitano  Esperanto  Türkçe  ไทย  日本語  slovenščina  polski  മലയാളം  shqip  македонски  русский  中文  العربية  suomi  Nederlands  vèneto  मराठी  svenska  ଓଡ଼ିଆ  Bahasa Indonesia  français  magyar  한국어  italiano  اردو  português  বাংলা  беларуская (тарашкевіца)  +/−

This template makes use of {{Autotranslate}} and the translate extension.


Wikidata properties

Core and sandboxes

The principal template is now a wrapper for the core code. This facilitates internationalisation by making parameter names easier to adapt.

Both templates have sandbox versions: