Template talk:TOChidden
From Wikipedia, the free encyclopedia
Contents |
[edit] Purpose of this template
This template is for utilization toward getting rid of large areas of empty space as commonly found in larger articles. Here is Jyllands-Posten Muhammad cartoons controversy article before usage of this template and here it is afterwards. Obviously a major improvement in terms of negating "dead lead space". This template is in need of documentation. I am planning on adding it shortly and it will be along the lines of Template:TOCleft/doc. (→Netscott) 08:24, 14 March 2007 (UTC)
[edit] Code used
I suspect that the code used to make this template could do for additional finessing. Anyone with a bit of coding experience want to see if they can touch it up? Please do... it would be a pleasure to see this improve. :-) (→Netscott) 09:19, 14 March 2007 (UTC)
- Something isn't right. When the "[show]" link is clicked, under the word "Contents" a second "[hide]" link appears, which doesn't do anything and messes up the table. This won't do at all. I'm also not entirely convinced as to the need for this template at all. The solution to having two many sections in an article is to restructure the article, not try to hide the fact – Qxz 01:42, 15 March 2007 (UTC)
- Yes, we're working on improving on it quite a bit. I've already heard from a few supportive folks who are quite pleased to see this type of a template come into existence. One female editor was saying that it was an improvement for accessibility for vision impaired folks as the blank space frequently found in article leads is an impediment. (→Netscott) 01:52, 15 March 2007 (UTC)
[edit] If you've noticed...
... clicking around the area of the [show] button takes you to Image:TOCspacer.gif. It happens when the mouse-pointer is just close enough, but not exactly on top of the [show] button for it to get underlined (as in this way [show]). Can this be fixed? --Bluerain talk 07:08, 17 March 2007 (UTC)
[edit] Bad idea
This is a really bad idea. Wikipedia already remembers if you have opened or closed the Table of Contents, and if one wants to have pages default to closed then they can modify their .js and .css files for the skin they have chosen so that it defaults to close for them and not for everybody. Additionally seeing Table of Contents on the top line and then contents on the second line and a box within a box is just ugly. See Wikipedia:WikiProject User scripts/Scripts, Wikipedia:Monobook to get started on editing your own script and cascading style sheets. --Trödel 20:56, 26 March 2007 (UTC)
[edit] Bugreport
This template contains bugs:
- It causes images to be misplaced (e.g. compare [1] with the TOC in it's expanded state with [2]).
- The font size of the TOC, when expanded, seems to be reduced.
- The show/hide button is misplaced (see image; might be due to the fact that I did not design the collapsible table script with this kind of usage in mind.)
- The caption of the TOC in de collapsed state doesn't match the caption of TOCs which aren't generated by this template.
- The caption and border are doubled when the TOC is in it's expanded state.
Could the developer please fix this ASAP. —Ruud 17:59, 27 March 2007 (UTC)
- Ruud, thank you very much for your report. So, #1 is going to have to be determined on a case by case basis. Article formatting isn't out of the question. I've addessed #2 and #3, on #4 are you referring to the word Contents? On #5 I believe I've greatly reduced this. Could you provide another screen capture shot on your setup because your browser's not rendering the code like mine is. Thanks. (→Netscott) 23:28, 27 March 2007 (UTC)