Template talk:TOC right

did something change?
no just hurry up On my talk page the TOCright used to perfectly align with the horizontal rule of the first section. Something's changed recently though and it no longer does and I was hoping anybody could help me out? —  pd_THOR  undefined | 00:05, 7 October 2009 (UTC)

Propose adding height parameter
A height parameter could be added to this and similar TOCs that would mitigate/eliminate the need for the limit parameter. The advantage of this approach is that no TOC items are lost.



|width= |height= |font-size= |border-width= |border-color=
 * Optional paramaters

|width=auto - can be % or px |height=500px - about 25 lines |font-size=96% - can be px |border-width=0px |border-color=steelblue - can be # or name --RichardF (talk) 21:21, 20 July 2012 (UTC)
 * Defaults


 * The above editor added thirty blank talk sections and a live TOCright to illustrate this. I've cut it so as not to disrupt the talk page, but it can be viewed here. --McGeddon (talk) 08:46, 13 September 2013 (UTC)

Appearance on mobile
This template doesn't look right on mobile (specifically Naked Browser on Android 4.4, if that matters). It almost disappears, but it leaves behind an ugly space that can't be removed by editing the article without removing the template. For example see List of free ports. Hairy Dude (talk) 01:27, 26 September 2014 (UTC)

Me too on a Android 7.0 browser. To fix that, I suggest add the following rule for fix: --Great Brightstar (talk) 08:38, 5 April 2021 (UTC)
 * that is not Wikimarkup, which this template still uses. Please place code in the sandbox to do what you want it to do.  P.I. Ellsworth   ed.  put'r there 16:09, 5 April 2021 (UTC)


 * OK, this is made for Template:TOC right/styles.css, and now you can see the effects on the test cases. -- Great Brightstar (talk) 05:58, 6 April 2021 (UTC)
 * OK, what am I missing here? I'm not seeing anything different between production test cases and sandbox test cases - is the only expect impact on end of life browsers? —  xaosflux  Talk 14:02, 6 April 2021 (UTC)


 * No, not for end of life browsers, but if you don't know how to produce them, you can open both test cases in this online utility, make sure you're seeing mobile version of these pages, then you can see the effect on iPhone screen emulator. -- Great Brightstar (talk) 14:10, 6 April 2021 (UTC)
 * Yes check.svg Done I amended this a bit as you were off by one on the width and you should be targetting Minerva only. Otherwise all good! User:GKFXtalk 20:50, 15 April 2021 (UTC)


 * Yes, thank you. BTW can you make similar fix to TOC left? There is also a report for this problem at Template talk:TOC left. -- Great Brightstar (talk) 02:48, 16 April 2021 (UTC)

Creating blank space
Suddenly today pages like Aether and Leeds (disambiguation) have a lot of blank space. What's up? Also mentioned it at Wikipedia talk:WikiProject Disambiguation. Pam D  18:08, 12 November 2015 (UTC)
 * See Wikipedia:Village_pump_(technical)#TOC_problem. Pam  D  18:26, 12 November 2015 (UTC) Redirected link to archive. Hairy Dude (talk) 04:53, 1 December 2015 (UTC)
 * Its fixed now but please test it thoroughly in future before applying it to live Wiki website. Thanks! Maok3 (talk) 22:16, 12 November 2015 (UTC)

Fully protected edit request on 30 March 2017
A protected redirect, Template:TOCright needs redirect category (rcat) templates added. Please modify it as follows:


 * from this:


 * 1) REDIRECT Template:TOC right


 * to this:


 * 1) REDIRECT Template:TOC right

The Redirect category shell template is used to sort redirects into one or more categories. When pp-protected and/or pp-move suffice, the Redirect category shell template will detect the protection level(s) and categorize the redirect automatically. (Also, the categories will be automatically removed or changed when and if protection is lifted, raised or lowered.) Thank you in advance!  Paine Ellsworth  put'r there  21:14, 30 March 2017 (UTC)
 * WHEN YOU COPY & PASTE, PLEASE LEAVE THE SKIPPED LINE BLANK FOR READABILITY.
 * Padlock-bronze-open.svg Not done: The page's protection level has changed since this request was placed. You should now be able to edit the page yourself. If you still seem to be unable to, please reopen the request with further details. Jo-Jo Eumerus (talk, contributions) 22:03, 30 March 2017 (UTC)
 * Thank you very much, Jo-Jo Eumerus!  Paine Ellsworth   put'r there  02:10, 31 March 2017 (UTC)

