Updating style for child templates

edit

Hi all - I noticed many sub-types of this template use a more modern style in their displays, including most every template at Category:Hatnote templates for lists. If nobody objects, I'll update this one as well to remove the box and add italics. ɱ (talk) 12:55, 31 August 2021 (UTC)Reply

@: Note that the change to this template's formatting is a recent one, it was discussed just a couple of sections back (in #Requesting comments on using ambox for this template) — you wouldn't be "updating" this template's style but reverting that change, if you were to conform it to the other templates in that category. The discussion on updating the rest of them seems to have stalled, but pinging MSGJ, DesertPipeline, Sdkb. -- FeRDNYC (talk) 07:44, 6 September 2021 (UTC)Reply
User:Ɱ: Hi. This template was updated to use the messagebox style because it is a maintenance template; it should be removed when the list is complete. I plan to submit edit requests for changing other incomplete list templates to this style when I have time. I hope that explanation is sufficient. Regards, DesertPipeline (talk) 10:53, 16 September 2021 (UTC)Reply

(copied post from above, before I noticed this thread existed) @DesertPipeline and MSGJ: I notice that the handful of child templates of this one haven't been correspondingly updated with the ambox style. That reflects the larger problem with having those as separate templates rather than just wrappers of this one. I'm not invested enough to go fix this, but just wanted to post/give you a ping in case it's something you'd like to take on. {{u|Sdkb}}talk 21:41, 21 September 2021 (UTC)Reply

User:Sdkb: Sorry that I haven't gotten around to this yet. I'll hopefully be able to do it soon – possibly today. Regards, DesertPipeline (talk) 11:45, 20 October 2021 (UTC)Reply

I've completed the required changes to this template in its sandbox; the testcases page has all the possible options. I'm not sure about the categories, though; does the main one need to not be applied to an article with another of the more specific categories applied? Also, I notice that Sdkb nominated Template:inc-alumni for deletion, and that nomination passed. Considering this change, should it not be kept? User:Sdkb, you nominated it as you state that it's often misused. I think that any template which has a proper use is reasonable to have. If people are misusing it, perhaps the documentation should be updated. Regards, DesertPipeline (talk) 12:49, 20 October 2021 (UTC)Reply

