Module talk:Databox
Add topicDatabox has 2 new parameters
[edit source]Sorry for posting in English, you can help by translating it
The code in this module added 2 new parameters:
useImageexcludeProperties
How to use them
Invoke either or both parameters into the template when entering the databox template: {{Databox}}, placing a pipe | and then the parameter name, followed by an equals sign= and ending with the value (no spaces are required), it will have a form like:
{{Databox|parameterName=value}}
useImage={{Databox|useImage=add the P18 (image) filename here}}excludeProperties={{Databox|excludeProperties=add comma-separated property ID's here (P105,P171)}}
Parameter behaviour
Both parameters when used will make changes to the invoked databox at the local page level.
They do not affect any other Databoxes on the wiki.
useImage:This parameter allows the local databox to choose which image of the item's P18 files to display.
A Wikidata item can have multiple files for its property Image (P18). By default, only the most recently uploaded (or Preferred) file will be displayed when a databox is invoked.
excludeProperties:This parameter allows the local databox to exclude additional properties from being included in the current databox (only).
Databox code already contains a global list of properties to exclude from being displayed, this exclusion list affects all databoxes on the current wiki. Adding or removing properties under local site excluded properties = { of the code at Module:Databox will affect all databoxes currently displayed and any future ones. Editors' may want to have more control over what data/properties are shown for individual databoxes to stop it from becoming too long or containing irrelevant data for the current article, page or topic.
Databox - additional Parameters - More information about these parameters can be found here.
User Talk: Databox - additional Parameters - Questions and feedback about these parameters are welcome here (or as a reply to this topic).
User:Danny_Benjafield (WMDE) on behalf of the Wikidata For Wikimedia Projects team will be updating the local code for the Template:Databox and Module:Databox pages in the coming weeks. If you do not wish to update to the newest version, please let them know at their User talk:Danny_Benjafield (WMDE) or reply here. Thank you, - MediaWiki message delivery (talk) 13:23, 5 May 2026 (UTC)