This is the main template to create tables of contents in The 'Shroom.

Parameter Description
(unnamed) The contents of this TOC. Embed {{ShroomTocItem}} here (see that template for its usage).
header The header to display above the contents of this TOC. Can be omitted to not show a header.
class Optional parameter to give a CSS class to this TOC. Primarily for setting team styles on pages other than that team, or for use on the main page (main-toc)

Example:

{{ShroomToc|header=Table of contents|class=pp|
{{ShroomTocItem|...}}
{{ShroomTocItem|...}}
}}

Results in: