From wikipedia
At the current status of the wiki markup language, having at least four headers on a page triggers the table of contents (TOC) to appear in front of the first header (or after introductory sections). Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear.

If you want to get rid of the table of contents put
__NOTOC__ anywhere in the page and
placing __TOC__ forces it to go anywhere on the page.

for example here http://projectpokemon.org/wiki/TMs_and_HMs i forced it to after the Intro section.