This mimics StrategyWiki's {{ToC}} template.