Template:Auto compact TOC/doc

Usage
This template creates a small table of contents for list pages that have headers for letters of the alphabet. It is similar to, but it automatically determines which section headings exist by scanning the wikitext of the page.