| Template:Infobox ispermanentlyprotected from editing as it is aheavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported byconsensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template'sdocumentation to add usage notes orcategories. Any contributor may edit the template'ssandbox. Functionality of the template can be checked usingtest cases. |
| This is thetalk page for discussing improvements to theInfobox template. |
|
| Archives:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20Auto-archiving period:3 months |
| This template does not require a rating on Wikipedia'scontent assessment scale. It is of interest to the followingWikiProjects: | ||||||||
| ||||||||
| Related pages |
|---|
This diff from last year addeddisplay: table-row !important toModule:Infobox/styles.css. This caused issues with{{Infobox awards list}}, as the list of specific awards doesn't collapse; it should switch todisplay: none when the collapse button is toggled, but the !important property prevents this. Seethis discussion for more.
Can !important be safely removed from this style sheet? The diff includedthis file showingthis page, and when I go there and edit the CSS in my browser, removing that property doesn't seem to cause issues. However, I am not nearly enough of a CSS expert to know if other issues could arise somewhere.RunningTiger123 (talk)03:49, 8 May 2025 (UTC)[reply]
Perphab:T396988 I think that line 45 should end with [style], analogous to its night mode variant just above. It seems to me that this was missed in changehttps://en.wikipedia.org/w/index.php?title=Module:Infobox/styles.css&oldid=1228964747 made byUser:Jdlrobson. Does anyone see a reason why that would not be the case ? —TheDJ (talk •contribs)09:10, 16 June 2025 (UTC)[reply]
There is a request atTemplate talk:Infobox sports season to implementexplanatory notes inside the infobox, to avoid the notes getting confused with other groups of notes lower down the article. Apparently this has already been done atTemplate:Infobox college basketball team. I'm posting here in case anyone has an opinion about this, or whether this could more efficiently be coded at the meta module instead. — Martin(MSGJ · talk)21:42, 23 June 2025 (UTC)[reply]
Links should be clearly identifiable as links for readers.For some time now, I have been suggesting thatif navboxes need colours that are not the default, the approach taken by the religious people has its merits. See for examplethe navboxes at Tricia Hillas. Only the topmost bar is styled, to have: background white; unlinked text black; linked text default; top and bottom borders coloured. --Redrose64 🌹 (talk)08:18, 24 June 2025 (UTC)[reply]
FWIW, I fixed theMOS:SMALLFONT accessibility problem at{{Infobox college basketball team}} that was caused by embedding a{{notelist}} inside an infobox. That sort of fix would be needed for any other infobox that included the same embedding. You can see notes in an infobox atLIU Sharks men's basketball. –Jonesey95 (talk)20:09, 26 June 2025 (UTC)[reply]
{{notelist}}, which seems far more simple to me. Hopefully, if anyone else decides to implement this, they will see the note I left on the help page. I'm glad MSGJ reached out this talk page for advice. Thanks for your help.Taxman1913 (talk)19:02, 14 July 2025 (UTC)[reply]These lines override some backgrounds in dark mode to#1f1f23. This is very close to the default infobox background of--background-color-interactive-subtle (#202122), but neither exactly the same nor different enough to distinguish these elements from the rest of the infobox. Is this intentional?EvenTwist41 (talk)01:21, 17 September 2025 (UTC)[reply]
I know if this isn't the perfect place to be discussing transclusion, but I've noticed a couple of timeline templates using the infobox template, that have the ability to collapse. Like these:
Template:Paramount Skydance evolution
I'm struggling to incorporate this on a MediaWiki wiki I'm creating. (Template:Paramount evolution - Altcyclopedia) Any idea how to do it? -BiggieSMLZ (talk)21:30, 4 October 2025 (UTC)[reply]
collapsible and its friend. These classes are aliased locally tomw-collapsible and its friend, which is thestandard name. Try those names instead.Izno (talk)04:52, 5 October 2025 (UTC)[reply]mw-collapsible in place ofcollapsed on my template ([https://altcyclopedia.miraheze.org/wiki/Template:Paramount_evolution?action=edit) , but it still had no effect.BiggieSMLZ (talk)09:59, 5 October 2025 (UTC)[reply]|decat=yes prevent categorization fromModule:Infobox underCategory:Pages using infobox templates with ignored data cells too| It isrequested that an edit be made to thetemplate-protected template atTemplate:Infobox. (edit ·history ·last ·links ·sandbox ·edit sandbox ·sandbox history ·sandbox last edit ·sandbox diff ·test cases ·transclusion count ·protection log) This template must be followed by acomplete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately. Edit requests to template-protected pages should only be used for edits that are eitheruncontroversial or supported byconsensus. If the proposed edit might be controversial, discuss it on the protected page's talk pagebefore using this template. Consider making changes first to thetemplate's sandbox andtest them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make aprotection request. When the request has been completed or denied, please add the |
If you change line #167 inModule:Infobox from
if rowArgs.data then
to
if rowArgs.data and (args.decat ~= 'yes') then
then|decat=yes will also prevent categorizing because of ignored data cells.
I'd also suggest changing the module to useModule:Yesno since|decat=Yes doesn't work as intended, for example, as I discovered before adding the right parameter to the first example underTemplate:Infobox/doc#Examples in my local copy of the doc.Tactica (talk)19:50, 14 October 2025 (UTC)[reply]
(This discussion started atTemplate talk:Infobox social media personality#Layout when a user reported an infobox with two blank rows. I'm copying over my text from there.)
The blank rows are related to embedding using|child=yes. Almost all of thetestcases have a blank line or two, on both desktop and mobile, with this markup:
<tr><tdcolspan="2"class="infobox-full-data"><linkrel="mw-deduplicated-inline-style"href="mw-data:TemplateStyles:r1316064257"></td></tr>
One blank line is always created at the beginning of this wrapper template (in-between{{Infobox person}}'s rows and the custom rows for this infobox), and a second is created when embedding this template into another. Both are direct results of|child=yes, which creates a blank row where|title= would be listed. It simply does not suppress this row if the title is left blank. The blank row does NOT occur if you embed using|subbox=yes instead.This issue is actually already mentioned atTemplate:Infobox#Embedding. A workaround/solution is listed but it would have to be applied everywhere that|child=yes is used. This is something that should be fixed directly atModule:Infobox instead.
Can this possibly be fixed by someone familiar with how this module functions? I've searched through the talk page archives and it seems like thisissue may have been fixed in the past.Prefall21:09, 15 October 2025 (UTC)[reply]
|module= viaModule:Template wrapper. For example all the Infoboxes inCategory:Templates calling Infobox sportsperson (23) orCategory:Templates calling Infobox person (24) have this issue. If I can be helpful in anyway, please ping me!Zackmann (Talk to me/What I been doing)07:25, 22 October 2025 (UTC)[reply]