When you insert the maketoc tag into a wiki page, it will create a nested table of contents based on the headings in that page.
The tag:
Styling:
In your css style sheet you can target the look and size of the table of contents by assigning styles to class .maketoc
Example:
Page source for the above example:
The tag:
<?php
{maketoc}
?>
Styling:
In your css style sheet you can target the look and size of the table of contents by assigning styles to class .maketoc
Example:
Headline one
Headline two
Subheadline a under headline two
Subheadline b under headline two
Headline three
Page source for the above example:
<?php
{maketoc}
!Headline one
!Headline two
!!Subheadline a under headline two
!!Subheadline b under headline two
!Headline three
?>