Template talk:WPBannerMeta

Add topic
Active discussions
WikiProject Council  
WikiProject iconThis template relates to the WikiProject Council, a collaborative effort regarding WikiProjects in general. If you would like to participate, please visit the project discussion page.

Need help with Note #4 at Template:WikiProject CitiesEdit

Note 4 is currently auto-categorizing all talk pages into Category:Unclassified articles missing geocoordinate data; however, if one of the |in= parameters are used, then it goes into the proper classified category. How could we change the NOTE_4_CAT to only categorize those talk pages where in, in2 or in3 is not used? Example code, as it is now:

|note 4={{{needs-geocoord|{{{geocoord-needed|{{{geocoord-requested|{{{geocoord|}}}}}}}}}}}}
 |NOTE_4_TEXT        = This {{pagetype|{{{class|}}}}} lacks Geocoordinate data. {{#if:{{{small|}}}||Once the Geocoordinates data is added, please remove the {{para|needs-geocoord}} parameter from this template.}} <includeonly>{{#if:{{{in|}}}|[[Category:{{{in}}} articles missing geocoordinate data‎|{{PAGENAME}}]]}}{{#if:{{{in2|}}}|[[Category:{{{in2}}} articles missing geocoordinate data|{{PAGENAME}}]]}}{{#if:{{{in3|}}}|[[Category:{{{in3}}} articles missing geocoordinate data|{{PAGENAME}}]]}}</includeonly>
 |NOTE_4_IMAGE       = Blank_globe.svg
 |NOTE_4_CAT         = Unclassified articles missing geocoordinate data

--Funandtrvl (talk) 21:27, 19 February 2022 (UTC)

It looks like {{coord missing}} uses the Unclassified articles category also. --Funandtrvl (talk) 21:30, 19 February 2022 (UTC)
This could do it. -- WOSlinker (talk) 21:37, 19 February 2022 (UTC)
 |NOTE_4_CAT         = {{#if:{{{in|}}}{{{in2|}}}{{{in3|}}}||Unclassified articles missing geocoordinate data}}
@WOSlinker: thank you! --Funandtrvl (talk) 05:49, 20 February 2022 (UTC)

Unreasonably massive class/importance boxes on certain screen sizesEdit

When visiting pages such as Talk:France national football team or Talk:Feldwebel on Firefox using the Timeless WP skin on desktop, with a window of width less than 830px, the colored class/importance boxes (e.g. "Start", "B" and "Mid") in templates that are built on top of this template are absolutely massive, (e.g. 681px x 188 px), while the text column to their right is tiny (e.g. 82px x 182 px). I think these widths should be pretty much reversed. The problem appears to be caused by the CSS class .mw-body-content td.mbox-text of the right (text) column having display: block set and disappears when the attribute is removed.

If there's a better place to report this (e.g. if this should be viewed as a problem with the skin rather than with this template), thanks in advance for pointing me towards a better place to report this. -Ljleppan (talk) 08:33, 1 April 2022 (UTC)

Removing class="mbox-image" in the sandbox version seemed to help. See a test here. -- WOSlinker (talk) 09:47, 1 April 2022 (UTC)
This would also seems to fix the issue on my end. In this changeset, the operative CSS attribute being removed appears to be float: left; in .mw-body-content td.mbox-image.mbox-image. The downside would then naturally be that the text won't wrap around the image any more, which is probably fine in most cases but might look weird for very long texts. Meanwhile, removing class="mbox-text" from the <td> elements following the class/importance <td> elements doesn't seem to result in any adverse changes at least on my computer. Ljleppan (talk) 10:32, 1 April 2022 (UTC)
This was reported a while ago. Regardless, removing mbox- would be overall a negative for other use cases. If we need to adjust the actual CSS on that element, we can work on that.
At some point this template won't use a table for layout so we'll be able to sort these things out a bit easier. Izno (talk) 19:35, 4 June 2022 (UTC)

Discussion at Wikipedia:Village pump (idea lab) § Idea: Add affiliates to WikiProject bannersEdit

  You are invited to join the discussion at Wikipedia:Village pump (idea lab) § Idea: Add affiliates to WikiProject banners. 🐶 EpicPupper (he/him | talk) 01:14, 22 June 2022 (UTC)

Subcategorize image requestsEdit

Would it be reasonable to allow image requests to be put into subcategories? For example, a lot of pages categorized into Category:Wikipedia requested photographs in New Zealand should be put at Category:Wikipedia requested images of New Zealand biota or Category:Wikipedia requested images of people of New Zealand, but to do that at the moment you would have to use {{image request}} and remove |needs-infobox= from this template. I can think of two ways to solve this: Change |needs-infobox= to allow more than yesno; or add a |type= parameter (or similar). — HTGS (talk) 01:12, 13 September 2022 (UTC)

You could look at the code in Template:WikiProject Wisconsin for an example of adding the in parameter for images. -- WOSlinker (talk) 07:15, 13 September 2022 (UTC)