this template doesn't work unless the appropriate css styles are added to mediawiki (i.e. the class toclimit-?, where ? is the limit, usually 1 - 5)