Forum:Tochidden help required

Hello!

I'd like a way to hide TOCs on specific pages on a Wiki I edit. I've found something here and there which seems to do what I need. I've tried a basic copy-paste on the wiki I edit, with no success. I'm a bit puzzled right now because I don't have a clue what's missing, and where it's missing.

If anyone could help point out what's to be done to make it work, I'd greatly appreciate it :)

Thanks! Hunter789 21:48, August 20, 2011 (UTC)


 * You'll be wanting the magic word. Just put it anywhere on the page. - Adan Aileron (talk) 00:16, August 21, 2011 (UTC)


 * is when you do not want the TOC displayed at all on your page. However, I want the TOC to be there, but I want it to be hidden when the user lands on the page (like here). Hunter789 00:23, August 21, 2011 (UTC)


 * Sorry, I guess I misunderstood. In that case, you'll need to add the show/hide code from here to your MediaWiki:Common.js and MediaWiki:Wikia.css. I apologize for the oversight and hope this is better for what you wanted. - Adan Aileron (talk) 00:37, August 21, 2011 (UTC)


 * Woa this looks good! No worries :) I'll give it a try! Thanks a lot! Hunter789 00:41, August 21, 2011 (UTC)