Module talk:WikiProject banner/Archive 12: Difference between revisions

Content deleted Content added
MalnadachBot (talk | contribs)
m Fixed Lint errors. (Task 12)
fix syntaxhighlight
 
(5 intermediate revisions by 3 users not shown)
Line 3:
 
==Hooking an alerts template into the project banner==
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. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 20:44, 15 December 2008 (UTC)
:You'd need to use {{nowrap|<code><nowiki>|HOOK_NOTE={{WikiProject Louisville/alertshook}}</nowiki></code>}}, to transclude the template into the banner. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:16, 15 December 2008 (UTC)
::Doesn't work. The template doesn't show up, and it messes up the format of the rest of the banner. Note that this alerts template is included in other banners with no issue. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 21:24, 15 December 2008 (UTC)
:::Oh of course, sorry. Essentially the issue there is that the hook parameters are designed to allow you to do just about anything, which means you have to do just about ''everything'' <tt>{{mono|1=:D</tt>}}. That means that you need to define a new table row, a new table cell within that row, enter the alert message, then close the cell, then close the row. The parameter {{para|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 {{tlx|WikiProject Louisville}}, but you might want to repurpose it. [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:48, 15 December 2008 (UTC)
:::And it would be nice if that parameter actually worked <tT>{{mono|1=:D</tt>}} I'll try and work out what's wrong there... [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:50, 15 December 2008 (UTC)
:::{{fixed}} Sorry to run you round in circles like that! [[User:Happy-melon|<b style="color:forestgreen;">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange;">melon</b>]] 21:52, 15 December 2008 (UTC)
::::Thanks! I had meant to use BOTTOM_TEXT but it stopped working. So I'll go back to using that now instead of a hook. [[User:Stevietheman|<fontspan colorstyle="color:green;">'''Stevie is the man!'''</fontspan>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 23:40, 15 December 2008 (UTC)
 
== Peer Review Hook ==
Line 75:
<br>
'''source'''
<div style="font-size:90%; margin:0px;"><sourcesyntaxhighlight lang="html4strictwikitext" ">
| b1 <!--Referencing & citations--> = <yes/no>
| b2 <!--Coverage & accuracy --> = <yes/no>
| b3 <!--Structure --> = <yes/no>
| b4 <!--Grammar & style --> = <yes/no>
| b5 <!--Supporting materials --> = <yes/no></sourcesyntaxhighlight></div>
'''div'''
<div style="font-size:90%; margin:0px; font-family:monospace, sans-serif; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em;">{{nowrap|1={{!}} b1 &lt;!--Referencing & citations--&gt; = &lt;yes/no&gt;}}<br>{{nowrap|1={{!}} b2 &lt;!--Coverage & accuracy&nbsp;&nbsp;&nbsp;&nbsp;--&gt; = &lt;yes/no&gt;}}<br>{{nowrap|1={{!}} b3 &lt;!--Structure&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt; = &lt;yes/no&gt;}}<br>{{nowrap|1={{!}} b4 &lt;!--Grammar & style&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&gt; = &lt;yes/no&gt;}}<br>{{nowrap|1={{!}} b5 &lt;!--Supporting materials&nbsp;&nbsp;&nbsp;--&gt; = &lt;yes/no&gt;}}</div>
Line 125:
#Should {{para|tf n importance|sausage}} be interpreted the same as a blank parameter? This would help {{tl|WikiProject Football}} where the task force parameter doubles as the importance parameter (and so "yes" should be ignored).
&mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 19:35, 19 June 2010 (UTC)
:{{replyto|MSGJ}} Besides Football, I've found three ([[Template:WikiProject Cryptography|Cryptography]], [[Template:WikiProject Databases|Databases]], [[Template:WikiProject Java|Java]]) that use inherited importance, but a different method - these three use code like this: <sourcesyntaxhighlight lang=moin> |tf 2 importance={{#if:{{{computer-science-importance|}}}|{{{computer-science-importance}}}|{{{importance|}}}}}<!-- Inherit importance if not specified --></sourcesyntaxhighlight> - they don't use {{tlx|WPBannerMeta/hooks/taskforces}} so there is no {{para|inherit importance}} parameter to be filled in. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 16:06, 19 May 2016 (UTC)
 
== Collapsed ==
Line 208:
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. &mdash;&nbsp;Carl <small>([[User:CBM|CBM]]&nbsp;·&nbsp;[[User talk:CBM|talk]])</small> 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... --<sub><span style="border:1px solid #228B22;padding:1px;">[[User:Piotrus|Piotr Konieczny aka Prokonsul Piotrus]]|[[User_talk:Piotrus|<fontspan style="color:#7CFC00; background:#006400;"> talk </fontspan>]]</span></sub> 16:26, 16 April 2011 (UTC)
:The category is at [[:Category:Poland articles with an incomplete B-Class checklist]]. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 17:48, 16 April 2011 (UTC)
::Thanks, this indeed is what we wanted, this is very helpful! --<sub><span style="border:1px solid #228B22;padding:1px;">[[User:Piotrus|Piotr Konieczny aka Prokonsul Piotrus]]|[[User_talk:Piotrus|<fontspan style="color:#7CFC00; background:#006400;"> talk </fontspan>]]</span></sub> 15:49, 17 April 2011 (UTC)
 
== [[Template:WPBannerMeta/hooks/bchecklist|B-class checklist]] example icons confusing? ==