Wiki Table of Contents Tips

[edit] TOC Alignment

When 4 or more headers are created in a wiki page the Wiki software will automatically create a TOC (Table of Contents). These tend to be very narrow and can get quite long, so it is proposed that long TOCs are left or right aligned with the content to improve readability and aesthetic of the page.

[edit] TOC Aligned vs Unaligned

Compare the two images below:

Without aligment:
Unaligned toc.png
With alignment:
Left aligned toc.png

(You can see the above page here)

[edit] Code to Align TOC

 {| style="margin-right:1em;" align="left"
 | __TOC__
Last edited by Redemption on 6 September 2008 at 22:20
This page has been accessed 2,394 times.