Wikipedia
sswiki
https://ss.wikipedia.org/wiki/Likhasi_Lelikhulu
MediaWiki 1.46.0-wmf.26
first-letter
Tinkundla
Lelibalulekile
Khuluma
Bantfu
Khuluma nebantfu
Wikipedia
Khuluma ngeWikipedia
Lifayela
Khuluma ngelifayela
MediaWiki
Khuluma ngeMediaWiki
iThempleti
Khuluma ngethempleti
Lusito
Khuluma ngelusito
Umkhakha
Khuluma ngemkhakha
TimedText
TimedText talk
Module
Module talk
Event
Event talk
Module talk:Databox
829
6871
42518
2026-05-05T13:23:26Z
MediaWiki message delivery
3277
/* Databox has 2 new parameters */ new section
42518
wikitext
text/x-wiki
== Databox has 2 new parameters ==
''Sorry for posting in English, you can help by translating it''
The code in this module added 2 new parameters:
* <code>useImage</code>
* <code>excludeProperties</code>
'''How to use them'''<br>
Invoke either or both parameters into the template when entering the databox template: '''<nowiki>{{</nowiki>Databox}}''', placing a pipe <code>|</code> and then the parameter name, followed by an equals sign<code>=</code> and ending with the value (no spaces are required), it will have a form like:<br>
<nowiki>{{Databox|parameterName=value}}</nowiki>
* <code>useImage=</code> <nowiki>{{</nowiki>Databox|useImage=<code>add the [[d:Property:P18|P18 (image)]] filename here</code>}}
* <code>excludeProperties=</code> <nowiki>{{</nowiki>Databox|excludeProperties=<code>add comma-separated property ID's here (P105,P171)</code>}}
'''Parameter behaviour'''<br>
Both parameters when used will make changes to the invoked databox at the local page level.<br>
''They do not affect any other Databoxes on the wiki''.
* <code>'''useImage:'''</code> 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.
* <code>'''excludeProperties:'''</code> 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.
[[m:Wikidata_For_Wikimedia_Projects/Projects/Databox|Databox - additional Parameters]] - More information about these parameters can be found here. <br>
[[m:Wikidata_For_Wikimedia_Projects/Projects/Databox|User Talk: Databox - additional Parameters]] - Questions and feedback about these parameters are welcome here (or as a reply to this topic).<br>
[[m:User:Danny_Benjafield_(WMDE)|User:Danny_Benjafield (WMDE)]] on behalf of the [[m:Wikidata_For_Wikimedia_Projects|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 [[m:User_talk:Danny_Benjafield_(WMDE)|User talk:Danny_Benjafield (WMDE)]] or reply here. Thank you, - [[Bantfu:MediaWiki message delivery|MediaWiki message delivery]] ([[Khuluma nebantfu:MediaWiki message delivery|talk]]) 13:23, 5 iNkhwekhweti 2026 (UTC)
<!-- Message sent by User:Danny Benjafield (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Danny_Benjafield_(WMDE)/MassMessage_test_list&oldid=30504313 -->
0cre15r74pg0xwp855aqunigw1b0g7x