Template talk:InfoBox

From Gentoo Wiki
Jump to:navigation Jump to:search
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 21:29, 14 June 2024 (UTC)
:: Your reply ~~~~


Talk status
This discussion is still ongoing.

I propose to add "label" parameter to define HTML aria-label attribute for the icon. --CyberTailor (talk) 20:17, 18 July 2022 (UTC)

Anna Vyalkova (CyberTailor) , if I understand upstream's documentation correctly, aria-label is used for interactive elements. The fontawesome icon provided to the InfoBox template is via the span element. Do you have an additional (technical?) proposition on how to add what you propose? --Maffblaster (talk) 19:51, 19 July 2022 (UTC)

The 11 parameter limit of InfoBox stack

Talk status
This discussion is still ongoing.

There are an increasing number of InfoBox templates. Some pages have InfoBox stacks large enough for this limit to become a problem. Example Firefox has a large InfoBox. As much as I'd like to add {{InfoBox newsgroup|alt.comp.software.firefox}} and {{InfoBox subreddit|MozillaFirefox}}, I can't. Both of these support communities are active, so not being able to add them is less than optimal. Looking at the template text it's not obvious where this limitation comes from. What would it take to increase the limit? —JGaz (talk) 12:51, 3 July 2023 (UTC)

I've tried to kludge the {{InfoBox stack}}'s sandbox into accepting 20 params. I won't move the changes into the actual template until we've taken a bit of time to think about consequences, but I'm guessing it should be fine ;). -- Ris (talk) 13:58, 17 January 2024 (UTC)

Icon width and text overflow

Talk status
This discussion is still ongoing.

I noticed that Infobox irc text overflowed into the icon when both anonymous parameters and the comment parameter were used. From testing with editing html it looked correct when increasing the icon width from 3em to 4em. With 4em icon width the text aligned with the previous boxes and the icon wasn't clipped.

Screenshot of the PipeWire page InfoBox

Parona (talk) 04:52, 17 January 2024 (UTC)

I've tried to mitigate this here Special:Diff/1187646/1274285. After this change, the icon remains whole instead of being truncated, but the text seems to get moved to the right. The result can be seen here, as I've made the {{InfoBox irc}}'s sandbox in turn use the {{InfoBox}}'s sandbox. I don't know if this attempt at a fix might be acceptable or not, or what the best solution might be, but it's a try :). -- Ris (talk)