![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 5 | ← | Archive 10 | Archive 11 | Archive 12 | Archive 13 | Archive 14 | Archive 15 |
![]() | This page consists of a manual archive of Template talk:WPBannerMeta/hooks |
So, I created Template:WikiProject Louisville/alertshook. It requires no parameters. Now, how do I hook this into the bottom of my project banner? I already tried "HOOK_BOTTOM= alertshook" and other variations, but nothing works. Please help. Stevie is the man! Talk • Work 20:44, 15 December 2008 (UTC)
|HOOK_NOTE={{WikiProject Louisville/alertshook}}
, to transclude the template into the banner.
Happy‑
melon
21:16, 15 December 2008 (UTC)
|BOTTOM_TEXT=
is better suited to what you want to do, since it does all that for you: anything you put into that parameter will display in a full-width row across the bottom of the banner. I see it's already used for something in {{
WikiProject Louisville}}
, but you might want to repurpose it.
Happy‑
melon
21:48, 15 December 2008 (UTC)The peerreview hook currently doesn't work with the category parameter as it's not used in the template. I've done a sandbox version that fixes that and also shows up on the template design page as well. I've done a sample banner so you can see it working. If it all looks ok, could someone copy it over to the live template. -- WOSlinker ( talk) 17:23, 17 January 2009 (UTC)
{{ editprotected}} Could someone copy over Template:WPBannerMeta/hooks/peerreview/sandbox to Template:WPBannerMeta/hooks/peerreview. Thanks. -- WOSlinker ( talk) 18:38, 19 January 2009 (UTC)
The {{ WPBannerMeta/hooks/qualimpintersect}} hook doesn't seem to respond properly to the "category=no" option. Even when this option is set the template still produces the intersected quality/importance intersections. See for example the {{ physics}} template used on Wikipedia:WikiProject_Physics/Taskforces/Relativity. Anybody with more knowledge of the code know why?. ( TimothyRias ( talk) 17:02, 5 May 2009 (UTC))
{{
editprotected|Template:WPBannerMeta/hooks/qualimpintersect}}
Could the qualimpintersect templates be changed to add support for a SUPPRESS_NA_CLASS which will stop the Quality/Importance Insersect category from being added to an article when |SUPPRESS_NA_CLASS=yes
and |class=NA
. The changes are in the sandboxes below:
Thanks. -- WOSlinker ( talk) 19:03, 23 September 2009 (UTC)
I'm trying to work out whether it is really necessary to pass the BANNER_NAME parameter to the /cats hook. As the cat n parameters will be empty on the template page, it seems this could just be removed? — Martin ( MSGJ · talk) 08:40, 18 April 2010 (UTC)
Is there any reason not to support 10 notes on /notes? — Martin ( MSGJ · talk) 14:42, 18 April 2010 (UTC)
pre
| b1 <!--Referencing & citations--> = <yes/no> | b2 <!--Coverage & accuracy --> = <yes/no> | b3 <!--Structure --> = <yes/no> | b4 <!--Grammar & style --> = <yes/no> | b5 <!--Supporting materials --> = <yes/no>
source
| b1 <!--Referencing & citations--> = <yes/no>
| b2 <!--Coverage & accuracy --> = <yes/no>
| b3 <!--Structure --> = <yes/no>
| b4 <!--Grammar & style --> = <yes/no>
| b5 <!--Supporting materials --> = <yes/no>
div
I think there are several projects which will inherit the overall importance for taskforces if no specific importance is specified. However it is often not desirable to show "rated XXX-importance" if this happens, so this means that the default text cannot be used, which in turn means the importance can't be normalised before displaying. I wonder if an inherited importance feature might be worth adding to the taskforces hook to fix this problem. — Martin ( MSGJ · talk) 18:14, 13 May 2010 (UTC)
|DISPLAY_IMPORTANCE=
- a parameter to control whether the importance rating is appended to the taskforce text.
|DISPLAY_IMPORTANCE=yes
- append|DISPLAY_IMPORTANCE=no
- don't append|inherit importance={{{importance|}}}
- if this is defined then if taskforce importance is used but not currently rated, then the overall importance will be applied?Note to self: Template:WikiProject Football also uses a system of inherited importance. — Martin ( MSGJ · talk) 10:07, 8 June 2010 (UTC)
I believe the code for the first phase of this change (implemented inherited importance) is about ready to deploy. The changes are in:
There are also two new subtemplates:
Any comments welcomed. There are a few tests on /testcases. The code is significantly simplified by using a separate /templatepage. And the custom code can be removed from the main /taskforce template once this is deployed. — Martin ( MSGJ · talk) 11:48, 17 June 2010 (UTC)
I'm thinking about a couple of possible adjustments:
|tf n importance=sausage
be interpreted the same as a blank parameter? This would help {{
WikiProject Football}} where the task force parameter doubles as the importance parameter (and so "yes" should be ignored).— Martin ( MSGJ · talk) 19:35, 19 June 2010 (UTC)
|tf 2 importance={{#if:{{{computer-science-importance|}}}|{{{computer-science-importance}}}|{{{importance|}}}}}<!-- Inherit importance if not specified -->
{{
WPBannerMeta/hooks/taskforces}}
so there is no |inherit importance=
parameter to be filled in. --
Redrose64 (
talk)
16:06, 19 May 2016 (UTC)I'm proposing an option to display the header of a collapsed section even if the section does not collapse. This is needed for a banner which I'm working to convert. There is some code on /collapsed/sandbox which adds a DISPLAY_HEAD parameter. Any comments please. — Martin ( MSGJ · talk) 15:38, 9 July 2010 (UTC)
Take a look at Special:WantedPages. Currently, an absurdly high proportion of the top links are from {{ Northern Ireland tasks}} via {{ WikiProject Northern Ireland}}. Is there some way to disable this link farm? More fundamentally, is there any benefit from having a TODO list on 'every Talk page in a project, especially when it's usually collapsed? What is the benefit of, say, Talk:Bonar Law having a deeply-buried redlink to Sophie Hoopman? jnestorius( talk) 14:25, 10 December 2010 (UTC)
I think this hook could be tremendously useful, if the hook would also put the articles with todo lists into a category, as Tulips articles with todo. That would allow the project members to figure out which articles have been marked by this hook. Unless there is some other mechanism I don't know of. Thanks! -- Codrin.B ( talk) 20:51, 4 January 2011 (UTC)
{{WPBannerMeta/hooks/cats |category={{{category|¬}}} |BANNER_NAME = {{subst:FULLPAGENAME}} |cat 1={{#ifexist:{{#rel2abs:./to do}}|yes}} |CAT_1 = Project articles with todo lists }}
Having the ability to assemble all article todo lists in a master project todo list would be of tremendous use.-- Codrin.B ( talk) 21:02, 4 January 2011 (UTC)
Something to test in Template:WPBannerMeta/hooks/bchecklist/sandbox with params B1_CAT to B6_CAT. -- WOSlinker ( talk) 20:27, 15 April 2011 (UTC)
{{WPBM |PROJECT=Sausages |BANNER_NAME=Template:Fictitious template |category=no |IMAGE_LEFT=Kielbasa7.jpg |HOOK_ASSESS={{WPBannerMeta/hooks/bchecklist/sandbox |BANNER_NAME=Template:Fictitious template |class=start |b1=yes |b2=no |b3= |b4=yes |b5=sausage |MAIN_CAT=Sausage articles with incomplete checklists |B1_CAT=Sausage articles needing attention to referencing and citation |B2_CAT=Sausage articles needing attention to coverage and accuracy |B3_CAT=Sausage articles needing attention to structure |B4_CAT=Sausage articles needing attention to grammar |B5_CAT=Sausage articles attention to supporting materials |CAT_TYPE=only_blank }} }}
Let me go ask the person who made the original request what they want, exactly. They're the ones who will be using this in the end. — Carl ( CBM · talk) 12:06, 16 April 2011 (UTC)
I very much appreciate your efforts. To answer your question, WOSlinker, yes, it would be similar to the C-class now, but only to a smaller degree, as we have started adding B-class reviews (and adding/completing the checklists) now. Thus the problem is that we are losing (lost...) track of which C-class articles where simply failed and which haven't been reviwed yet. The goal of incomplete/missing B-class checklist category would be to give us a list of the articles we need to review (and add/complete the checklist), so that in the end, that category would be empty and all C-class articles would have a (Failed) B-class review. Could you point me to the new categories? Or you are welcome to annouce them at WT:POLAND. Thank you all for this effort, I think all B-class reviewing WikiProjects will benefit from this. Now, how do we notify them...? If there would be a way to easily see which projects have implemented a checklist, we could have a bot announce your new tool to them... -- Piotr Konieczny aka Prokonsul Piotrus| talk 16:26, 16 April 2011 (UTC)
Is there any reason why the red parts below:
|b1={{#ifeq:{{{b1|<includeonly>¬</includeonly>}}}|¬|¬|y}} |b2={{#ifeq:{{{b2|<includeonly>¬</includeonly>}}}|¬|¬|n}} |b3={{#ifeq:{{{b3|<includeonly>¬</includeonly>}}}|¬|¬|!}} |b4={{#ifeq:{{{b4|<includeonly>¬</includeonly>}}}|¬|¬|y}} |b5={{#ifeq:{{{b5|<includeonly>¬</includeonly>}}}|¬|¬|x}} |b6={{#ifeq:{{{b6|<includeonly>¬</includeonly>}}}|¬|¬| }}
can't all just read "n"? It's nice to know that there are icons for every contingency, but I think the default can be pretty confusing for anyone not familiar with the B-class checklist, especially if B1 and B4 appear to have "criterion met". Yes, it becomes apparent once you add the checklist code to the template on the talk page of any album, but right off the bat, it may be a little misleading. Especially now that the class check has been moved elsewhere. Just a thought. – – Kerαunoςcopia◁ gala xies 16:19, 22 May 2011 (UTC)
There hasn't been any dissension to my discussion above. There is no reason for anything other than "y/yes" or "n/no" to be written in these parameters. Therefore, please make the following changes to Template:WPBannerMeta/hooks/bchecklist. Replace:
|b1={{#ifeq:{{{b1|<includeonly>¬</includeonly>}}}|¬|¬|y}} |b2={{#ifeq:{{{b2|<includeonly>¬</includeonly>}}}|¬|¬|n}} |b3={{#ifeq:{{{b3|<includeonly>¬</includeonly>}}}|¬|¬|!}} |b4={{#ifeq:{{{b4|<includeonly>¬</includeonly>}}}|¬|¬|y}} |b5={{#ifeq:{{{b5|<includeonly>¬</includeonly>}}}|¬|¬|x}} |b6={{#ifeq:{{{b6|<includeonly>¬</includeonly>}}}|¬|¬}}
with
|b1={{#ifeq:{{{b1|<includeonly>¬</includeonly>}}}|¬|¬|n}} |b2={{#ifeq:{{{b2|<includeonly>¬</includeonly>}}}|¬|¬|n}} |b3={{#ifeq:{{{b3|<includeonly>¬</includeonly>}}}|¬|¬|n}} |b4={{#ifeq:{{{b4|<includeonly>¬</includeonly>}}}|¬|¬|n}} |b5={{#ifeq:{{{b5|<includeonly>¬</includeonly>}}}|¬|¬|n}} |b6={{#ifeq:{{{b6|<includeonly>¬</includeonly>}}}|¬|¬|n}}
The result can be seen at my sandbox. Thanks! – Kerαunoςcopia◁ gala xies 00:02, 31 May 2011 (UTC)
In Template:WPBannerMeta/hooks/todolist, should the default title be (i) Todo list as at present; (ii) To do list as suggested at Template talk:WikiProject Olympics#Edit request on 3 July 2012 or (iii) To-do list? -- Redrose64 ( talk) 17:59, 3 July 2012 (UTC)
I recently added a to-do list to WP:INDU's project banner, and somehow, it's hiding the table of contents for every talk page on which it is included inside the collapsed to-do list area now, e.g. on the project's main talk page. I've looked over the documentation, and I can't see anything wrong with the way I set it up. Any ideas? Thanks. — Torchiest talk edits 21:41, 7 July 2012 (UTC)
Hi. If anyone here's able to please comment at Wikipedia talk:WikiProject Computing#Wikipedia:WikiProject Computing/to do, it'd be most appreciated. Thanks. -- Trevj ( talk) 11:13, 25 January 2013 (UTC)
There is a proposal at Wikipedia talk:WikiProject Council#Proposal: Disallow transcluded to-do lists. Please comment there. PrimeHunter ( talk) 23:55, 18 February 2015 (UTC)
![]() | This
edit request to
Template:WPBannerMeta/hooks/todolist has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello! In the following line, formatting with '''
is redundant, as the bold attribute is (somehow) already inherited from the table heading:
<tr><th style="text-align:left; padding:0.2em 2px 0.2em 0;">'''{{{TODO_TITLE|To-do list}}}:'''</th></tr>
Removing that formatting would also resolve the visual issue resulting from this "double bolding". — Dsimic ( talk | contribs) 14:12, 1 July 2015 (UTC)
For Template:WPBannerMeta/hooks/taskforces I think the number of integers should be increased to 15. Wikipedia:WikiProject China is getting more and more task forces. WhisperToMe ( talk) 18:45, 26 March 2016 (UTC)
{{
WPBannerMeta/hooks/taskforces}}
to gain another set of ten - see e.g. {{
WikiProject United States}}
which has eleven, for a potential 110 taskforces. --
Redrose64 (
talk)
21:37, 26 March 2016 (UTC)![]() | This
edit request to
Template:WPBannerMeta/hooks/notecounter has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please remove the line {{pp-template}}
- protection templates are automatically handled by the documentation page. Thanks, --
DannyS712 (
talk)
06:53, 22 March 2019 (UTC)