Module talk:Databox
Tinyé OkwuDatabox has 2 new parameters
[dezie ebe o si]Sorry for posting in English, you can help by translating it
The LUA code in this module contains 2 additional parameters:
useImageexcludeProperties
How to use
Both parameters can be included when invoking the databox template: {{Databox}}
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.
Databox code already contains a global list of properties to exclude from displaying, this exclusion list affects all databoxes on the current wiki. Adding or removing 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).
Thank you, - Danny Benjafield (WMDE) (ṅkátá) 09:56, 11 December 2025 (UTC)