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)
 * Do you know the method?
 * font-size ? Bomyy (talk) 11:50, 13 July 2023 (UTC)
 * As it is a background element, I'd bed on.
 * I can provide help for mediawiki, but my knowledge of CSS is quite basic. :) I can't help you much there, sorry.
 * You should use external ressources to learn or improve your knowledge of CSS, like on W3Schools or Mozilla Developer. Trizek (WMF) (talk) 15:58, 17 July 2023 (UTC)