Template talk:NOTOC inline
Add topicRationale
[edit]I created this intending for use on List of common misconceptions.
{{Hide inline TOC}} seems to be disabled; all its code is noinclude'd.
For reference see discussion with Mr_swordfish. Followup: Talk:List of common misconceptions#Table of Contents.
The name {{NOTOC inline}} is imperfect. Better might be {{Hide all inline TOCs}} or something like that.
BTW, I initially created User:W.andrea/sandbox/Template:No inline TOC, but its TemplateStyles wasn't automatically tagged as "sanitized CSS", not even when I moved it to Template namespace, so I recreated it.
— W.andrea (talk) 19:17, 14 July 2026 (UTC)
- Testing in my sandbox:
- With template; in different skins:
- Legacy desktop: Vector 2010; MonoBook; Timeless
- Mobile: Minerva Neue
- Modern desktop (no effect): Vector 2022
- Without template; in different skins:
- Legacy desktop: Vector 2010; MonoBook; Timeless
- Mobile: Minerva Neue
- Modern desktop (no difference): Vector 2022
- With template; in different skins:
- — W.andrea (talk) 21:30, 14 July 2026 (UTC)
- The name seems fine, now that I've examined {{compact TOC}}. I think I misunderstood the explanation at Template:Hide inline TOC § Reason. — W.andrea (talk) 21:51, 14 July 2026 (UTC)