User talk:Bomyy

Infobox
The conversation started here, and as it diverged, I prefer to start a new topic.

(By the way, we can have this conversation in French or English.)

As this infobox is designed, you have to define a background image for each infobox type and call it using CSS. The icons are defined in MediaWiki:Common.css:

In the infobox code, you have a placeholder to add the icon:

When used in an article, the infobox looks like this: . This code won't display any icon, as the field is empty.

But when filled appropriately, with the term defined in CSS (like in ), then the infobox displays the background image defined in MediaWiki:Common.css.

This is case sensitive:  or   won't work.

Trizek (WMF) (talk) 19:15, 11 July 2023 (UTC)

Thanks! Trizek for your explanation! last question, do you know how to enlarge the icon ?

Bomyy (talk) 16:44, 12 July 2023 (UTC)


 * CSS. :)
 * You can define the size for all icons, or just one icon (by its own class). Trizek (WMF) (talk) 10:57, 13 July 2023 (UTC)