Module talk:WikiProject banner
![]() | Council | |||
|
Discussion
I was about to suggest the same idea. Did you propose this template somewhere just to advertise these it? 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. Happy‑melon 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 <--(newline)--> between that an the table? -- SatyrTN (talk / contribs) 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 what I've done.
Best,
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! §hep • ¡Talk to me! 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 (
|BOTTOM_TEXT=
and|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. Happy‑melon 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 contains 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 MILHIS banner seems to have the coding that does the trick. | This article has been checked against the following criteria for B-Class status:
|#default=}}
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? §hep • ¡Talk to me! 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? Happy‑melon 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. §hep • ¡Talk to me! 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? --Padraic 11:59, 27 May 2008 (UTC)
- Both Fixed Happy‑melon 12:08, 27 May 2008 (UTC)
- Many thanks! They also don't seem to be indexed by the bot -- any thoughts on that? --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. --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
|ASSESSMENT_CAT=
. Eg these edits of mine: [1], [2], [3]. 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{{#if:{{{ASSESSMENT_CAT|}}}|{{{ASSESSMENT_CAT}}}|{{{PROJECT}}}}} articles
instead of{{#if:{{{ASSESSMENT_CAT|}}}|{{{ASSESSMENT_CAT}}}|{{{PROJECT}}} articles}}
) 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. Happy‑melon 20:06, 4 June 2008 (UTC)- I've "fixed" the two projects I'm involved with. Thanks for explaining what happened. --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.--TonyTheTiger (t/c/bio/WP:CHICAGO/WP:LOTM) 00:59, 30 May 2008 (UTC)
Template:AUCK
It seems that the Wikiproject Auckland bannere located 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? Taifarious1 03:50, 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. — Parent5446 ☯ (message email) 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. Happy‑melon 14:05, 11 June 2008 (UTC)
- Thanks. Maybe you should suggest something like an array or dictionary here, and it just might get implemented. — Parent5446 ☯ (message email) 21:13, 11 June 2008 (UTC)
One more thing needs to be fixed. When the additional task forces were put in, the {{#if:{{{TF_#|}}}| functions (which check if a task force is set) repeat as task force number five:
- The current code reads:
- {{#if:{{{TF_4|}}}|{{#if:{{{tf 4|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_4_IMAGE|}}}|SIZE={{{TF_4_SIZE|}}}|TEXT={{{TF_4_TEXT|}}}|LINK={{{TF_4_LINK|}}}|NAME=
{{{TF_4_NAME|}}}|QUALITY={{{TF_4_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_4_IMPORTANCE|}}}|importance={{{tf 4 importance|}}}|ASSESSMENT_CAT={{{TF_4_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_5_IMAGE|}}}|SIZE={{{TF_5_SIZE|}}}|TEXT={{{TF_5_TEXT|}}}|LINK={{{TF_5_LINK|}}}|NAME=
{{{TF_5_NAME|}}}|QUALITY={{{TF_5_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_5_IMPORTANCE|}}}|importance={{{tf 5 importance|}}}|ASSESSMENT_CAT={{{TF_5_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_6_IMAGE|}}}|SIZE={{{TF_6_SIZE|}}}|TEXT={{{TF_6_TEXT|}}}|LINK={{{TF_6_LINK|}}}|NAME=
{{{TF_6_NAME|}}}|QUALITY={{{TF_6_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_6_IMPORTANCE|}}}|importance={{{tf 6 importance|}}}|ASSESSMENT_CAT={{{TF_6_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_7_IMAGE|}}}|SIZE={{{TF_7_SIZE|}}}|TEXT={{{TF_7_TEXT|}}}|LINK={{{TF_7_LINK|}}}|NAME=
{{{TF_7_NAME|}}}|QUALITY={{{TF_7_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_7_IMPORTANCE|}}}|importance={{{tf 7 importance|}}}|ASSESSMENT_CAT={{{TF_7_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_8_IMAGE|}}}|SIZE={{{TF_8_SIZE|}}}|TEXT={{{TF_8_TEXT|}}}|LINK={{{TF_8_LINK|}}}|NAME=
{{{TF_8_NAME|}}}|QUALITY={{{TF_8_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_8_IMPORTANCE|}}}|importance={{{tf 8 importance|}}}|ASSESSMENT_CAT={{{TF_8_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}
- It should read:
- {{#if:{{{TF_4|}}}|{{#if:{{{tf 4|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_4_IMAGE|}}}|SIZE={{{TF_4_SIZE|}}}|TEXT={{{TF_4_TEXT|}}}|LINK={{{TF_4_LINK|}}}|NAME=
{{{TF_4_NAME|}}}|QUALITY={{{TF_4_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_4_IMPORTANCE|}}}|importance={{{tf 4 importance|}}}|ASSESSMENT_CAT={{{TF_4_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}{{#if:{{{TF_5|}}}|{{#if:{{{tf 5|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_5_IMAGE|}}}|SIZE={{{TF_5_SIZE|}}}|TEXT={{{TF_5_TEXT|}}}|LINK={{{TF_5_LINK|}}}|NAME=
{{{TF_5_NAME|}}}|QUALITY={{{TF_5_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_5_IMPORTANCE|}}}|importance={{{tf 5 importance|}}}|ASSESSMENT_CAT={{{TF_5_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}{{#if:{{{TF_6|}}}|{{#if:{{{tf 6|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_6_IMAGE|}}}|SIZE={{{TF_6_SIZE|}}}|TEXT={{{TF_6_TEXT|}}}|LINK={{{TF_6_LINK|}}}|NAME=
{{{TF_6_NAME|}}}|QUALITY={{{TF_6_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_6_IMPORTANCE|}}}|importance={{{tf 6 importance|}}}|ASSESSMENT_CAT={{{TF_6_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}{{#if:{{{TF_7|}}}|{{#if:{{{tf 7|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_7_IMAGE|}}}|SIZE={{{TF_7_SIZE|}}}|TEXT={{{TF_7_TEXT|}}}|LINK={{{TF_7_LINK|}}}|NAME=
{{{TF_7_NAME|}}}|QUALITY={{{TF_7_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_7_IMPORTANCE|}}}|importance={{{tf 7 importance|}}}|ASSESSMENT_CAT={{{TF_7_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}{{#if:{{{TF_8|}}}|{{#if:{{{tf 8|}}}|
{{WPBannerMeta/taskforce|IMAGE={{{TF_8_IMAGE|}}}|SIZE={{{TF_8_SIZE|}}}|TEXT={{{TF_8_TEXT|}}}|LINK={{{TF_8_LINK|}}}|NAME=
{{{TF_8_NAME|}}}|QUALITY={{{TF_8_QUALITY|}}}|FQS={{{FULL_QUALITY_SCALE|}}}|class={{{class|}}}|IMPORTANCE=
{{{TF_8_IMPORTANCE|}}}|importance={{{tf 8 importance|}}}|ASSESSMENT_CAT={{{TF_8_ASSESS_CAT|}}}|category={{{category|μ}}} }}
}}}}
- {{#if:{{{TF_4|}}}|{{#if:{{{tf 4|}}}|
Thanks, — Parent5446 ☯ (message email) 02:32, 12 June 2008 (UTC)
- I edited the template in the sandbox (so that sandbox has the fixed version), and the differences can be seen on the testcases page. — Parent5446 ☯ (message email) 12:02, 12 June 2008 (UTC)
- Gah!! Silly me! Fixed now... Happy‑melon 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. — Parent5446 ☯ (message email) 19:32, 12 June 2008 (UTC)
- Gah!! Silly me! Fixed now... Happy‑melon 16:33, 12 June 2008 (UTC)
More Notes
{{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. — Parent5446 ☯ (message email) 19:34, 12 June 2008 (UTC)
- I'm reluctant to do this because you can achieve the same effect with 'bolt on' code on
|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. Happy‑melon 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
{{WPBannerMeta/note}}
directly with its internal parameters. So syntax like this:
- Ok, I've had a closer look at the syntax I've already got, and the easiest thing to do it just to call
{{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 = }} }}<noinclude> {{subst check|{{subst:FULLPAGENAME}}}} </noinclude>
- 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 :D) an internal template, there are no numbers in the parameters. Hope this makes sense - let me know if you have any problems. Happy‑melon 11:14, 29 June 2008 (UTC)
WPFood
Hello, I am trying to add the Foodservice taskforce to the WikiProject Food and drink banner, Template:WikiProject Food and drink, but cannot seem to make it work. Could someone please help me with this?
I have been testing it on the Talk:Burger King page.
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,
--Jeremy ( Blah blah...) 17:44, 29 June 2008 (UTC)
- Hey Jeremy, the banner is now fixed. In the template, you set 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. — Parent5446 ☯ (message email) 18:54, 29 June 2008 (UTC)
Thank you for your assistance. --Jeremy ( Blah blah...) 02:38, 30 June 2008 (UTC)
WPFOOD, part deux
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.
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?
To see what I have done look at the Wikipedia:WikiProject Food and drink/Banners page.
The template is located at Template:WikiProject Food and drink --Jeremy ( Blah blah...) 03:06, 2 July 2008 (UTC)
- I am currently working on developing a 'hook' to allow the use of extra taskforces, for use on
{{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|TF_6=
,|TF_7=
,|TF_8=
!!! Take a look at{{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... Happy‑melon 11:31, 2 July 2008 (UTC)
WP Mixed Drinks
The Mixed Drinks WikiProject has made a special request as well before the begin using the WPFOOD banner:
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 Bartending Guide has suffered as a result. That is also why there is a Bartending Task Force as part of WP:MIX
Thanks again,
--Jeremy ( Blah blah...) 03:06, 2 July 2008 (UTC)
- The banner supports
|class=Merge
as valid when|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. Happy‑melon 11:31, 2 July 2008 (UTC)
Template:LepidopteraTalk
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—GRM (talk) 16:39, 2 July 2008 (UTC)