# Creating a Table of Contents The [[TWikiVariables]] `%TOC%` will automatically create a table of contents for a topic based on the headers of the topic. To exclude a heading from a `%TOC%` add `!!` to the end of the syntax for a header, e.g. write `---+!!` for a `---+` heading. [[See More Tips...|Main/TWikiTipsOfTheDay]] -- TWiki:Main.PaulineCheung - 19 Jan 2005