Template:TOC/Doc

A table of contents can be created like this: Would produce the sample TOC shown at the right