Template talk:WPBannerMeta

Active discussions
WikiProject Council  
This 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.

Protected edit request on 8 February 2021Edit

  1. On {{WPBannerMeta/core}}, at <table class="tmbox tmbox-notice mw-collapsible innercollapse wpb" style="height:0;">, add the following after wpb:
    {{#switch:{{lc:{{{PROJECT_STATUS|}}}}}|inactive=inactive-wikiproject|semi-active|semiactive=semi-active-wikiproject|defunct=defunct-wikiproject|active|#default=}}
  2. In {{WPBannerMeta}}, after |BOTTOM_TEXT = {{{BOTTOM_TEXT|}}}, add the following on a new line:
    |PROJECT_STATUS = {{{PROJECT_STATUS|}}}
  3. At the bottom of {{Inactive WikiProject banner}}, add:
    |PROJECT_STATUS = {{{PROJECT_STATUS|{{#if:{{{status|}}}|{{{status}}}|inactive}}}}}

This has been tested at Template:Inactive WikiProject banner/testcases. The change adds a new class to the banner which would allow users to hide inactive WikiProject at their own discretion. –MJLTalk 21:03, 8 February 2021 (UTC)

  Done, but I've added a class also for the actives also. --Izno (talk) 04:33, 9 February 2021 (UTC)

Protected edit request on 30 March 2021Edit

The wikitext {{navbar|{{{BANNER_NAME}}}|mini=1|style=float:right; clear:right; margin:-1em 0.1em; display:none;}} should be removed from Template:WPBannerMeta/core. The last attempt to remove it at Template_talk:WPBannerMeta/Archive 10#Edit request to /core to remove navbar call was closed on the grounds that people could enable viewing it using custom CSS, but a search shows that only 7 editors have done this, even years after it was added. It would make much more sense for anyone would like the functionality to use a userscript, like User:BrandonXLF/WPBannerNavbar.js, to show the navbar rather than adding an invisible navbar to millions of pages for use by 7 editors, not the mention the millions of rows the invisible navbar adds to the pagelinks database table.BrandonXLF (talk) 08:12, 30 March 2021 (UTC)

  Not done for now: please establish a consensus for this alteration before using the {{edit protected}} template. Accordingly, I am notifying those who took part last time, plus those in the above search query: Netoholic, Mr. Stradivarius, MSGJ, Happy-melon, Andy M. Wang, InverseHypercube. --Redrose64 🌹 (talk) 14:03, 30 March 2021 (UTC)

Obviously, I continue to support removal of this silly inclusion as I stated 7 years ago. In that time, the initial concern has doubled, with this minor function now adding unnecessary HTML to 9.3 million talk pages. -- Netoholic @ 14:17, 30 March 2021 (UTC)

I would support removal. -- WOSlinker (talk) 16:53, 30 March 2021 (UTC)
Support edit, it makes sense to remove it. Never knew it was there to begin with, so I don't use it! Funandtrvl (talk) 21:24, 30 March 2021 (UTC)
@Happy-melon: - any comments on this before we remove it? — xaosflux Talk 02:27, 15 April 2021 (UTC)
  Done I've removed this now as there have been no objections. -- WOSlinker (talk) 13:13, 20 April 2021 (UTC)

Protected edit request on 31 March 2021Edit

Remove the line <td class="mbox-empty-cell"></td> from Template:WPBannerMeta/core to resolve an issue with the border when the template is inside {{WikiProject banner shell}}. It was orginally added by User:Happy-melon in revision 301387726 (diff) so the header and the body would have the same number of table cells since the header also had a mbox-empty-cell table cell that was used to contain the metadata. But now that the metadata was moved and the mbox-empty-cell in the header was removed by User:WOSlinker in revision 982121201 (diff), there is one extra table cell in the text row, causing the border issue. To fix this, the mbox-empty-cell should in the text row should also be removed. Here's the effect of the change (notice the border in the top right):

Current
[[{{{PROJECT_LINK}}}|CURRENT]]  
This article is within the scope of [[|CURRENT]], a collaborative effort to improve the coverage of {{{PROJECT}}} articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the [[|discussion]] and see a list of open tasks.
Proposed
[[{{{PROJECT_LINK}}}|SANDBOX]]  
This article is within the scope of [[|SANDBOX]], a collaborative effort to improve the coverage of {{{PROJECT}}} articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the [[|discussion]] and see a list of open tasks.

BrandonXLF (talk) 05:15, 31 March 2021 (UTC)

  Done -- WOSlinker (talk) 07:46, 31 March 2021 (UTC)

Question about duplication of banners when using a banner wrapper template to redirectEdit

We're trying to merge Template:WPUS50 into Template:WikiProject United States. The problem is with moving the transcluded pages from the WPUS50 template to WPUSA. If we change Template:WPUS50 to a banner wrapper template, using code like in Template:WikiProject Iowa, this will change the banners to the WPUSA, but it oftens leaves two WPUSA banners on the talk pages. Is there any way to prevent this from happening, or to combine the two WP banners on the talk pages? Thanks, --Funandtrvl (talk) 18:14, 27 April 2021 (UTC)

Never mind, a bot would need to do the work. --Funandtrvl (talk) 23:29, 27 April 2021 (UTC)
Return to "WPBannerMeta" page.