It only makes sense to have a spinoff template of a broader template if there will be a reasonable number of uses for it; otherwise, it just makes sense to use the broader template. In this case, there were a tiny number of proper uses and a big temptation for improper uses (people don't always read the documentation), thus the TfD. It's in the process of being deleted, but that can take a while since there's a queue. {{u|Sdkb}}talk 18:47, 20 October 2021 (UTC)Reply
User:Sdkb: Very well. So do you know if it's correct for both a more specific incomplete list category to be applied to a page and the main one? I think the template changes will be ready to be deployed after I know that, unless I'm missing something. DesertPipeline (talk) 10:47, 21 October 2021 (UTC)Reply
Hmm, I'd assume that yes, the categories would be diffusing like most others, but I'm not a category expert. {{u|Sdkb}}talk 13:48, 21 October 2021 (UTC)Reply
User:Sdkb: Currently I think all the categories are separate. Would you suggest I make the "Incomplete [X] lists" categories into subcategories of the "Incomplete lists" category? Also, the current way I have the template set up, there aren't icons for the individual incomplete list types like how the other live templates are right now. Do you think that's a problem? I tried adding the icons to the messagebox previously, directly right of the information icon, but I felt it looked strange. DesertPipeline (talk) 14:01, 22 October 2021 (UTC)Reply
On your first question, that would seem reasonable to me, but again I'm not a copyright person. On your second question, I think MOS:ICONDECORATION advises against it. {{u|Sdkb}}talk 15:36, 22 October 2021 (UTC)Reply

Template-protected edit request on 22 October 2021

edit

Please sync the live template with the code from the sandbox. This will allow the other "incomplete list" templates to be turned into wrappers of this one, ensuring they all have a consistent look. Thanks, DesertPipeline (talk) 22:45, 22 October 2021 (UTC)Reply

  Done I've changed the #ifeq's to #if's as they were inconsistent. I've also put the {{documentation}} back on the sandbox page - there is already a sandbox notice on it. User:GKFXtalk 10:22, 23 October 2021 (UTC)Reply
User:GKFX: Does the namespace thing actually do anything? It was like that (with ifeq) on all the other incomplete list templates. I presume it's supposed to categorise the page only if it's an article. Please could you add that functionality if it doesn't do that currently? Regards, DesertPipeline (talk) 13:29, 23 October 2021 (UTC)Reply
@DesertPipeline Yes both of them work correctly and categorize only in article space, I was just letting you know that I had picked one to make the code easier to read. (You can test this at Special:ExpandTemplates which lets you try the same code at different page titles.)
So you had two different types of if statements, {{#if:{{NAMESPACE}}||[[Category:Incomplete alumni lists]]}} and {{#ifeq:{{NAMESPACE}}||[[Category:Incomplete film lists]]}}. Both versions work fine, the first means literally "If the namespace name (first parameter) is non-blank, do nothing (second parameter), otherwise categorize it (third parameter)" and the second means "If the namespace name (first parameter) is equal to the empty string (second parameter) categorize it (third parameter)". User:GKFXtalk 13:37, 23 October 2021 (UTC)Reply
User:GKFX: Thank you for the explanation and for implementing the edit request :) DesertPipeline (talk) 13:42, 23 October 2021 (UTC)Reply
@GKFX: I do not understand that. {{NAMESPACE}} will never be blank. Its a magic word and prints the namespace, e.g. {{NAMESPACE}} gives Template talk. The if-statement in {{#if:{{NAMESPACE}}||[[Category:Incomplete alumni lists]]}} will always be true and prints nothing. Christian75 (talk) 07:21, 23 July 2022 (UTC)Reply
@Christian75 {{NAMESPACE}} is blank in the main namespace, so {{#if:{{NAMESPACE}}||x}} evaluates to x only in the main namespace. User:GKFXtalk 16:08, 23 July 2022 (UTC)Reply
Thanks. I'm just stupid. I should have tried it first - but I was so sure I was right... Christian75 (talk) 16:31, 23 July 2022 (UTC)Reply

Mobile version

edit

The changes recently implemented work fine on desktop version of Wikipedia but in the mobile version, the default just rendered as "This list". Can anyone fix that somehow? Lulusword (talk) 18:57, 24 October 2021 (UTC)Reply

User:Lulusword: I just tried viewing an article using the template with the "mobile view" link at the bottom of each Wikipedia page and it displayed properly. I would have thought that I could view the issue that way; I don't see why it would be any different to actually using a mobile computer-phone. Anyway, I would imagine that the cause is using the fix parameter to append the "is incomplete" (et cetera) text. Text or other elements within that parameter have <span class="hide-when-compact">. I'm not sure exactly how this can be fixed. User:GKFX: Sorry to bother you again, but do you have any idea? Regards, DesertPipeline (talk) 15:05, 26 October 2021 (UTC)Reply
@DesertPipeline: the template now is displayed properly (in mobile) after User:MSGJ remove the fix, but I don't know if that will affect anything previously implemented. Lulusword (talk) 16:07, 26 October 2021 (UTC)Reply
User:Lulusword: I thought that that would break the template, but I was actually overcomplicating things – the fix parameter wasn't necessary at all to accomplish what I wanted. I'm not sure how I didn't realise that. Thanks, User:MSGJ :) DesertPipeline (talk) 16:10, 26 October 2021 (UTC)Reply

The fix parameter works with the issue parameter. Due to shortage of space, mobile view only displays the issue and not the fix. So we could use |issue=This list is incomplete. and |fix=You can help by adding missing items. I can't see how to do that without breaking into two sentences however. — Martin (MSGJ · talk) 17:21, 26 October 2021 (UTC)Reply

User:MSGJ: No need to worry about it; I somehow forgot that the text parameter could contain text after the switch statement I added. The use of the fix parameter was simply a workaround for a problem I had only imagined :) DesertPipeline (talk) 18:08, 26 October 2021 (UTC)Reply

Usage of this template in standalone lists

edit

When the whole page is an incomplete list, where should this template be placed? It doesn't look correct when placed as a top tag because it's always small, and small ambox is expected to be seen under a heading. Maybe it should be changed to only default to small ambox but to allow full size too for top-tagging. I've seen it placed at the bottom of standalone lists (one recently) for this reason, which is obviously wrong and non-helpful. —Alalch E. 22:04, 17 April 2023 (UTC)Reply

Am I wrong or wasn’t Germany’s Armed Protection Sqaud/Waffenschutztrupp missing. It was arguably the largest, well equipped para military of the 20th century?

edit

This is in response for an incomplete list of para military groups Youbknowbetter68 (talk) 15:50, 29 January 2024 (UTC)Reply