Template talk:Userbox

Latest comment: 3 months ago by Jonesey95 in topic broken spacing? (January 2024)

WikiProject iconUserboxes
WikiProject iconTemplate:Userbox is part of WikiProject Userboxes. This means that the WikiProject has identified it as part of the userboxes system. WikiProject Userboxes itself is an attempt to improve, grow and standardize Wikipedia's articles and templates related to the userbox system, used on many users' pages. We need all your help, so join in today!

Template-protected edit request on 6 September 2020 edit

  Moved from Module talk:Userbox
 – * Pppery * it has begun... 15:53, 7 September 2021 (UTC)Reply

Please apply Special:Diff/941729320/976979286 to remove number of categories check to allow unconditional categorization of articles (main namespace) into Category:Pages with misplaced templates. See, for example, Special:Diff/959473229, where template {{userbox}} has stayed in the article for a month and a half, but the article wasn't categorized due to absence of parameter |usercategory=. —⁠andrybak (talk) 06:17, 6 September 2020 (UTC)Reply

Here's more examples of userboxes staying in articles unnoticed: Special:Diff/976979720, Special:Diff/976979958, Special:Diff/976980141, Special:Diff/976980267, Special:Diff/976980338, Special:Diff/976980441. —⁠andrybak (talk) 06:31, 6 September 2020 (UTC)Reply
  Done Primefac (talk) 18:06, 6 September 2020 (UTC)Reply

Handling 2-pixel borders better edit

  Moved from Module talk:Userbox
 – * Pppery * it has begun... 15:53, 7 September 2021 (UTC)Reply

Userboxes that have a border 2 pixels wide seem to have a non-standard height, since the border expands outwards rather than in toward the infobox center. This creates subtle misalignments, like here. Could this be remedied? {{u|Sdkb}}talk 23:50, 6 September 2021 (UTC)Reply

Knowling a lot about CSS and HTML, my answer is technically yes, but not simply. It's not as easy as setting a value like border-direction: inward because it doesn't exist. No matter what, a CSS border will always expand outward. It is theoretically possible to have some extra calculations within the module that shrinks the width and height in unison with the border, but for the effort it would take to implement it, would it be worth it? --Diriector_Doc├─────┤TalkContribs 05:50, 7 September 2021 (UTC)Reply

Template-protected edit request on October 1 2021 edit

I would like to request the the seemingly random {{{info}}} code be removed from the top of the page. It appears like it's not meant to be there or something's not showing up right. If it's supposed to be there let me know. ― Blaze The WolfTalkBlaze Wolf#6545 15:33, 1 October 2021 (UTC)Reply

  Not done: It's not random. It's showing you what an empty version of the template looks like. It could be better, I suppose. Feel free to modify the sandbox to propose a change. – Jonesey95 (talk) 16:37, 1 October 2021 (UTC)Reply
Ah ok. Looks a bit odd but alright. I think it's mainly because it doesn't actually look like a userbox. ― Blaze The WolfTalkBlaze Wolf#6545 13:49, 4 October 2021 (UTC)Reply

Categorising user pages in Category:Userboxes with insufficient color contrast edit

@GKFX: is it because of your recent edits that user pages are showing up in Category:Userboxes with insufficient color contrast (23,773)? I.e. the category is being transcluded from the templates to the user pages. – Fayenatic London 21:50, 31 January 2023 (UTC)Reply

Userspace categories are still being added in Template space edit

I noticed in doing some maintenance that {{User Soaring Sky! Pretty Cure}} is being inappropriately added to Category:Wikipedians who like Pretty Cure by the |usercategory=Wikipedians who like Pretty Cure code in the userbox. I believe that this should not be happening. Templates should live in template categories, and User pages that transclude the userboxes should be assigned the User categories. It looks like this discussion from 2014 tried to address the issue but went nowhere.

The problem can be worked around using includeonly tags, but the template should just do the right thing. If I knew Lua, I would try to fix it, but I do not. If the Lua code could somehow provide the equivalent of includeonly tags, that might do the trick. – Jonesey95 (talk) 06:17, 22 September 2023 (UTC)Reply

broken spacing? (January 2024) edit

  Resolved

Template:Userboxtop and Template:Userboxgroup seem to be broken, adding a lot of extra space, as of January 2024. See how it looks on the right-hand side [here.

Was there a recent formatting change? Maybe related to this merge discussion? Caleb Stanford (talk) 00:19, 3 January 2024 (UTC)Reply

That linked page looks fine to me. Maybe post a screen shot? – Jonesey95 (talk) 00:28, 3 January 2024 (UTC)Reply
It looks like the editor did a temp fix, which is probably why it looks ok now.
I think the issue is due to an internally used template being marked for TfD. Once that discussion is over, that notification template should be removed, and everything should be fine again. - jc37 01:07, 3 January 2024 (UTC)Reply
Oops, fixed the link. Also, here's a direct demonstration on the RHS in this talk section.
@Jc37: OK, thanks for the input. Caleb Stanford (talk) 01:29, 3 January 2024 (UTC)Reply
Thanks for the demonstration. It looks like this problem has been resolved by the closing of the TFD. – Jonesey95 (talk) 14:53, 3 January 2024 (UTC)Reply