User:Mtew/Special/index

The expected directory structure is that every set of sub-page will have a /TOC page.

The /TOC page will include the /TOC page from the next level up and then display a table of contents in some form that allows quick access to the other sub-pages at its level.

The other pages on the sub-page level can then include the /TOC page without needing to know where they actually are in the page heirarchy. (For that mater, if properly written, most /TOC pages do not need to know where they are in the page heirarchy.)

Typically, the first source line on a page with no sub-pages would normally be:

while the first source line on a page with sub-pages would normally be:

The /TOC page should not include a reference to itself. Instead it should include this page as its navigation header.

A /TOC page would normally have the following structure:
 * &lt;noinclude&gt;   == Purpose ==  Discribe the table of contents.  A simple  'Table of Contents for chapter ...' will do.  == Code ==  &lt;/noinclude&gt;   Generate the table of contents for the chapter here.