Template:TOC top/doc

This is used to create custom table of contents templates such as list TOC.

Please note that this is solely for ease of maintaining existing templates. Please do not use this to write new templates: instead, browse through category:WikiQueer table of contents templates and use an existing template. This code is one of the final pieces in cleaning up years of redundant and overlapping code in this area.