Module talk:WikiProject banner/Archive 2: 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 2 thread(s) from Template talk:WPBannerMeta.
Line 408:
:ROFL!! I don't want to know what I was thinking when I wrote that (copy and paste, I hope!). {{fixed}} <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 15:51, 21 December 2008 (UTC)
::Thanks. —[[User:Ms2ger|Ms2ger]] ([[User talk:Ms2ger|talk]]) 18:34, 21 December 2008 (UTC)
== COLLAPSED does not work properly ==
 
We would like to replace [[Template:WPClash|this template]] with {{tl|WPBannerMeta}} but there is a problem with the COLLAPSED section. It will show the section at the bottom of the template by clicking the "show" link, but when you click the "hide" link, the section disappears correctly but the box is not resized. I tested it out using XP Pro, IE 7, and MonoBook (default). Thanks in advance. –[[User:Pjoef|p<span style="color: #802400">joe</span>f]] <small>(''[[User talk:Pjoef|talk]]'' • [[Special:Contributions/Pjoef|contribs]])</small> 10:13, 13 December 2008 (UTC)
:Can you give me a link to a page where this behaviour is happening and I will try it with my browser. It seems possible that the table in the to-do list is conflicting with the banner. On [[Template:WPClash/sandbox]] I have made a version which is displaying perfectly on my computer. [[User talk:Msgj|Martin]] 13:39, 13 December 2008 (UTC)
::No [[User:Msgj|Martin]]! I tried it out using [[User:Pjoef/Sandbox|my scratch page]] instead of the [[Wikipedia:WikiProject_The_Clash/to_do|to-do list]]. At first, I blanked that page and then I added few lines of simple text (without wikilink, wikisyntax, HTML... just simple text) but the problem was still there. Well, I've just checked out the [[Template:WPClash/sandbox]], and the problem is always the same. I think that no one used that field or that it is a problem with my browser. The actual version of {{tl|WPClash}} works fine with the [[Wikipedia:WikiProject_The_Clash/to_do|to-do list]]. Anyway, thank you so very much for your prompt help. I really appreciate it. <br />Also, we have another problem with the category '''''NA-Class projectname articles'''''. We are using the category [[:Category:Non-article The Clash pages|Non-article The Clash pages]] as many other wikiprojects are doing... but this is another question and I think it is better to solve problems one at a time (^_^)! <br />Once again, thanks!!! –[[User:Pjoef|p<span style="color: #802400">joe</span>f]] <small>(''[[User talk:Pjoef|talk]]'' • [[Special:Contributions/Pjoef|contribs]])</small> 15:45, 13 December 2008 (UTC)
::#I'm sorry, I still can't understand what the problem is. I've looked at [[Template:WPClash/sandbox]] on Firefox 3 and Internet Explorer 7 and nothing looks wrong to me. Maybe it is a problem with your browser.
::#You would need to use "NA" rather than "Non-article" if you converted the banner. It wouldn't be a problem. The articles will recategorise themselves eventually and then you can [[Template:Category redirect|redirect]] the category. [[User talk:Msgj|Martin]] 09:20, 14 December 2008 (UTC)
 
