User:Phlsph7/ClassicalTOC(Vector2022)
Appearance
Classical TOC (Vector 2022) | |
---|---|
Description | Restores the classical table of contents used in the Vector 2010 legacy skin. |
Author(s) | Phlsph7 |
First released | February 12, 2023 |
Updated | July 22, 2024 (3 months ago) |
Browsers | all modern browsers |
Skins | Vector 2022 |
Source | User:Phlsph7/ClassicalTOC(Vector2022).js |
Classical TOC (Vector 2022) is a user script for the new Vector 2022 skin. It restores how the table of contents (TOC) was displayed in the classical Vector 2010 legacy skin. The classical TOC has a static position between the lead of the article and the first section. It is presented in a grey box that can be folded. The classical TOC can be used together with the new TOC floating on the left or the user may decide to hide the new TOC by clicking on its hide-button.
Installation
[edit]To install this script, go to your common.js and add the following line:
importScript('User:Phlsph7/ClassicalTOC(Vector2022).js'); // Backlink: [[User:Phlsph7/ClassicalTOC(Vector2022).js]]
If you run into problems or have suggestions on how to improve the script, please discuss them at User_talk:Phlsph7/ClassicalTOC(Vector2022).