Template:TOCIndex/doc

TOCIndex usage
This template generates a wiki-readable Table of Contents for a work. It is used in conjunction with pg to create page links within a work. It takes the following syntax:

Title of Work

and so forth.

Pg usage
This template is used in conjunction with TOCIndex to generate page links within a book. First a TOC index page must be generated with TOCIndex, e.g. at Name of Book/TOCIndex. Then, this template can be used with the following syntax:

or, more simply:

Name of Book/TOCIndex