Template:Collapse Sections

Usage
Include on a page to make the header sections collapsible.