From Wikidata
Jump to navigation Jump to search
Documentation icon Template documentation[view · edit · history · purge ]

This module provides an as simple as possible infobox system based on Wikidata.

An introductory presentation of Databox, given at the Wikidata Reuse Days 2022

It is fully automated, does not require any configuration to be used and does not have any declination based on the type of entity (person, place...).

How does it work?

This module is the backend code of the Databox template.

It uses the Wikidata item linked to the current page or the item which id is filled into the item parameter to automatically build an infobox.

Its basic algorithm is:

  • Use the label of the item or, if none exists, the title of the page for the infobox title.
  • Use the value of image (P18) for the main image.
  • Use the value(s) of instance of (P31) for the data table title.
  • Take all the properties used by the item, sort them according to MediaWiki:Wikibase-SortedProperties, and for each one:
    • If the property has the datatype External identifier, Commons media file or Quantity[a 1], do not display anything.
    • If the property is in the property_blacklist array of the module, do not display anything (it is done in order to filter properties not very relevant for displaying in infoboxes).
    • If the property has more than 5 values do not display anything (to avoid long lists in the infobox).
    • Use default Wikibase rendering system to display the values that have the "best" rank (i.e. the values with the rank "preferred", if some exists, and, if not, the ones with the rank "normal").
  • If there is value for coordinate location (P625), then display a map using Kartographer.


  1. The current display of quantities by Wikibase is very limited, this filter should be removed after improvements

