Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Infobox Wikipedia user

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 4 hours ago by Primefac in topic Added Telegram

Missing "role" parameter; "country" parameter bugged?

[edit]

The copy-pasteable template seems to be missing the "role" parameter (which defaults to "- Wikipedian -" at the top of the box) — Is there a reason for this exclusion, or should that maybe be added in? I've seen a number of userpages use custom "role" values, and as far as I can tell, it's one of if not the only parameter absent from the box.

Additionally, copy-pasting the template in its current form onto a blank page results in "country" being listed as [[|]]. Does this happen due to an error in transclusion from Template:Country data or something, or can it be fixed from this page? It would be nice to be able to not display my country in the infobox, but this effectively forces you to put some value in there to make it go away.

First time making a talk page entry, sorry if this is out of line somehow.

inventorfrog (talk) 23:44, 16 March 2026 (UTC)Reply

The /doc page is likely out-of-date (anyone can update it) which might be why the |role= is missing. As far as the |country= issue goes, I suspect it is because there is a hidden comment being copied over, which is being put into the country data as a null (rather than empty/nonexistent). If you don't want to put a country, just remove the line. Let us know if you have any other questions. Primefac (talk) 10:45, 21 March 2026 (UTC)Reply

Centering of userboxes

[edit]

Currently when userboxes are separated using newlines, they will display left-aligned rather than centered within the infobox. Would it be better if they were centered? Have a look at Template:Infobox_Wikipedia_user/testcases#Userboxes. chrs [talk] 23:52, 24 March 2026 (UTC)Reply

Both examples look the same to me. Userboxes, unless someone has done something broken, are all the same width. – Jonesey95 (talk) 19:20, 25 March 2026 (UTC)Reply
This is about the positioning of the userboxes within the infobox rather than the width of the userboxes themselves. The left example has the userboxes positioned left-of-center (as if it were a label) while the right example has the userboxes centered. Does it not appear that way on your browser? chrs [talk] 00:35, 26 March 2026 (UTC)Reply
At my default zoom settings I can see there might be a few pixels more on the right than the left (in the left-centred infobox) but unless I'm really zoomed in it's not that noticeable. I have no opinion on the request just thought I would verify that there is a visual difference (even if small). Primefac (talk) 11:01, 27 March 2026 (UTC)Reply
I looked in two other browsers (logged out, like most of our readers), and I saw a significant difference, as the OP describes. The sandbox looks much better. This template appears to use the default infobox width of 22em, and something in my font settings appears to make userboxes just a little less wide than 22em. In the other browsers, the userboxes are considerably less wide than 22em. – Jonesey95 (talk) 13:41, 27 March 2026 (UTC)Reply
After a bit more testing, I have implemented this change. – Jonesey95 (talk) 16:29, 27 March 2026 (UTC)Reply

Userbox Font Color

[edit]

Userboxes seem to have their font color become unreadable when placed inside of a infobox. Any ideas on how to fix this? Tried playing with font color settings to not avail. Armeym (talk) 05:41, 23 April 2026 (UTC)Reply

Do you have some example diffs to link to? Primefac (talk) 10:47, 23 April 2026 (UTC)Reply

Color change

[edit]

Is there any way to change the background colors, font colors, border colors, etc. of the infobox? --DollarStoreBa'alConverse 20:51, 8 May 2026 (UTC)Reply

I use the undocumented parameters abovecolor, abovefontcolor, color, and headerfontcolor. No idea if that's supposed to be used that way. 🫀 Crash // Organhaver ( it / he|talk to me, maybe? ) 21:57, 8 May 2026 (UTC)Reply
1)Why are those parameters undocumented?
2)I didn't see anything except for the normal dark grays on your page, so I put my infobox in my sandbox and it doesn't appear to be working for me either. Strange. --DollarStoreBa'alConverse 22:23, 8 May 2026 (UTC)Reply

Please update the CSS

[edit]
{{{title}}}
{{{status}}}
 {{{role}}} 
