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

Content deleted Content added
MiszaBot II (talk | contribs)
m Archiving 2 thread(s) from Template talk:WPBannerMeta.
MiszaBot II (talk | contribs)
m Archiving 3 thread(s) from Template talk:WPBannerMeta.
Line 200:
::::I'm meaning after {{bug|16552}} is fixed. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 19:05, 6 January 2009 (UTC)
:::::Ah, I see. Then yes, as you say, after the bug is fixed it will be very easy; move the listas code as you say, and remove all the sorkeys from all the subtemplates. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 20:02, 6 January 2009 (UTC)
== COLLAPSED_TEXT issue ==
 
If both the {{para|COLLAPSED_TEXT}} and {{para|c note 1}} parameters are used then the template doesn't quite look right. There's a small change that you need to make to /core to fix it. In the code below, I think you need to change the "2" to a "3".
<pre>
{{#if:{{{COLLAPSED_TEXT|}}}|
<tr><td colspan=2>
{{{COLLAPSED_TEXT}}}
</td></tr>
}}
</pre>
See [[:Template:WP UK Politics]] for an example of the problem.
-- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 22:11, 6 January 2009 (UTC)
 
:Hmn... This probably masks a deeper problem (like why collapsible notes and the collapsible text are in the same collapse box to start with...). I'm wondering (entirely unrelated to this) whether to spin off the C_NOTES as a hook and add some more normal notes and taskforces instead, since they seem to be far more popular... something to investigate. Thanks for the fix though. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 22:33, 6 January 2009 (UTC)
 
::On a slightly separate note, I've created a new hook at [[:Template:WPBannerMeta/hooks/todolist]] which can be used to replace a lot of the uses of collapsible text. I've got a list of about 20 or so banners which are using collapsible text which I could convert over to this hook. It also allows for more than one collapsible text section by just adding the hook twice. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 22:55, 6 January 2009 (UTC)
 
:::I've now converted all those templates I could find that were using COLLAPSED_TEXT over to this new hook. Perhaps you could add a tracking cat to see if anything is left using COLLAPSED_TEXT and also add some protection to the hook template. Thanks -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 23:13, 8 January 2009 (UTC)
 
::::Done, enjoy [[:Category:WPBannerMeta banners using collapsed text]]. They're sorted by namespace. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 11:04, 9 January 2009 (UTC)
 
Just remove <font color="#ff2400">'''wpb'''</font> from the CLASS' values of the first TABLE and the collapsible text will function properly. <code>&lt;table class="tmbox tmbox-notice collapsible innercollapse <font color="#ff2400"><s>wpb</s></font>"&gt;</code> –[[User:Pjoef|p<span style="color: #802400">joe</span>f]] <small>(''[[User talk:Pjoef|talk]]'' • [[Special:Contributions/Pjoef|contribs]])</small> 10:16, 9 January 2009 (UTC)
 
:But then it won't collapse inside banner shells. Kind of throwing the baby out with the bathwater <tt>:D</tt> <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 10:57, 9 January 2009 (UTC)
 
== {{tl|WPMIX}} ==
 
In order for this project's assessments to be properly tallied and logged per the [[WP:1.0]] team, it needs to be revamped so that it uses the {{tl|WPBannerMeta}}template for its tag. So I need this template converted over to WPBannerMeta, can anyone help? --[[User:Jerem43|Jeremy]] (<small> [[User Talk:Jerem43|Blah blah...]]</small>) 07:13, 7 January 2009 (UTC)
 
:I see you've already made a start in [[:Template:WPMIX/Sandbox]]. Well, I've made some changes to that but there's still more more than needs doing to it. Looks like you've need a custom class hook setting up for the Needed, Merge & Afd classes (if you still want to use them). -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 23:08, 8 January 2009 (UTC)
 
:Also, Template, Redirect, Cat & Dab classes are listed on the [[:Template:WPMIX/doc|template docuemtation]] but not on the [[Wikipedia:WikiProject_Mixed_Drinks/Assessment#Article_progress_grading_scheme|assesment page]]. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 23:11, 8 January 2009 (UTC)
 
I had just copy and pasted the basic template to the page before I went to work, I am looking to use the full extended WP:1.0 assessments in the template. I was going to work on it in my spare time in the next couple of days. --[[User:Jerem43|Jeremy]] (<small> [[User Talk:Jerem43|Blah blah...]]</small>) 05:00, 9 January 2009 (UTC)
 
== What's a lista? ==
 
What does the listas parameter do for WPBannerMeta?--[[User:Ipatrol|Ipatrol]] ([[User talk:Ipatrol|talk]]) 20:52, 8 January 2009 (UTC)
:It kind of works as a defaultsort for banner categories. For a working verson check out {{tl|WPBIO}} <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> 17:32, 9 January 2009 (UTC)