How to use it in your wiki?

  1. Copy the code of Module:Databox in a module page in your wiki named Module:Databox.
  2. Add the created module page to the sitelinks of Q53931871.
  3. Create Template:Databox in your wiki with the wikitext: {{#invoke:Databox|databox}}.
  4. Add the created template page to the sitelinks of Q20702632.
  5. At this point if you add {{Databox}} to an existing article connected to a Wikidata item it should work.
  6. Write an help page in your language


Early Modern Swedish
dead language
Subclass ofModern Swedish Edit
FollowsLate Old Swedish Edit
Followed byLate Modern Swedish Edit
Start time1526 Edit
End time1750 Edit
Popularity of name Lucy.svg
female given name
Part ofLucy Edit
Native labelLucy Edit
Latvian transcriptionLūsija Edit
IPA transcriptionˈluːsi Edit
Language of work or nameEnglish, Dutch Edit
Writing systemLatin script Edit
SoundexL200 Edit
Cologne phonetics58 Edit
CaverphoneLS1111 Edit
Name dayDecember 13 Edit
Family name identical to this given nameLucy Edit
Given name version for other genderLucius Edit
Attested infrequency of first names in the Netherlands, 2010 Edit
Sample of Absolute Ethanol.jpg
chemical compound, Class IB flammable liquid, medication, alkanol, fatty alcohol, chemical entity class, type of chemical entity
Has effectethanol exposure, intoxication Edit
Conjugate baseethoxide Edit
Chemical formulaC₂H₆O Edit
Canonical SMILESCCO Edit
Crystal systemmonoclinic crystal system Edit
Point groupmonoclinic-domatic Edit
Space groupspace group Pn Edit
Safety classification and labellingNFPA 704: Standard System for the Identification of the Hazards of Materials for Emergency Response, Regulation (EC) No. 1272/2008 Edit
UN class3 Edit
UN packaging groupII Edit
NIOSH Pocket Guide ID0262 Edit
Active ingredient inalcoholic beverage Edit
Physically interacts with5-hydroxytryptamine (serotonin) receptor 3A, Potassium inwardly-rectifying channel, subfamily J, member 3, Potassium inwardly-rectifying channel, subfamily J, member 5 Edit
Has usepolar protic solvent Edit
Has qualityhygroscopy Edit
Subject has rolesolvent, local anti-infective agent, depressant Edit
NCI Thesaurus IDC2190 Edit
Hubble Space Telescope
Hubble 2009 close-up.jpg
space observatory
Part ofGreat Observatories program Edit
Native labelHubble Space Telescope Edit
Named afterEdwin Hubble Edit
Followed byCompton Gamma Ray Observatory, James Webb Space Telescope Edit
Country of originUnited States of America Edit
Significant eventrocket launch, atmospheric entry Edit
Start pointKennedy Space Center Launch Complex 39B Edit
Space launch vehicleSpace Shuttle Edit
OperatorGoddard Space Flight Center, Space Telescope Science Institute Edit
Launch contractorRockwell International Edit
UTC date of spacecraft launch24 April 1990 Edit
Time of object orbit decay2030 Edit
Parent astronomical bodyEarth Edit
Type of orbitlow Earth orbit Edit
ManufacturerLockheed Martin Missiles and Space, PerkinElmer Edit
Powered byphotovoltaic system Edit
DeveloperMarshall Space Flight Center, Goddard Space Flight Center Edit
Service entry20 May 1990 Edit
Official websitehttp://hubblesite.org/ Edit
FunderNational Aeronautics and Space Administration, European Space Agency Edit
Category for the view of the itemCategory:Views of the Hubble Space Telescope Edit
4 Vesta
Named afterVesta Edit
Follows3 Juno Edit
Followed by5 Astraea Edit
Significant eventnaming Edit
Discoverer or inventorHeinrich Wilhelm Olbers Edit
Time of discovery or invention29 March 1807 Edit
Site of astronomical discoveryBremen Edit
Minor planet groupasteroid belt Edit
Parent astronomical bodysun Edit
Asteroid familyVesta family Edit
Asteroid spectral typeV-type asteroid Edit
Unicode character Edit
Ephesians 2,12 - Greek atheos.jpg
world view, philosophical movement, doxastic attitude
Subclass ofirreligion Edit
Hashtagatheism Edit
Depicted byatheist Edit
Has qualityunbelief Edit
Opposite oftheism Edit
Stack Exchange taghttps://philosophy.stackexchange.com/tags/atheism Edit
Iron Man
TitleIron Man Edit
Based onIron Man Edit
Part of the seriesMarvel Cinematic Universe Edit
Genreaction film, science fiction film, adventure film, superhero film Edit
Has edition or translationIron Man, Q112005269 Edit
PerformerLauren Scyphers, Stacy Stas Hurst Edit
Country of originUnited States of America Edit
Original language of film or TV showEnglish Edit
Publication date2 May 2008 Edit
Significant eventprincipal photography, première Edit
DirectorJon Favreau Edit
ScreenwriterMark Fergus, Hawk Ostby, Art Marcum, Matt Holloway Edit
Director of photographyMatthew Libatique Edit
Film editorDan Lebental Edit
Production designerJ. Michael Riva Edit
Costume designerLaura Jean Shannon, Rebecca Bentjen Edit
ComposerRamin Djawadi Edit
ProducerAvi Arad, Kevin Feige Edit
Production companyMarvel Studios, Paramount Pictures Edit
Distributed byParamount Pictures, Disney+, Walt Disney Studios Motion Pictures Edit
Soundtrack releaseIron Man Edit
Narrative locationAfghanistan, Los Angeles, Kunar Edit
Aspect ratio (W:H)2.39:1 Edit
Colorcolor Edit
Review score79/100, 94%, 7.7/10 Edit
Takes place in fictional universeMarvel Cinematic Universe Edit
Distribution formatdigital download, video on demand Edit
BBFC rating12A certificate Edit
ClassInd rating12 Edit
CNC film rating (France)no age restriction Edit
Filmiroda ratingCategory II Edit
FPB rating10 Edit
FSK film ratingFSK 12 Edit
ICAA ratingNot recommended for children under 7 Edit
JMK film ratingfree from 12 years Edit
Kijkwijzer rating12 Edit
MPA film ratingPG-13 Edit
RTC film ratingB Edit
Official websitehttps://www.marvel.com/movies/iron-man Edit
Described at URLhttp://tw.movie.yahoo.com/movieinfo_main.html/id=2599 Edit
AssessmentBechdel test, reverse Bechdel Test Edit
IMDA ratingPG Edit
Medierådet ratingFor ages 11 and up Edit
RCQ classificationG Edit
IFCO rating12A Edit
MTRCB ratingPG Edit
Airbus Lagardère - Aéroconstellation.jpg
business, enterprise
Industryaircraft and space construction Edit
Inception18 December 1969, 1970 Edit
Official nameAirbus SE Edit
Founded byRoger Béteille, Felix Kracht, Henri Ziegler, Franz Josef Strauß Edit
Chief executive officerGuillaume Faury Edit
Motto textWe make it fly, New standards. Together., De nouvelles normes. Ensemble. Edit
CountryFrance Edit
Member ofAerospace Valley, GIFAS, Linux Foundation, CVE Numbering Authorities, Association of German Airports Edit
Legal formSociété par actions simplifiée Edit
Location of formationFrance Edit
Parent organizationAirbus Group Edit
Owner ofAtlas Elektronik, Airbus Military, Airbus Corporate Jets, Airbus Training Centre Europe Edit
Headquarters locationBlagnac, Toulouse Edit
IPv6 routing prefix2a00:6fc0:10::/44, 2a00:6fc0:690::/44, 2a00:6fc0:c010::/44 Edit
Official websitehttps://www.airbus.com/en/products-services/commercial-aircraft Edit
History of topichistory of Airbus Edit
planned language, international auxiliary language, agglutinative language, a posteriori language, constructed language, modern language
Inception26 July 1887 Edit
Native labelEsperanto Edit
Named afterDoktoro Esperanto Edit
MovementEsperanto movement Edit
AnthemLa Espero Edit
CultureEsperanto culture Edit
Location of formationWarsaw Edit
Studied byEsperantology, interlinguistics Edit
Foundational textUnua Libro Edit
FollowsProto-Esperanto Edit
CreatorL. L. Zamenhof Edit
Country of originRussian Empire, Poland Edit
Significant eventWorld Esperanto Congress 1905, World Esperanto Congress 1987 Edit
Linguistic typologyfree-order language, nominative–accusative language, agglutinative language, isolating language, subject–verb–object Edit
Has grammatical caseaccusative case, nominative case Edit
Has tensepresent tense, past tense, future tense Edit
Has grammatical moodinfinitive, conditional, volitive Edit
Writing systemLatin script Edit
Uses capitalization forfull name, toponym Edit
Language regulatory bodyAcademy of Esperanto Edit
Signed formSignuno Edit
Ethnologue language status3 Wider Communication Edit
Discoverer or inventorL. L. Zamenhof Edit
Has usesecond language, lingua franca Edit
HashtagEsperanto Edit
Flagflag of Esperanto Edit
Used byEsperantist Edit
History of topichistory of Esperanto Edit
Related categoryCategory:Esperanto pronunciation Edit
IRC channelirc://irc.freenode.net/esperanto Edit
Stack Exchange sitehttps://esperanto.stackexchange.com Edit
Stack Exchange taghttps://conlang.stackexchange.com/tags/esperanto Edit
Wikimedia language codeeo Edit
Category for mapsCategory:Maps in Esperanto Edit
Cityscape Berlin.jpg
seat of government, metropolis, Einheitsgemeinde of Germany, Hanseatic city, urban municipality of Germany, town divided by border, city-state, independent city in Berlin, largest city, big city, capital city, federated state of Germany
Part ofBerlin-Brandenburg Metropolitan Region, agglomeration of Berlin Edit
Inception1244 Edit
Official nameBerlin Edit
Native labelBerlin Edit
Short nameB Edit
IPA transcriptionbərˈlɪn, bɛʁ.lɛ̃ Edit
Official languageGerman Edit
ContinentEurope Edit
CountryGermany Edit
Capital ofGermany Edit
Located in the administrative territorial entityGermany Edit
Enclave withinBrandenburg Edit
Coordinate location52°31′0″N 13°23′0″E Edit
Coordinates of easternmost point52°26′16″N 13°45′40″E Edit
Coordinates of northernmost point52°40′31″N 13°28′46″E Edit
Coordinates of southernmost point52°20′19″N 13°38′53″E Edit
Coordinates of westernmost point52°25′11″N 13°5′18″E Edit
Highest pointArkenberge Edit
Office held by head of governmentGoverning Mayor of Berlin Edit
Head of governmentFranziska Giffey Edit
Legislative bodyAbgeordnetenhaus of Berlin Edit
Highest judicial authorityConstitutional Court of the State of Berlin Edit
Member ofClimate Alliance, Mayors for Peace, IT-Planungsrat, Creative Cities Network Edit
Public holidayInternational Women's Day Edit
Located in time zoneEurope/Berlin Edit
Shares border withBrandenburg Edit
Archives atLandesarchiv Berlin Edit
ReplacesAlt-Berlin, East Berlin Edit
Award receivedPrincess of Asturias Award for Concord, City of Design, Führerstadt Edit
Connects withEuropean route E55 Edit
Postal code10115–14199 Edit
Official websitehttps://www.berlin.de/politik-verwaltung-buerger/ Edit
HashtagBerlin Edit
Flagflag of Berlin Edit
Coat of armscoat of arms of Berlin Edit
Geography of topicgeography of Berlin Edit
History of topichistory of Berlin Edit
Related categoryCategory:Berlin-related lists Edit
Open data portalBerlin Open Data Edit
Economy of topiceconomy of Berlin Edit
Demographics of topicdemographics of Berlin Edit
District heating gridBerliner Fernwärmenetz Edit
Category for honorary citizens of entityCategory:Honorary citizens of Berlin Edit
Time of earliest written record1237, 1244 Edit
Official map URLhttps://www.berlin.de/stadtplan/ Edit
Local dialing code030 Edit
Licence plate codeB Edit
Category for mapsCategory:Maps of Berlin Edit
Category for the view of the itemCategory:Views of Berlin Edit
Douglas Adams
Douglas adams portrait cropped.jpg
Sex or gendermale Edit
Country of citizenshipUnited Kingdom Edit
Name in native languageDouglas Adams Edit
Birth nameDouglas Noël Adams Edit
Given nameDouglas Edit
Family nameAdams Edit
PseudonymDavid Agnew Edit
Short nameDouglas Adams Edit
Date of birth11 March 1952 Edit
Place of birthCambridge Edit
Date of death11 May 2001 Edit
Place of deathSanta Barbara Edit
Manner of deathnatural causes Edit
Cause of deathmyocardial infarction Edit
Place of burialHighgate Cemetery Edit
FatherChristopher Douglas Adams Edit
MotherJanet Adams Edit
SiblingSusan Adams Edit
SpouseJane Belson Edit
ChildPolly Adams Edit
Native languageEnglish Edit
Languages spoken, written or signedEnglish Edit
Writing languageEnglish Edit
Field of workscience fiction literature Edit
EmployerBBC, The Digital Village Edit
Member ofFootlights, Groucho Club Edit
Educated atSt John's College, Brentwood School Edit
ResidenceLondon, Brentwood Edit
Work locationLondon Edit
Ethnic groupWhite British Edit
Eye colorbrown Edit
Instrumentguitar Edit
Notable workThe Hitchhiker's Guide to the Galaxy pentalogy, Dirk Gently series, The Private Life of Genghis Khan Edit
Archives atSt John's College Library Edit
Genrescience fiction, comedy, satire Edit
Award receivedInkpot Award Edit
Nominated forHugo Award for Best Dramatic Presentation, Locus Award for Best Science Fiction Novel Edit
Official websitehttps://douglasadams.com/ Edit
Related categoryCategory:Films with screenplays by Douglas Adams Edit
Copyright status as a creatorworks protected by copyrights Edit

See also