This template is within the scope of WikiProject Literature, a collaborative effort to improve the coverage of Literature on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.LiteratureWikipedia:WikiProject LiteratureTemplate:WikiProject LiteratureLiterature
I cannot see any obvious problem regarding this template and the ToC. I checked a few pages the template is transcluded to, and they all looked fine. The code in the template looks very normal/simple, and nothing unusual is there (the noincludes are standard). What exactly is the problem you are seeing? Have you tried clearing your cache and refreshing the page? (ctrl-f5) -- Quiddity (talk) 22:32, 25 April 2009 (UTC)[reply]
Yes, I should explain. The hide link in the table of contents (TOC) does not function whenever {{History of literature3}} is anywhere in the first section (before the first "==" section header). This revision of Matter of Britain or Arabic literature are examples. I can click on the Contents "hide" and it changes to "show" but the TOC remains open. This happens on latest Firefox, old Netscape 9.0.0.6 (to reproduce Firefox 2 problems) and Opera 9.63 browsers, also when logged out and after cache clearing. Using Windows Vista. The template "behaves" Ok when it is in subsequent sections, as far as I can tell. 84user (talk) 01:00, 28 April 2009 (UTC)[reply]
I'd been updating a few of the social science sidebars to use {{sidebar}} recently (sandbox), so when I saw the border disappear I figured I'd take the opportunity to update these also. Feel free to implement your solution instead. (I only got around to updating 2 of the HistOfLit templates, and might not have time to do the rest anytime soon. Feel free to check those too. :) -- Quiddity (talk) 17:41, 29 April 2009 (UTC)[reply]