Esta plantilla no se puede utilizar en artículos y no funcionará si se coloca en uno.
Esta plantilla es para que el código de la página __TOC__ (Tabla de Contenidos) entre en un cuadro colapsable que tiene la funcionalidad [mostrar]/[ocultar], siendo el valor predeterminado que el cuadro esté colapsado (y la tabla de contenidos oculta), lo que permite hacer un solo clic en el área [mostrar] para visualizarla. Esto proporciona a los editores una opción para ver mejor las páginas con tablas de contenidos largas, de modo que la introducción no esté ocupada por defecto con una gran cantidad de espacio en blanco. Coloque la plantilla en la ubicación donde se mostrará la tabla de contenidos. Tenga en cuenta que Mostrar vista previa mostrará la tabla de contenidos; primero se debe guardar la página antes de que se oculte la tabla de contenidos.
Coloque lo siguiente en la página:{{TOC hidden}}
La necesidad de esta plantilla suele ser motivo de controversia, por lo que se recomienda aplicarla con cuidado. Una alternativa sugerida es: . Otra alternativa, para no incluir ningún índice, es la palabra mágica __NOTOC__.{{TOC limit}}
Dado que la máscara Vector 2022 fuerza la tabla de contenido a aparecer en una barra lateral o en un menú emergente, esta plantilla no controla la ubicación de la tabla de contenido en esa máscara.