Module talk:WikiProject banner/Archive 13
Protected edit request on 8 February 2021
![]() | This edit request to Template:WPBannerMeta/core, Template:WPBannerMeta and Template:Inactive WikiProject banner has been answered. Set the |answered= parameter to no to reactivate your request. |
- On {{WPBannerMeta/core}}, at
<table class="tmbox tmbox-notice mw-collapsible innercollapse wpb" style="height:0;">
, add the following afterwpb
:{{#switch:{{lc:{{{PROJECT_STATUS|}}}}}|inactive=inactive-wikiproject|semi-active|semiactive=semi-active-wikiproject|defunct=defunct-wikiproject|active|#default=}}
- In {{WPBannerMeta}}, after
|BOTTOM_TEXT = {{{BOTTOM_TEXT|}}}
, add the following on a new line:|PROJECT_STATUS = {{{PROJECT_STATUS|}}}
- 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. –MJL ‐Talk‐☖ 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 31 March 2021
![]() | This edit request to Template:WPBannerMeta/core has been answered. Set the |answered= parameter to no to reactivate your request. |
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):
– BrandonXLF (talk) 05:15, 31 March 2021 (UTC)
Done -- WOSlinker (talk) 07:46, 31 March 2021 (UTC)