Module talk:WikiProject banner: Difference between revisions

Content deleted Content added
 
Line 1:
{{notice|If you wish to discuss the behaviour of the project banner inside the banner shell, then you may wish to post at [[Template talk:WikiProject banner shell]] instead.}}
{{WPCouncil}}
{{WikiProject banner shell|
{{maintained|'''[[User:Happy-melon|Happy-melon]]'''}}
{{WikiProject Council}}
==Discussion==
I was about to suggest the same idea. Did you propose this template somewhere just to advertise these it? [[User:16@r|16@r]] ([[User talk:16@r|talk]]) 23:35, 19 February 2008 (UTC)
:I'd wanted to do something like this for a while, but I asked at [[WT:COUNCIL]] first to check that it hadn't already been done. When the response was negative, I cooked this up - it's a shamless plagiarism from the Tulips example at [[WP:COUNCIL]], along with bits pinched from [[WP:AFRICA]], [[WP:BALLET]] and various other places. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 09:45, 20 February 2008 (UTC)
 
::Eek. I'm not sure where, but somewhere near the beginning of this a "br" is generated when this is used in WPBannerShell. To see what I mean, take a look at [[Talk:Sun Ra]]. From what I can tell, the namespace code at the beginning is causing that line. Perhaps a &lt;--(newline)--&gt; between that an the table? -- <span style="background: #EECCFF;">[[User:SatyrTN|SatyrTN]] <small>([[User talk:SatyrTN|talk]] / [[Special:Contributions/SatyrTN|contribs]])</small></span> 21:31, 9 March 2008 (UTC)
 
==Tighter categorisation==
Hi,
 
I've just spent a little while improving the Geology template so it creates more specific categories: for example, "High-importance Stub-class geology articles". When you changed the template to the new "universal" format, these changes were lost. I think the idea of having a centrally maintained template such as this one is truly excellent, and wonder whether my coding could be incorporated into it? You should find it simple enough to see [http://en.wikipedia.org/w/index.php?title=Template%3AWikiProject_Geology&diff=204541727&oldid=195459296 what I've done].
 
Best,
 
''[[User:Verisimilus|Verisimilus]]''&nbsp;'''<small>[[User_talk:Verisimilus|T]]</small>''' 14:16, 12 April 2008 (UTC)
:Responded on [[Template talk:WikiProject Geology]]. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 15:23, 12 April 2008 (UTC)
 
== B-Class criteria ==
 
I can't find it so I though I'd ask. Is there a way to include the B-class article checklist? If not, that's fine and I'll code it into the old project template we used to use. Thanks! <font color="green" face="Comic Sans MS">[[User:Stepshep|§hep]]</font> • <font color="green" face="Comic Sans MS">[[User talk:Stepshep|¡Talk to me!]]</font> 22:43, 6 May 2008 (UTC)
:There currently isn't anything hard-coded into the banner, although there are numerous places where you can 'hang' extra code as required ({{para|BOTTOM_TEXT}} and {{para|COLLAPSED_TEXT}} are good ones). How standardised are the B-class assessments between wikiprojects? If they are almost universal, I could work something into the banner; but if the assessments are customised for each project, then it wouldn't be worth it. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 10:29, 7 May 2008 (UTC)
:::According to the 1.0 Team
 
Commonly the highest article grade that is assigned outside a more formal review process. Has several of the elements described in "start", usually a majority of the material needed for a comprehensive article. Nonetheless, ''it has some gaps or missing elements or references'', ''needs editing for language usage'' or clarity, ''balance of content'', or c''ontains other policy problems'' such as copyright, ''Neutral Point Of View (NPOV) or No Original Research (NOR)''. With NPOV a well written B-class may correspond to the "Wikipedia 0.5" or "usable" standard. Articles that are close to GA status but don't meet the Good article criteria should be B- or Start-class articles.
 
Following that the [[Template:WPMILHIST|MILHIS]] banner seems to have the coding that does the trick. <small><code>{{!}} This article has been checked against the following [[Wikipedia:WikiProject Military history/Assessment#Quality scale|criteria for B-Class status]]:<br/>
# {{#ifeq:{{WPMILHIST/Any|{{{B-Class-1|}}}|{{{B-1|}}}|{{{B1|}}}|{{{b-1|}}}|{{{b1|}}}}}|yes| [[Image:Orange check.svg|16x16px]] | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-1|}}}|{{{B-1|}}}|{{{B1|}}}|{{{b-1|}}}|{{{b1|}}}}}|no| [[Image:Red x.svg|16x16px]] | [[Image:Purple question mark.svg|16x16px]] }}}} Referencing and citation: {{#ifeq:{{WPMILHIST/Any|{{{B-Class-1|}}}|{{{B-1|}}}|{{{B1|}}}|{{{b-1|}}}|{{{b1|}}}}}|yes| ''criterion met'' | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-1|}}}|{{{B-1|}}}|{{{B1|}}}|{{{b-1|}}}|{{{b1|}}}}}|no| ''criterion not met'' | ''not checked'' }}}}
# {{#ifeq:{{WPMILHIST/Any|{{{B-Class-2|}}}|{{{B-2|}}}|{{{B2|}}}|{{{b-2|}}}|{{{b2|}}}}}|yes| [[Image:Orange check.svg|16x16px]] | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-2|}}}|{{{B-2|}}}|{{{B2|}}}|{{{b-2|}}}|{{{b2|}}}}}|no| [[Image:Red x.svg|16x16px]] | [[Image:Purple question mark.svg|16x16px]] }}}} Coverage and accuracy: {{#ifeq:{{WPMILHIST/Any|{{{B-Class-2|}}}|{{{B-2|}}}|{{{B2|}}}|{{{b-2|}}}|{{{b2|}}}}}|yes| ''criterion met'' | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-2|}}}|{{{B-2|}}}|{{{B2|}}}|{{{b-2|}}}|{{{b2|}}}}}|no| ''criterion not met'' | ''not checked'' }}}}
# {{#ifeq:{{WPMILHIST/Any|{{{B-Class-3|}}}|{{{B-3|}}}|{{{B3|}}}|{{{b-3|}}}|{{{b3|}}}}}|yes| [[Image:Orange check.svg|16x16px]] | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-3|}}}|{{{B-3|}}}|{{{B3|}}}|{{{b-3|}}}|{{{b3|}}}}}|no| [[Image:Red x.svg|16x16px]] | [[Image:Purple question mark.svg|16x16px]] }}}} Structure: {{#ifeq:{{WPMILHIST/Any|{{{B-Class-3|}}}|{{{B-3|}}}|{{{B3|}}}|{{{b-3|}}}|{{{b3|}}}}}|yes| ''criterion met'' | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-3|}}}|{{{B-3|}}}|{{{B3|}}}|{{{b-3|}}}|{{{b3|}}}}}|no| ''criterion not met'' | ''not checked'' }}}}
# {{#ifeq:{{WPMILHIST/Any|{{{B-Class-4|}}}|{{{B-4|}}}|{{{B4|}}}|{{{b-4|}}}|{{{b4|}}}}}|yes| [[Image:Orange check.svg|16x16px]] | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-4|}}}|{{{B-4|}}}|{{{B4|}}}|{{{b-4|}}}|{{{b4|}}}}}|no| [[Image:Red x.svg|16x16px]] | [[Image:Purple question mark.svg|16x16px]] }}}} Grammar: {{#ifeq:{{WPMILHIST/Any|{{{B-Class-4|}}}|{{{B-4|}}}|{{{B4|}}}|{{{b-4|}}}|{{{b4|}}}}}|yes| ''criterion met'' | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-4|}}}|{{{B-4|}}}|{{{B4|}}}|{{{b-4|}}}|{{{b4|}}}}}|no| ''criterion not met'' | ''not checked'' }}}}
# {{#ifeq:{{WPMILHIST/Any|{{{B-Class-5|}}}|{{{B-5|}}}|{{{B5|}}}|{{{b-5|}}}|{{{b5|}}}}}|yes| [[Image:Orange check.svg|16x16px]] | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-5|}}}|{{{B-5|}}}|{{{B5|}}}|{{{b-5|}}}|{{{b5|}}}}}|no| [[Image:Red x.svg|16x16px]] | [[Image:Purple question mark.svg|16x16px]] }}}} Supporting materials: {{#ifeq:{{WPMILHIST/Any|{{{B-Class-5|}}}|{{{B-5|}}}|{{{B5|}}}|{{{b-5|}}}|{{{b5|}}}}}|yes| ''criterion met'' | {{#ifeq:{{WPMILHIST/Any|{{{B-Class-5|}}}|{{{B-5|}}}|{{{B5|}}}|{{{b-5|}}}|{{{b5|}}}}}|no| ''criterion not met'' | ''not checked'' }}}}
{{#if:{{WPMILHIST/Any|{{{B-Class-1|}}}|{{{B-1|}}}|{{{B1|}}}|{{{b-1|}}}|{{{b1|}}}}}{{WPMILHIST/Any|{{{B-Class-2|}}}|{{{B-2|}}}|{{{B2|}}}|{{{b-2|}}}|{{{b2|}}}}}{{WPMILHIST/Any|{{{B-Class-3|}}}|{{{B-3|}}}|{{{B3|}}}|{{{b-3|}}}|{{{b3|}}}}}{{WPMILHIST/Any|{{{B-Class-4|}}}|{{{B-4|}}}|{{{B4|}}}|{{{b-4|}}}|{{{b4|}}}}}{{WPMILHIST/Any|{{{B-Class-5|}}}|{{{B-5|}}}|{{{B5|}}}|{{{b-5|}}}|{{{b5|}}}}}||{{#if:{{{B-Class-1}}}{{{B-Class-2}}}{{{B-Class-3}}}{{{B-Class-4}}}{{{B-Class-5}}}|To fill out this checklist, please <span class="editlink noprint plainlinksneverexpand">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} add]</span> the following to the template call:<br/><small><tt><nowiki><!-- B-Class-1. It is suitably referenced, and all major points have appropriate inline citations. --></nowiki></tt></small><br/><small><tt><nowiki>|B-Class-1=yes/no</nowiki></tt></small><br/><small><tt><nowiki><!-- B-Class-2. It reasonably covers the topic, and does not contain obvious omissions or inaccuracies. --></nowiki></tt></small><br/><small><tt><nowiki>|B-Class-2=yes/no</nowiki></tt></small><br/><small><tt><nowiki><!-- B-Class-3. It has a defined structure, including a lead section and one or more sections of content. --></nowiki></tt></small><br/><small><tt><nowiki>|B-Class-3=yes/no</nowiki></tt></small><br/><small><tt><nowiki><!-- B-Class-4. It is free from major grammatical errors. --></nowiki></tt></small><br/><small><tt><nowiki>|B-Class-4=yes/no</nowiki></tt></small><br/><small><tt><nowiki><!-- B-Class-5. It contains appropriate supporting materials, such as an infobox, images, or diagrams. --></nowiki></tt></small><br/><small><tt><nowiki>|B-Class-5=yes/no</nowiki></tt></small>}}}}
|#default=}}
</code></small>
 
That looks fairly similar to the criteria set forth by [[WP:1]]. It would be nice to have it set up though, so if the article was above B-Class the checklist wouldn't appear. What do you think? <font color="green" face="Comic Sans MS">[[User:Stepshep|§hep]]</font> • <font color="green" face="Comic Sans MS">[[User talk:Stepshep|¡Talk to me!]]</font> 20:31, 7 May 2008 (UTC)
 
:As I said, implementing a checklist like that would be relatively easy, as would the trick you suggest. The question is, how widely would it be used? Remember that any addition made to the metatemplate increases the code size for ''all'' projects using the banner, on ''all'' pages where a banner based on it appears. It's only worth adding if the majority of projects which do B-class checklists use ''exactly'' this set of criteria, in that precise order, etc etc. How widespread is this system? <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 20:38, 7 May 2008 (UTC)
 
::I honestly don't have a clue. Would you mind putting a checklist on [[Template:OH-Project]]; I can't figure it out how to make it just appear on articles that are rated B and below with the Meta syntax. Thanks. <font color="green" face="Comic Sans MS">[[User:Stepshep|§hep]]</font> • <font color="green" face="Comic Sans MS">[[User talk:Stepshep|¡Talk to me!]]</font> 20:49, 7 May 2008 (UTC)
 
== Help ==
 
[[:Template:Ottawaproject]] and [[:Template:WikiProject Toronto]], both of which use this template, have spontaneously dropped the word "article" from their categories -- they are now categorising into "Stub-Class Toronto", "Mid-importance Ottawa" etc.. whereas a few days ago it was "Stub-Class Toronto articles", "Mid-importance Ottawa articles". Could someone please take a look? --'''[[User:Padraic|Padraic]]''' 11:59, 27 May 2008 (UTC)
:Both {{fixed}} <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 12:08, 27 May 2008 (UTC)
::Many thanks! They also don't seem to be indexed by the bot -- any thoughts on that? --'''[[User:Padraic|Padraic]]''' 12:33, 27 May 2008 (UTC)
 
Two projects I work with appear to have been affected by this problem. Both [[WP:HAM]] and [[WP:NUDITY]] have dropped "articles" from the category name. Was this a planned change? If so, I'd appreciate some direction to instructions on adjusting categories to the new standard. Thanks. --[[User:StuffOfInterest|StuffOfInterest]] ([[User talk:StuffOfInterest|talk]]) 16:40, 4 June 2008 (UTC)
 
:Ok, most importantly: to fix this problem, which seems to be fairly widespread, '''you need to add "articles" to the end of whatever you've got in {{para|ASSESSMENT_CAT}}'''. Eg these edits of mine: [http://en.wikipedia.org/w/index.php?title=Template:AUCK&diff=prev&oldid=217018998], [http://en.wikipedia.org/w/index.php?title=Template:Advenproj&diff=prev&oldid=216418033], [http://en.wikipedia.org/w/index.php?title=Template:Album&diff=prev&oldid=215238821]. As to why it's recently started doing it, well, it was ''always'' supposed to be this way: if you check the documentation you'll see that parameter was supposed to be an omnipotent opt-out. As it is, I made a little error the first time I wrote that piece of code (I coded <code><nowiki>{{#if:{{{ASSESSMENT_CAT|}}}|{{{ASSESSMENT_CAT}}}|{{{PROJECT}}}}} articles</nowiki></code> instead of <code><nowiki>{{#if:{{{ASSESSMENT_CAT|}}}|{{{ASSESSMENT_CAT}}}|{{{PROJECT}}} articles}}</nowiki></code>) and then copied it everywhere else I needed that functionality; as such, this is really a bug which was worked around by 'breaking' all the instance templates. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 20:06, 4 June 2008 (UTC)
::I've "fixed" the two projects I'm involved with. Thanks for explaining what happened. --[[User:StuffOfInterest|StuffOfInterest]] ([[User talk:StuffOfInterest|talk]]) 20:37, 4 June 2008 (UTC)
 
== List as ==
 
It seems that many templates have been written to override listas parameters. Thus, when I look at a category like [[:Category:GA-Class Chicago articles]] all the names are in the wrong places. Is there a reason for this? Please drop a note on my talk page when you respond to this.--[[User:TonyTheTiger|TonyTheTiger]] <small>([[User talk:TonyTheTiger|t]]/[[Special:Contributions/TonyTheTiger|c]]/[[User:TonyTheTiger/Antonio Vernon|bio]]/[[WP:CHICAGO]]/[[WP:LOTM]]) </small> 00:59, 30 May 2008 (UTC)
 
== Template:AUCK ==
 
It seems that the [[WP:AUK|Wikiproject Auckland]] bannere located [[Template:AUCK|here]] has begun to suffer some problems, i.e deadlinks occuring that do infact have pages at the other end, although I am not positive if this is the source, these problems didnt exist before a banner appeared on the template page telling me to refer here about problems with the WPBannerMeta data, qhich i suspect is the problem. Could someone please help with the problem? <font color="darkblue"><font face="Edwardian Script ITC" size="3.75"> [[User:Taifarious1|Taifar]][[User talk:Taifarious1|ious1]] </font> </font> 03:50, 4 June 2008 (UTC)
:{{Fixed}} <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 07:23, 4 June 2008 (UTC)
 
== More task forces ==
 
Would it be possible to add the support for just a couple more task forces (I was planning on using this template for [[Template:TelevisionWikiProject]], but it has one task force too much. — [[User:Parent5446|Parent5446]] [[User talk:Parent5446|☯]] <sup class="plainlinks">([{{fullurl:User talk: Parent5446|action=edit&editintro=User:Parent5446/MediaWiki/TalkPageInstructions&section=new}} message] [[Special:Emailuser/Parent5446|email]])</sup> 12:51, 11 June 2008 (UTC)
:I added three more, to bring the total to eight. I think I'll need to rethink the code that displays the link when the template is nested if we end up adding any more: it's ''horribly'' inefficient. I'm getting increasingly annoyed that wikimarkup doesn't have support for arrays/dictionaries in any fashion. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 14:05, 11 June 2008 (UTC)
::Thanks. Maybe you should suggest something like an array or dictionary [http://bugzilla.mediawiki.org here], and it just might get implemented. — [[User:Parent5446|Parent5446]] [[User talk:Parent5446|☯]] <sup class="plainlinks">([{{fullurl:User talk: Parent5446|action=edit&editintro=User:Parent5446/MediaWiki/TalkPageInstructions&section=new}} message] [[Special:Emailuser/Parent5446|email]])</sup> 21:13, 11 June 2008 (UTC)
One more thing needs to be fixed. When the additional task forces were put in, the <nowiki>{{#if:{{{TF_#|}}}|</nowiki> functions (which check if a task force is set) repeat as task force number five:
:::The current code reads:
:::<nowiki>{{#if:{{{TF_4|}}}|{{#if:{{{tf 4|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_4_IMAGE|}}}|SIZE={{{TF_4_SIZE|}}}|TEXT={{{TF_4_TEXT|}}}|LINK={{{TF_4_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_4_NAME|}}}|QUALITY={{{TF_4_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_4_IMPORTANCE|}}}|importance={{{tf 4 importance|}}}|ASSESSMENT_CAT={{{TF_4_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_5_IMAGE|}}}|SIZE={{{TF_5_SIZE|}}}|TEXT={{{TF_5_TEXT|}}}|LINK={{{TF_5_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_5_NAME|}}}|QUALITY={{{TF_5_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_5_IMPORTANCE|}}}|importance={{{tf 5 importance|}}}|ASSESSMENT_CAT={{{TF_5_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_6_IMAGE|}}}|SIZE={{{TF_6_SIZE|}}}|TEXT={{{TF_6_TEXT|}}}|LINK={{{TF_6_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_6_NAME|}}}|QUALITY={{{TF_6_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_6_IMPORTANCE|}}}|importance={{{tf 6 importance|}}}|ASSESSMENT_CAT={{{TF_6_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_7_IMAGE|}}}|SIZE={{{TF_7_SIZE|}}}|TEXT={{{TF_7_TEXT|}}}|LINK={{{TF_7_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_7_NAME|}}}|QUALITY={{{TF_7_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_7_IMPORTANCE|}}}|importance={{{tf 7 importance|}}}|ASSESSMENT_CAT={{{TF_7_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_8_IMAGE|}}}|SIZE={{{TF_8_SIZE|}}}|TEXT={{{TF_8_TEXT|}}}|LINK={{{TF_8_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_8_NAME|}}}|QUALITY={{{TF_8_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_8_IMPORTANCE|}}}|importance={{{tf 8 importance|}}}|ASSESSMENT_CAT={{{TF_8_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}</nowiki>
::It should read:
:::<nowiki>{{#if:{{{TF_4|}}}|{{#if:{{{tf 4|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_4_IMAGE|}}}|SIZE={{{TF_4_SIZE|}}}|TEXT={{{TF_4_TEXT|}}}|LINK={{{TF_4_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_4_NAME|}}}|QUALITY={{{TF_4_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_4_IMPORTANCE|}}}|importance={{{tf 4 importance|}}}|ASSESSMENT_CAT={{{TF_4_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_5_IMAGE|}}}|SIZE={{{TF_5_SIZE|}}}|TEXT={{{TF_5_TEXT|}}}|LINK={{{TF_5_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_5_NAME|}}}|QUALITY={{{TF_5_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_5_IMPORTANCE|}}}|importance={{{tf 5 importance|}}}|ASSESSMENT_CAT={{{TF_5_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}{{#if:{{{TF_</nowiki>'''6'''<nowiki>|}}}|{{#if:{{{tf </nowiki>'''6'''<nowiki>|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_6_IMAGE|}}}|SIZE={{{TF_6_SIZE|}}}|TEXT={{{TF_6_TEXT|}}}|LINK={{{TF_6_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_6_NAME|}}}|QUALITY={{{TF_6_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_6_IMPORTANCE|}}}|importance={{{tf 6 importance|}}}|ASSESSMENT_CAT={{{TF_6_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}{{#if:{{{TF_</nowiki>'''7'''<nowiki>|}}}|{{#if:{{{tf </nowiki>'''7'''<nowiki>|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_7_IMAGE|}}}|SIZE={{{TF_7_SIZE|}}}|TEXT={{{TF_7_TEXT|}}}|LINK={{{TF_7_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_7_NAME|}}}|QUALITY={{{TF_7_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_7_IMPORTANCE|}}}|importance={{{tf 7 importance|}}}|ASSESSMENT_CAT={{{TF_7_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}{{#if:{{{TF_</nowiki>'''8'''<nowiki>|}}}|{{#if:{{{tf </nowiki>'''8'''<nowiki>|}}}|&#32;</nowiki><br /><nowiki>
{{WPBannerMeta/taskforce|IMAGE={{{TF_8_IMAGE|}}}|SIZE={{{TF_8_SIZE|}}}|TEXT={{{TF_8_TEXT|}}}|LINK={{{TF_8_LINK|}}}|NAME=</nowiki><br /><nowiki>{{{TF_8_NAME|}}}|QUALITY={{{TF_8_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=</nowiki><br /><nowiki>{{{TF_8_IMPORTANCE|}}}|importance={{{tf 8 importance|}}}|ASSESSMENT_CAT={{{TF_8_ASSESS_CAT|}}}|category={{{category|μ}}} }}</nowiki><br /><nowiki>
}}}}</nowiki>
Thanks, — [[User:Parent5446|Parent5446]] [[User talk:Parent5446|☯]] <sup class="plainlinks">([{{fullurl:User talk: Parent5446|action=edit&editintro=User:Parent5446/MediaWiki/TalkPageInstructions&section=new}} message] [[Special:Emailuser/Parent5446|email]])</sup> 02:32, 12 June 2008 (UTC)
:I edited the template in the [[Template:WPBannerMeta/sandbox|sandbox]] (so that sandbox has the fixed version), and the differences can be seen on the [[Template:WPBannerMeta/testcases|testcases]] page. — [[User:Parent5446|Parent5446]] [[User talk:Parent5446|☯]] <sup class="plainlinks">([{{fullurl:User talk: Parent5446|action=edit&editintro=User:Parent5446/MediaWiki/TalkPageInstructions&section=new}} message] [[Special:Emailuser/Parent5446|email]])</sup> 12:02, 12 June 2008 (UTC)
::Gah!! Silly me! Fixed now... <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 16:33, 12 June 2008 (UTC)
:::Thats OK. I have done that dozens of times. BTW, I log in and got to my watchlist: First edit says "me = twit", and I just burst into hysterical laughter. — [[User:Parent5446|Parent5446]] [[User talk:Parent5446|☯]] <sup class="plainlinks">([{{fullurl:User talk: Parent5446|action=edit&editintro=User:Parent5446/MediaWiki/TalkPageInstructions&section=new}} message] [[Special:Emailuser/Parent5446|email]])</sup> 19:32, 12 June 2008 (UTC)
 
== More Notes ==
{{tlx|editprotected}}
One more thing, sorry to bother you so much (if the page was not protected I would do it myself), could you add a couple more notes to the banner (not C_NOTE, just regular notes). Thanks a lot. — [[User:Parent5446|Parent5446]] [[User talk:Parent5446|☯]] <sup class="plainlinks">([{{fullurl:User talk: Parent5446|action=edit&editintro=User:Parent5446/MediaWiki/TalkPageInstructions&section=new}} message] [[Special:Emailuser/Parent5446|email]])</sup> 19:34, 12 June 2008 (UTC)
:I'm reluctant to do this because you can achieve the same effect with 'bolt on' code on {{para|BOTTOM_TEXT}}. I think I'll cook up an "extra notes" 'module' to hang on that parameter, with the same syntax as the normal notes; that will avoid increasing the bytecount for other projects. Poke me if I forget this. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 21:20, 19 June 2008 (UTC)
::Ok, I've had a closer look at the syntax I've already got, and the easiest thing to do it just to call {{tlx|WPBannerMeta/note}} directly with its internal parameters. So syntax like this:
<pre>{{WPBannerMeta
|PROJECT =
|BANNER_NAME = {{subst:FULLPAGENAME}}
|small={{{small|}}}
|nested={{{nested|}}}
|category={{{category|μ}}}
....
|NOTE_5 = yes
|note 5={{{**PARAMETER**|}}}
|NOTE_5_TEXT = Foo bar lorem ipsum
|NOTE_5_IMAGE = Foo.jpg
|NOTE_5_SIZE = 30px
|NOTE_5_CAT = Somecat
|NOTE_5_FORMAT =
|BOTTOM_TEXT = <!--
-->{{WPBannerMeta/note
|note={{{**PARAMETER**|}}}
|NOTE_TEXT = More text
|NOTE_IMAGE = Example.jpg
|NOTE_SIZE = 25px
|NOTE_CAT = AnotherCat
|NOTE_FORMAT =
}}{{WPBannerMeta/note
|note={{{**PARAMETER**|}}}
|NOTE_TEXT = More text
|NOTE_IMAGE = Example.jpg
|NOTE_SIZE = 25px
|NOTE_CAT = AnotherCat
|NOTE_FORMAT =
}}
{{to do|collapsed=yes}}
}}<noinclude>
{{/happysad}}
{{subst check|{{subst:FULLPAGENAME}}}}
{{User:MiszaBot/config
</noinclude>
| algo = old(60d)
</pre>
| archive = Module talk:WikiProject banner/Archive %(counter)d
::Can be repeated as often as desired to add more notes. It's actually a lot simpler than I expected! Note that since you're using (abusing really, but it does the job <tt>:D</tt>) an internal template, there are no numbers in the parameters. Hope this makes sense - let me know if you have any problems. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 11:14, 29 June 2008 (UTC)
| counter = 16
 
| maxarchivesize = 150K
== WPFood ==
| archiveheader = {{Aan}}
 
| minthreadstoarchive = 1
Hello, I am trying to add the [[Wikipedia:WikiProject Food and drink/Foodservice taskforce|Foodservice taskforce]] to the [[Wikipedia:WikiProject Food and drink|WikiProject Food and drink]] banner, [[Template:WikiProject Food and drink]], but cannot seem to make it work. Could someone please help me with this?
| minthreadsleft = 4
 
}}
I have been testing it on the [[Talk:Burger King]] page.
{{archives|index=/Archive index|bot=lowercase sigmabot III|age=28|auto=short}}
 
Also I would like to add the "(If you rated the article please give a short summary at comments, explaining the ratings and/or suggest improvements.)" to the assessment box if possible.
 
Thanks for any help,<br/>
--[[User:Jerem43|Jeremy]] (<small> [[User Talk:Jerem43|Blah blah...]]</small>) 17:44, 29 June 2008 (UTC)
:Hey Jeremy, the banner is now fixed. In the template, you set {{{Foodservice|}}} as the "tf 1" parameter. What this means is that the template will only put the task force in if you put "|Foodservice=yes". On [[Talk:Burger King]], the template instead had "|tf=yes", which would not do anything. As long as you make sure to put the correct parameter, everything should be OK. Furthermore, I put "yes" for the COMMENT_FORCE parameter on the main template. This adds that comments notice you asked for. Hope all is well now. — [[User:Parent5446|Parent5446]] [[User talk:Parent5446|☯]] <sup class="plainlinks">([{{fullurl:User talk: Parent5446|action=edit&editintro=User:Parent5446/MediaWiki/TalkPageInstructions&section=new}} message] [[Special:Emailuser/Parent5446|email]])</sup> 18:54, 29 June 2008 (UTC)
 
Thank you for your assistance. --[[User:Jerem43|Jeremy]] (<small> [[User Talk:Jerem43|Blah blah...]]</small>) 02:38, 30 June 2008 (UTC)
 
== WPFOOD,Misplaced partbanners deuxby bot ==
 
In January 2024 there was an error in the bot's code which resulted in edits like [https://en.wikipedia.org/w/index.php?title=Talk:Warm-blooded&diff=prev&oldid=1194491681 this]. I suspect that most of these have now been fixed but I am still finding the occasional example. So I was wondering if there is a way we could track these. I think that every banner should be above the first h2 heading, so perhaps some pattern that checks whether the banner code is before the first instance of 2 equals signs (==) &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 08:01, 2 April 2025 (UTC)
Hello again, I have inadvertently stumbled upon a project using this template. The various Food and Drink projects and task forces have seen what I did with the WPFOOD template and have asked me to unify the banners.
 
:Maybe similar code to [[Module:Is infobox in lead]]? [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 08:45, 2 April 2025 (UTC)
The problem is that the template only allows eight task forces, not five as documented. Is there any way this template could be modified to allow up to 12-15 sub-projects/task forces?
::Looks promising &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:37, 2 April 2025 (UTC)
 
== Different shades of green ==
To see what I have done look at the [[Wikipedia:WikiProject Food and drink/Banners]] page.
{{resolved}}
{{WPAVIATION|class=b|category=no}}
I am seeing two different shades of green when the B-checklist is used. I don't understand why because they are both using css class <code>assess-b</code> which is defined in [[Module:WikiProject banner/styles.css]] as DFFFBF. I believe this is the paler colour, so I'm not sure where the other green is being defined. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:20, 1 May 2025 (UTC)
:I see only one box with a green background above. Please link to an example page where this issue can be observed. My color picker tool is showing the one above as {{Background color|#DFFFBF|#DFFFBF}}. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:14, 1 May 2025 (UTC)
::I see two. The one preceding "This article has been rated as B-class on Wikipedia's content assessment scale." is of colour {{colorbox|#dfffbf}} (<code>#dfffbf</code>); the one preceding "This article has not yet been checked against the criteria for B-class status:" is of colour {{colorbox|#b2ff66}} (<code>#b2ff66</code>). They are distinctly different. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 20:57, 1 May 2025 (UTC)
:::That is weird because on my devices (and presumably Jonesey95's too) there is no background color for the "B" preceding "This article has not yet been checked against the criteria for B-class status:". To me it is {{legend inline|#f8eaba|#f8eaba}}, the color of the rest of the banner. This is the case even with {{code|?safemode{{=}}yes}}. I checked on Edge and Chrome on Windows, and Chrome on Android btw. <span class="nowrap">&#8212;'''[[User:CX Zoom|CX Zoom]]'''[he/him]</span> <sup class="nowrap">([[User talk:CX Zoom|let's talk]] • {[[Special:Contributions/CX Zoom|C]]•[[User:CX Zoom/X|X]]})</sup> 21:12, 1 May 2025 (UTC)
::::Well, that's what I get ''initially'', using Firefox, but the green comes in after a fraction of a second. This is clearly a case of [[FOUC]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 22:04, 1 May 2025 (UTC)
:::::Is it different when you are logged out? I do not get a background color behind the second B (with the magnifying glass). I checked in Firefox for Mac (logged in), Chrome for Mac (logged out, regular and dark mode), and Safari for Mac (logged out). I also do not see any evidence of a background color when I use Inspect elements in my browser tools. Is it possible that some of you have .css customizations applying this color? Or maybe a different skin? I am using the Vector 2022 skin. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 23:09, 1 May 2025 (UTC)
::::::Yes, it's different when logged out - both greens are shown at page load, there isn't even a flash of brown. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 16:29, 2 May 2025 (UTC)
::::All very strange. The magnifying glass background has always been green for me, on multiple browsers. But when I log out the background disappears. I do not see anything obvious in my personal CSS which could be causing this however. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:08, 2 May 2025 (UTC)
:::::Even stranger: I am seeing the second green background behind the magnifying glass today. I haven't restarted my computer or even my browser. What a strange situation. Anyway, if we changed that green to dfffbf, would that satisfy those of us who can see the two colors? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:29, 2 May 2025 (UTC)
::::::I think I figured out what may be happening. {{U|WOSlinker}} transcluded <syntaxhighlight inline lang=wikitext><templatestyles src="Module:Class/styles.css"/></syntaxhighlight> in a comment below, so when the module asks for the <code><b class="assess-b">assess-b</b></code> class, that class is now available to me. So I tentatively conclude: the banner is using two different classes, which are pulling colors from two different style sheets when they are available. The fix may be to make the banner module use the same class (probably <code><b class="class-b">class-b</b></code>) for both backgrounds. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:46, 2 May 2025 (UTC)
:::::::{{fixed}}, I think, with [https://en.wikipedia.org/w/index.php?title=Module%3AWikiProject_banner%2Fauxiliary&diff=1288445529&oldid=1272930615 this edit]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:50, 2 May 2025 (UTC)
:::::::Yup, even I was able to see the darker green color as of late. After your edit, I see the same color for both B's in the template. What I still do not understand is why the css was behaving differently for some of us, and differently for the rest yesterday. <span class="nowrap">&#8212;'''[[User:CX Zoom|CX Zoom]]'''[he/him]</span> <sup class="nowrap">([[User talk:CX Zoom|let's talk]] • {[[Special:Contributions/CX Zoom|C]]•[[User:CX Zoom/X|X]]})</sup> 18:09, 2 May 2025 (UTC)
::::::::As I used to tell my customers when was a person who fixed computers: "I just fix things. Answering 'why' questions is a job for philosophers." – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 18:23, 2 May 2025 (UTC)
:::A search over Template & Module namespaces show that {{legend inline|#b2ff66|#b2ff66}} is the colour defined for B-Class at [[Module:Class/definition.json]] and [[Module:Class/styles.css]]. Where or why is it being called by the banner, I have no idea. <span class="nowrap">&#8212;'''[[User:CX Zoom|CX Zoom]]'''[he/him]</span> <sup class="nowrap">([[User talk:CX Zoom|let's talk]] • {[[Special:Contributions/CX Zoom|C]]•[[User:CX Zoom/X|X]]})</sup> 22:15, 1 May 2025 (UTC)
::::[https://en.wikipedia.org/w/index.php?search=insource%3A%2Fb2ff66%2F&title=Special%3ASearch&profile=advanced&fulltext=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns100=1&ns101=1&ns118=1&ns119=1&ns126=1&ns127=1&ns710=1&ns711=1&ns828=1 Here's a possibly helpful set of search results]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 23:13, 1 May 2025 (UTC)
 
:Maybe this is the reason. [[Module:Class]] uses the <b class="assess-b">assess-b</b> class with css at [[Module:Class/styles.css]]<templatestyles src="Module:Class/styles.css"/> and [[Module:WikiProject banner]] uses the <b class="class-b">class-b</b> class with css at [[Module:WikiProject banner/styles.css]]<templatestyles src="Module:WikiProject banner/styles.css"/>. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 12:44, 2 May 2025 (UTC)
The template is located at [[Template:WikiProject Food and drink]] --[[User:Jerem43|Jeremy]] (<small> [[User Talk:Jerem43|Blah blah...]]</small>) 03:06, 2 July 2008 (UTC)
::I didn't think we were using [[Module:Class]] or [[Module:Class/styles.css]] anymore, but perhaps I'm wrong &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 14:28, 2 May 2025 (UTC)
:::When I am editing this talk page section and I pop open "Templates used in this section:", I see [[:Module:Class/styles.css]]. That page is transcluded in 43K pages. We could change the B-class color there to {{Background color|#DFFFBF|#DFFFBF}} and see if anyone complains. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:29, 2 May 2025 (UTC)
::::It's not just the B class that is a different shade when comparing those two css files. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 17:48, 2 May 2025 (UTC)
:::::If I remember correctly, the colors defined at [[Module:Class/definition.json]] were initially used for WP banners during the massive overhaul 2 years ago. There were complaints that these bright colors stand out too much and cause distraction to editors. Eventually, it was agreed to use a lighter pastel-like palette for all classes. <span class="nowrap">&#8212;'''[[User:CX Zoom|CX Zoom]]'''[he/him]</span> <sup class="nowrap">([[User talk:CX Zoom|let's talk]] • {[[Special:Contributions/CX Zoom|C]]•[[User:CX Zoom/X|X]]})</sup> 18:06, 2 May 2025 (UTC)
::::That's probably because WOSlinker manually added those styles to this page. If you look at [[User talk:MSGJ/Sandbox/1|my sandbox]] you will not find those styles being used &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 06:29, 6 May 2025 (UTC)
:::::Yes, I figured that out above, and fixed it. The discussion ended up a bit out of order. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 18:45, 7 May 2025 (UTC)
::::::So what do you see on my sandbox? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 07:08, 8 May 2025 (UTC)
:::::::In your sandbox I see: "[[User:MSGJ/Sandbox/1|1]]&nbsp;&nbsp;&nbsp;[[User:MSGJ/Sandbox/2|2]]&nbsp;&nbsp;&nbsp;[[User:MSGJ/Sandbox/3|3]]&nbsp;&nbsp;&nbsp;[[User:MSGJ/Sandbox/4|4]]" – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 13:38, 8 May 2025 (UTC)
::::::::{{replyto|Jonesey95}} Not those. MSGJ linked the relevant sandbox in [[#c-MSGJ-20250506062900-Jonesey95-20250502172900|their post of 06:29, 6 May 2025 (UTC)]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 13:59, 8 May 2025 (UTC)
:::::::::Sorry, I couldn't see the link through the noise here. I see two of the same color light-green (#DFFFBF) background, as I would expect after I changed the magnifying-glass cell to use class-b with [https://en.wikipedia.org/w/index.php?title=Module%3AWikiProject_banner%2Fauxiliary&diff=1288445529&oldid=1272930615 this edit]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 14:17, 8 May 2025 (UTC)
::::::::::Ah, okay I hadn't noticed that edit. So everything makes sense then! &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 06:09, 9 May 2025 (UTC)
 
== WikiProject Higher education ==
:I am currently working on developing a 'hook' to allow the use of extra taskforces, for use on {{tlx|WP Australia}}. Once it is finished, I will document it properly and remove the extra three taskforces, which were a mistake ever to add, so '''please do ''not'' use {{para|TF_6}}, {{para|TF_7}}, {{para|TF_8}}!!!''' Take a look at {{tlx|WP Australia/sandbox}} and [[Template:WPBannerMeta/hooks/taskforces]] to see what's going on, although be aware that the code is currently volatile. Watch this space... <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 11:31, 2 July 2008 (UTC)
 
I don't know if people are aware of the changes to [[Template:WikiProject Higher education]] which is now using a bespoke module to achieve some unusual behaviour (discussion [[Template talk:WikiProject Higher education#Lua-enabled version of template to accommodate task forces for individual universities|here]] and [[Wikipedia talk:WikiProject Higher education#Ongoing proposal - merge inactive higher education Wikiprojects|here]]). The change allows editors to specify task forces by using a comma-separated list, i.e. {{para|taskforce|cuny,uva}} instead of the more usual method of {{para|cuny|yes}} and {{para|uva|yes}}.
===WP Mixed Drinks===
The Mixed Drinks WikiProject has made a special request as well before the begin using the WPFOOD banner:
 
The problem is that some features are not working (e.g. quality assessment and unknown parameter checking) and it is permanantly in [[:Category:Pages using WikiProject banner shell needing attention]]. So I was wondering if there is a better way to do this, or whether we should look at coding something similar more widely for other projects to use. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:27, 5 June 2025 (UTC)
<blockquote>
We use two special assessments: '''MergeDel''' and '''Merged'''. Please look at the special wording in that template. These are important to our project, and it has greatly helped in reducing the number of speedy deletes against articles under our auspices. The MergeDel generates a special message that lets people know that the article has been tagged as such, requests a little time for someone to take action (which is rather spotty and something our project needs to make an effort to respond to more quickly), and categorizes the article in a special Wikiproject category for follow-up. After the article has been merged, we change the talk-page status to Merged and setup a redirect on the article page. This is important for GFDL compliance, since many of our small articles get merged into larger lists or transwikied to Wikibooks. I've not been very active here, because I'm trying to help make that transwikiing process flow a little smoother on the Wikibooks side. Over zealous Wikipedia editors have done large scale "dump and runs" into Wikibooks in the past, and the [[b:Bartending|Bartending Guide]] has suffered as a result. That is also why there is a [[WP:BARTF|Bartending Task Force]] as part of [[WP:MIX]]
</blockquote>
 
:I have fixed the template &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 08:57, 10 June 2025 (UTC)
Thanks again,
It seems that they wanted to store all their task forces in a configuration file instead of coding each one in the template. This allows the comma-separated list method of triggering each one, as well as keeping the configuration separate from the template code. I have mocked up an example of a config file at [[Template:WikiProject Higher education/config]]. It seems like a very neat way of working. The template would then become something as simple as
<syntaxhighlight lang="wikitext">
{{#invoke:WikiProject banner|main|project=Higher Education}}
</syntaxhighlight>
Other advantages: we do not need to pass any parameters through the template, we could supply a list of parameter aliases instead of the horrible <nowiki>{{{a|{{{b|{{{c|}}}}}}}}}</nowiki> construct &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:28, 16 June 2025 (UTC)
 
:I believe we have a working template for the moment, but we always had the vision of expanding this to other areas/uses, so would appreciate any support in making that happen..! [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 13:34, 17 June 2025 (UTC)
--[[User:Jerem43|Jeremy]] (<small> [[User Talk:Jerem43|Blah blah...]]</small>) 03:06, 2 July 2008 (UTC)
:I'm still becoming familiar with this whole lua/template set-up. Would it be at all reasonable to have a parameter to WikiProject banner which points in some way to a helper lua module/function which can be passed the list of args, and return a modified list of args? (Sort of like what we ended up doing but in reverse). This would offer expandability in all sorts of ways. This might be what you've been angling towards yourself. [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 04:01, 18 June 2025 (UTC)
::Please can you explain what you mean by "be passed the list of args, and return a modified list of args", preferably with an example? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:23, 18 June 2025 (UTC)
:::Absolutely. If you took a look at my hokey lua module, you might see what I mean. But something like:
:::<syntaxhighlight lang="lua">
if(args["ProjectArgs"]=="Higher Education") then
args=HigherEducationArgParser(args)
end
</syntaxhighlight>
:::or, even better (if possible)
:::<syntaxhighlight lang="lua">
if(args["ProjectArgs"]!=nil) then
args=_G[args["ProjectArgs"]](args) -- or some other way to define the function name in the template
end
</syntaxhighlight>
:::placed somewhere appropriate in Wikiproject_banner, and written a bit more maintainably...
:::called like this:
:::<syntaxhighlight lang="wikitext">
{{#invoke:WikiProject banner|main|ProjectArgs=HigherEducationArgParser}}
</syntaxhighlight>
:::If you wanted, this could be collapsed into how you were calling it:
:::<syntaxhighlight lang="wikitext">
{{#invoke:WikiProject banner|main|project=Higher Education}}
</syntaxhighlight>
:::and the pseudocode might look like:
:::<syntaxhighlight>
local ProjectFunc=string.gsub(args["project"]," ","_") .. "_Argument_Function"
if(ProjectFunc]!=nil) then
args=_G[ProjectFunc](args) -- not sure this works in our framework
end
</syntaxhighlight>
:::Apologies if there are errors, I never saw a line of lua until a few weeks ago, but I'd love to help in any way I can. Does this help explain what I mean? [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 13:51, 18 June 2025 (UTC)
::::I understand most of what you have written, but I still have no idea why you would want to do this, or what the end goal might be. What are you actually trying to achieve, that you can't do now? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:46, 19 June 2025 (UTC)
:::::Really, I'm thinking about the future. No one anticipated what @[[User:Pharos|Pharos]] wanted to be able to do, but what he wants makes sense. I'm trying to think of a system by which others in the future can more easily [[Syntactic sugar|sweeten]] the arguments (in lua rather than a cumbersome template) to WikiProject Banner. Does that make sense? [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 17:25, 24 June 2025 (UTC)
:This looks really great to me, would be happy to adopt the [[Template:WikiProject Higher education/config]] system for that project, and then maybe see if other wikiprojects might be interested in it as well. Ideally this could go some way toward a simpler and more flexible system of wikiprojects/taskforces, especially if we're looking to consolidate more stuff as taskforces in the longer term. [[User:Pharos|Pharos]] ([[User talk:Pharos|talk]]) 17:12, 24 June 2025 (UTC)
::I'll look at coding something in the sandbox &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:18, 25 June 2025 (UTC)
:::I coded a mock-up of my idea which I described above, so maybe you can see what it might accomplish if you see an example. See [[Template:WikiProject Higher education test2]] (one additional arg, HELPER), [[Module:WikiProject banner ltest]] (small addition of code around line 150), [[Module:Higher education sweetener]] (essentially our original lua module but in reverse). Do you see how this might be useful down the road in ways we can't currently envision? [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 15:28, 25 June 2025 (UTC)
::::(anyone who wanted to add their own functionality would just need to provide the HELPER arg and their lua helper module - we could eliminate the arg and simply call it if an appropriately named one exists but that feels like asking for trouble). [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 15:34, 25 June 2025 (UTC)
:::::conceivably the lua module could even read in the config file as spec'd above [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 15:37, 25 June 2025 (UTC)
::::::Yes, that's what I had in mind. I have added some code to [[Module:WikiProject banner/sandbox]] and the effect can now be seen on [[Template:WikiProject Higher education/sandbox]]. Interested in your thoughts &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 11:13, 2 July 2025 (UTC)
:::::::Perfect, looks like you've solved the generalization problem entirely. [[User:Pharos|Pharos]] ([[User talk:Pharos|talk]]) 18:24, 7 July 2025 (UTC)
:::::::This does the job for this, but I would have liked to see a solution that was more expandable down the road by others that wouldn't require so much intervention into the actual banner lua code. (i.e. something less generic that wouldn't have a whole chunk of code just for taskforces in the global lua banner code) Does that make any sense? [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 02:05, 8 July 2025 (UTC)
::::::::No sorry, I can't understand your point. Can you give an example? I've put some of my thoughts below &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:30, 11 July 2025 (UTC)
:::::::::Maybe I'm missing something; what happens when someone comes along with a new parameter they would like to be added to the configuration file? [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 17:28, 11 July 2025 (UTC)
My thoughts on the possible benefits to moving to the configuration page approach:
* Simplification of syntax so <code><nowiki>{{{parameter1|{{{parameter2|{{{parameter3|}}}}}}}}}</nowiki></code> is replaced with something like {{para|trigger|parameter1, parameter2, parameter3}}
* Avoid having to pass through parameters completely, so things like {{para|attention|<nowiki>{{{attention|}}}</nowiki>}} will be removed
* Ability to do smarter things like comma-separated task forces (see above).
* Potentially add better support for projects like US Roads which uses {{para|state|AL}} instead of {{para|AL|yes}} and for Women in Red which uses an indefinite number of unnumbered parameters.
* More robust parameter checking and auto documentation which would include aliases. The current setup reads the wikicode of the template and attempts to work out what each parameter does. This has a performance impact.
* Significant simplification of module code which would make it easier for editors to maintain.
&mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:29, 11 July 2025 (UTC)
 
:I'm not sure I understand what you mean by "configuration page approach" - do you mean what you've implemented now? My concern is futureproofing it. My general approach though was basically coming from [[Object-oriented programming]], specifically pointers to functions. I don't see a reason why both couldn't be implemented. [[User:Tduk|Tduk]] ([[User talk:Tduk|talk]]) 14:37, 1 September 2025 (UTC)
:The banner supports {{para|class|Merge}} as valid when {{para|FULL_QUALITY_SCALE|yes}} is set, which is kind of what you want for that area. The MergeDel notice is probably best provided with custom code. Where are you building the new banner? I can lend a hand if you need it. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 11:31, 2 July 2008 (UTC)
 
== Assessment issue with "inactive" WikiProjects ==
 
If I understand this correctly, when you set a project as "inactive" (by replacing {{code|main}} in the template), most of the the arguments from child templates are discarded (around [[Module:WikiProject banner#L-901|line 900]]). This means that if you mark a WikiProject as inactive, then it and all of its task-forces will lose their assessments, as the assessment categories are ignored and not applied.
Great work!
 
I know that having a load of seemingly useless categories around isn't great, but the problem is that it's a bit of a death sentence for further collaboration if they disappear; mark a template as inactive and the project page ends up looking like [[Wikipedia:WikiProject Pipe organ|this]] (lots of empty/broken templates due to unpopulated/deleted categories). If someone wants to revive a WikiProject then they'd likely have to go through the process of recreating the assessment system, assuming they made it that far.
In regards to the request from the Mixed drink project? How would we add support to the banner for '''MergeDel'''.
 
Ideally, I think it'd be good to have two levels: '''Inactive''' where assessments are kept, and '''Defunct''' where the categories aren't added. Pretty sure that'd be a huge change though. In the meantime, or as a fix entirely, could a check be added so that existing categories are populated so they don't get deleted?
Also, the hooks add-in doesn't support the ''|nested ='' parameter. Could it be added?
 
This is quite relevant due to a [[Wikipedia talk:WikiProject Council#differing criteria for inactive status|recent discussion]] at the WikiProject Council where they discuss labeling a load of WikiProjects as inactive using {{template|WikiProject status}}; this itself won't effect the assessments, but if anyone sees it then changes the status on the talk page banner, bad times. One of the comments on that thread from [[User:Psychastes|Psychastes]] says, {{tq|Inactive projects still retain all the assessments and article alerts, it's not like an inactive project goes away!}} If that's not actually the case, it needs to be made clear with a big ol' warning in the docs.
--[[User:Jerem43|Jeremy]] (<small> [[User Talk:Jerem43|Blah blah...]]</small>) 17:23, 2 July 2008 (UTC)
 
...again, assuming I've got this right. Cheers, [[User:Aluxosm|Aluxosm]] ([[User talk:Aluxosm|talk]]) 06:56, 9 July 2025 (UTC)
== Template:LepidopteraTalk ==
 
:You have understood the situation pretty well. There is a {{para|PROJECT_STATUS}} parameter, which accepts values like "inactive" and "defunct", but currently the only effect is a slight change in wording and a microformat. Yes it would be possible to change in the way you suggested, if there was consensus for this. The current situation rests on rough consensus from 2022; please see [[Wikipedia:Village pump (miscellaneous)/Archive 73#Improper handling of assessment for inactive WikiProjects]] for more &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 08:26, 9 July 2025 (UTC)
The [[:Template:LepidopteraTalk]] is not functioning correctly, and the redirect suggests referring the issue to you... The quality and Importance Classes are not displaying properly. Thanks—[[User:Grmanners|GRM]] ([[User talk:Grmanners|talk]]) 16:39, 2 July 2008 (UTC)
::Good stuff, cheers for the link! Fun to see the origins of [[WP:PIQA]], and thanks again for all of your work on it. Thinking about it, a more resilient fix (and one that is beneficial in all cases) would be to make the creation of the assessment categories easier; I might take a look at rewriting [[Wikipedia:Version_1.0_Editorial_Team/Generate_categories|this bot]], as well as fixing the templates so that they display a warning about running the bot instead of just erroring out. [[User:Aluxosm|Aluxosm]] ([[User talk:Aluxosm|talk]]) 03:43, 13 July 2025 (UTC)
:{{fixed}} The problem was that the majority of WikiProjects have their assessment departments at [[Wikipedia:WikiProject Foo/Assessment]], while this particular WikiProject has it located at [[Wikipedia:WikiProject Lepidoptera/Article Classification]]. To override the default ___location, you needed to specify a link target in {{para|ASSESSMENT_LINK}}, which I have now done with {{para|ASSESSMENT_LINK|Wikipedia:WikiProject Lepidoptera/Article Classification}}. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 17:09, 2 July 2008 (UTC)
::Erm, so why is the template not working on pages where it's already set? (see e.g. [[Talk:Heath Fritillary]]) Sorry!—[[User:Grmanners|GRM]] ([[User talk:Grmanners|talk]]) 17:41, 2 July 2008 (UTC)
:::It's just a caching issue: [[WP:PURGE|purge]] the page (Ctrl+F5 in IE) and you'll see the fixed version. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 19:50, 2 July 2008 (UTC)
::::Sorry, not convinced. I'm using Mac Safari and clearing the cache makes no difference :-( —[[User:Grmanners|GRM]] ([[User talk:Grmanners|talk]]) 21:32, 4 July 2008 (UTC)
:::::That's weird, I'm also using Safari (V3.1.1) and it's working fine on [[Talk:Imma|this page]] that I just added it to, and I can see it on the page you linked. [[User:Beeblbrox|Beeblbrox]] ([[User talk:Beeblbrox|talk]]) 21:37, 4 July 2008 (UTC)