Well, I had the time to take a look at the output generated by the template, and I've found the cause of the problem. There is a conflict in the CSS in-line declaration for the first TABLE element (line 1). If I remove the '''wpb''' value from the class attribute of the TABLE element, the template functions correctly. <br />Also, I've found other errors looking at the output generated by the template:
# lines '''11'''+'''12'''+'''13''' → '''<u>three TD</u>'''; line '''16''' → '''<u>one TD</u>'''; lines '''19'''+'''20''', AND '''23'''+'''24''' → '''<u>two TD</u>'''; line '''27''' → '''<u>one TD with colspan="3"</u>'''. You need some '''''colspan'''''!
# line '''23''' → Where is the value for the '''class''' attribute??? It's the line related to the importance scale and it's empty.
# Also, I prefer that a CSS declaration consists of a property, followed by a colon (:), followed by a white space, followed by a value, followed by a semicolon (;). The last declaration does not need the semicolon (;). (f.e.: <code style="border: 1px #c0c0c0 solid">style="padding: 0px; width: 1px"</code>)
<pre>01. <table class="tmbox tmbox-notice collapsible innercollapse wpb">
02. <tr class="wpb-header">
03. <td style="padding:0px; width:1px;"></td>
04. <th class="mbox-text" style="padding:0.3em;">WikiProject The ...
05. </tr>
06. <tr>
07. <td style="padding:0px; width:1px;"></td>
08. <td class="mbox-text" style="padding:0;">
09. <table style="background:transparent; border:none; padding:0....
10. <tr>
11. <td class="mbox-image" style="padding: 2px 0;">img</td>
12. <td class="mbox-text">This article related to <i><b>The Clash...
13. <td style="padding:0px; width:1px;"></td>
14. </tr>
15. <tr>
16. <td></td>
17. </tr>
18. <tr>
19. <td class="assess-" style="background:transparent; text-align...
20. <td class="mbox-text" colspan="2">This article has not yet <b...
21. </tr>
22. <tr>
23. <td class="" style="background-color:transparent; text...
24. <td class="mbox-text">This article has not yet <b>received a ...
25. </tr>
26. <tr>
27. <td colspan="3">
28. <table class="collapsible collapsed" style="width: 100%; back...
29. <tr>
30. <th colspan="2" style="text-align: left;">The Clash To-do</th>
31. </tr>
32. <tr>
33. <td class="mbox-image" style="padding:2px 0;"></td>
34. <td></td>
35. </tr>
36. <tr>
37. <td colspan="2">
38. <p>text text text text text text text text text text text tex...
39. </td>
40. </tr>
41. </table>
42. </td>
43. </tr>
44. </table>
45. </td>
46. </tr>
47. </table></pre>
I hope these will be useful to you. –[[User:Pjoef|p<span style="color: #802400">joe</span>f]] <small>(''[[User talk:Pjoef|talk]]'' • [[Special:Contributions/Pjoef|contribs]])</small> 11:12, 17 December 2008 (UTC)
 
:Thanks for that analysis. Unfortunately I ''think'' that most of these errors are caused by tidy.php trying to clean things up and thereby making more of a mess. I'll certainly take another look at it tho. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 17:01, 27 December 2008 (UTC)
 
== Editlinks ==
 
Just one question: why? —[[User:Ms2ger|Ms2ger]] ([[User talk:Ms2ger|talk]]) 18:34, 21 December 2008 (UTC)
:Something I've always wanted, and I only just got round to implementing. I'm not sure where's best to put them, tho; I thought about above the left image or in the bottom-right corner as well. Thoughts? <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 18:50, 21 December 2008 (UTC)
::I like it. An 'r' link (for refresh) would a good idea as well. [[User:Stevietheman|<font color="green">'''Stevie is the man!'''</font>]] <sup>[[User talk:Stevietheman|Talk]] &bull; [[Special:Contributions/Stevietheman|Work]]</sup> 18:56, 21 December 2008 (UTC)
:::It's just inlining {{tlx|navbar}}, which is itself just a ripoff of {{tlx|tnavbar}}, so you should probably take that idea over there. I do think it's a good idea, tho. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 19:01, 21 December 2008 (UTC)
Should it be v . d . e rather than v . e . h though? -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 19:15, 21 December 2008 (UTC)
:It should, but unfortunately that's not possible; there's (currently) no way to construct the ''talk page'' that goes with a non-mainspace subject page. Which is very silly, really. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 19:19, 21 December 2008 (UTC)
::I would take out history then. It just confuses the issue, leading anyone who sees it to think that it was intended to be v . e . h. Surely you can put in a non-working d (not a link, just the letter), until someone figures out how to code it so it does work. [[Special:Contributions/199.125.109.64|199.125.109.64]] ([[User talk:199.125.109.64|talk]]) 00:03, 22 December 2008 (UTC)
:::I'm not sure I like where it puts the links on {{tl|OH-Project}}. It looks crammed. Maybe the extreme top-right? Or have the ability to turn the links off? <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> 00:35, 22 December 2008 (UTC)
::::TBH they should off (well at least all except for V) unless otherwise turned on because 1) WP banners should hardly ever be edited and 2) Most people wouldn't even care about them and just get confused. [[User:Peachey88|Peachey88]] <sup>([[User_Talk:Peachey88|Talk Page]] | [[Special:Contributions/Peachey88|Contribs]])</sup> 02:15, 22 December 2008 (UTC)
:::::Though it appears to only go lower than normal when a portal box is used. Would it be possible to make it go above the portal box atleast?<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> 19:57, 22 December 2008 (UTC)
:Hi there, I don't want to be rude or something, but I don't like it, is there some way it can it be avoided? Why should you be able to edit such a template, if you wish to you can always copy the template name. Anyhow, my suggestion is making it optional, however, this may cause edit wars but we'll see about that. Cheers. --[[User:Music2611|<span style="color:#CC5500;">'''Music'''</span>]][[User Talk:Music2611|<span style="color: #FF9912;">'''26/'''</span>]][[Special:Contributions/Music2611|<span style="color: #FF9912;">'''11'''</span>]] 12:14, 23 December 2008 (UTC)
 
Ok, it seems that there is mixed reaction to this. What I've done is to keep the vde links in, but make them hidden by default. If you want to make them visible, add the following line to your monobook.css:
<source lang=css>
.wpb .navbar {display:inline !important;}
</source>
I hope that should satisfy everyone. Merry Christmas! <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 11:57, 25 December 2008 (UTC)
: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> 21:07, 25 December 2008 (UTC)