Revert last edit
This edit breaks Book sources and should be reverted until this bug is fixed.--Srleffler (talk) 18:24, 31 December 2018 (UTC)
 * Pinging, who made the edit and submitted the bug. – Jonesey95 (talk) 18:52, 31 December 2018 (UTC)
 * , no it shouldn't it's a cosmetic detail on a single page, for which we shouldn't stop the rest of the encyclopedia from progressing. —Th e DJ (talk • contribs) 19:29, 31 December 2018 (UTC)
 * Red information icon with gradient background.svg Not done for now: Merits additional discussion about whether this change, which stopped the template from working on one page, has more benefit than cost. – Jonesey95 (talk) 21:17, 31 December 2018 (UTC)
 * What is the benefit of this change? Does it actually improve the appearance or function of the template, or is it just some effort to standardize how things work "under the hood"? The template worked fine before. I see no downside in reverting to the version that worked fine until the bug is fixed. The cost is not merely cosmetic: it makes the ISBN lookup feature hard to use—especially for newer readers—by burying the links to the actual sources beneath four screens of TOC. This doesn't just affect the master "book sources" page. It affects every attempt by a reader to look up a book by ISBN.--Srleffler (talk) 22:05, 31 December 2018 (UTC)
 * how about just turning off TOC there if noone is using it? — xaosflux  Talk 00:35, 2 January 2019 (UTC)
 * I tried editing that page to produce the effect of TOC right without calling the current version of the template, but Izno reverted me. I assume eliminating the TOC altogether would have been even more controversial. Bypassing the malfunctioning template on the page where it malfunctions seemed like the obvious solution to me, but apparently Izno felt otherwise. I don't understand his thinking, so I'm holding off on further edits to that page for now, hoping that other editors will get involved so we have more of a consensus.--Srleffler (talk) 03:15, 2 January 2019 (UTC)

Does not work on mobile
Toc shows up on right but blank field in the left; i.e the toc pushes down all text Erentar2002 (talk) 00:01, 10 October 2019 (UTC)

Template-protected edit request on 14 January 2020
There is something wrong: Keyacom (talk) 15:16, 14 January 2020 (UTC)
 * ❌ - it is not clear what the change you would make, were this page not protected, is - please be very clear as in "change X on line n to Y". — xaosflux  Talk 15:20, 14 January 2020 (UTC)
 * I don't think that's quite the right response here; the change is obvious. The rationale for the change is not, and so it should be declined for that reason. --Izno (talk) 21:01, 16 January 2020 (UTC)
 * I took that to be examples of some sort of result, not of the actual change (I didn't spend very long on it);nonetheless, agree needs more explanation at least. — xaosflux  Talk 21:27, 16 January 2020 (UTC)

Syntaxhighlight makes the TOC links unclickable
makes lhe TOC links next to it unclickable, see e.g. User scripts/Guide or WikiProject Check Wikipedia/Translation and try to click the TOC links that have syntaxhighlight next to them on left side. 87.95.206.253 (talk) 22:14, 15 January 2021 (UTC)


 * This was quickly fixed. Now they seem to work again. Not sure but it seems that the most recent MediaWiki update fixed it. 87.95.206.253 (talk) 15:40, 29 January 2021 (UTC)

Template broken?
Did something just change that broke the functionality of TOC right on my talk page? wbm1058 (talk) 14:49, 11 January 2022 (UTC)
 * it looks fine, but some absurdly long section titles just forced it to expand, I zapped these for you here (feel free to revert of course!). — xaosflux  Talk 15:04, 11 January 2022 (UTC)
 * Thanks. Funny I didn't notice the problem a week ago. I just noticed it this morning. Go figure. wbm1058 (talk) 15:07, 11 January 2022 (UTC)

Redundant?
The default view of displays the t.o.c. on the left and this template has no effect. Shouldn't this be deprecated? Iterresise (talk) 06:27, 13 September 2023 (UTC)