Name
{{{name}}}
Family and friends
Pets{{{pets}}}

The CSS does not work at all. None of the following parameters work at all:

  • abovecolor
  • color
  • fontcolor
  • abovefontcolor
  • headerfontcolor
  • tablecolor
  • nocat

None of them do anything. I tried. --DollarStoreBa'alConverse 21:43, 9 May 2026 (UTC)Reply

Please check if colors work for you in the light mode of Vector 2022. Styling of infoboxes is intentionally disabled in dark mode (see Module:Infobox/styles.css). —⁠andrybak (talk) 22:32, 9 May 2026 (UTC)Reply
As for parameter |nocat=, please be more specific – do you have a diff or a permanent link to a page where you see the problem? —⁠andrybak (talk) 22:37, 9 May 2026 (UTC)Reply
Wow. Welp. Now it's working. Why is the CSS in infoboxes specifically so sensitive that it MUST be hidden on light mode? --DollarStoreBa'alConverse 22:40, 9 May 2026 (UTC)Reply
Some of the reasons are explained in discussion archives. Search for "dark mode" in Template talk:Infobox/Archive 19. You can also search for mentions of "infobox" in archives of MediaWiki talk:Common.css. There are probably relevant sections in archives of WP:VPT as well.
If you would like to help resolve the issue, please avoid using these parameters, as they rely on deprecated parameters of Template:Infobox. Instead, you can use TemplateStyles to apply CSS to {{Infobox Wikipedia user}}. How to do it is documented at Template:Infobox/doc#CSS styling.
Other work related to fixing dark mode and TemplateStyles is listed at MediaWiki talk:Common.css/to do. —⁠andrybak (talk) 22:47, 9 May 2026 (UTC)Reply

Edit request 28 June 2026

[edit]

Description of suggested change:

Change the link at the top of the infobox from [[Wikipedia|Wikipedian]] to just [[Wikipedian]], as that will redirect to Wikipedia community. In solidarity, FantasticWikiUser(Ts and Cs) 14:32, 28 June 2026 (UTC)Reply

 Done Zackmann (Talk to me/What I been doing) 15:28, 28 June 2026 (UTC)Reply

Dark mode userboxes

[edit]

(I'd like to preface this with me saying I have tried to fix this in the sandbox, but I think other things would have to change for this to be fixed)

On dark mode, all userboxes with unset font colors appear with white text (rather than automatically becoming dark text once there is a custom background). This means that userboxes with light backgrounds and text which usually would render with dark text {var(--color-base-fixed)} render with light text {var(--color-base)}. Does anybody know how this could be fixed? It seems like the only way this could be fixed is editing something in the template styles (but I have no idea if that's true). If anyone could help, it would be great. Axolitl (talk | contribs) 04:32, 15 July 2026 (UTC)Reply

Also, I apologize if this has already been brought up. Axolitl (talk | contribs) 04:36, 15 July 2026 (UTC)Reply
Something like this was mentioned above, and another editor asked for links to example pages and received none. I just looked at Template:Infobox_Wikipedia_user/testcases#Userboxes and saw a mix of well-behaved userboxes (white text on a dark background) and badly behaved ones (e.g. "This user lives in the United States of America"). Those userboxes appear to have color: inherit !important; set; when it is unset using the browser's inspector, the text correctly turns black. A simpler test case in a sandbox page would probably help you isolate the source of that CSS declaration. – Jonesey95 (talk) 16:05, 17 July 2026 (UTC)Reply

Added Telegram

[edit]

I added the messaging service Telegram. But when I add the telegram tag to this template on my user page I get the following message Preview warning: Page using Template:Infobox Wikipedia user with unknown parameter "telegram". Could someone have a look & fix whatever I didn't get right. --Kira Josie Murphy (talk) 02:29, 6 August 2026 (UTC)Reply

|telegram= is not a valid parameter. Primefac (talk) 21:32, 6 August 2026 (UTC)Reply