User blog comment:Grunny/Make yourself a Wikia-MacGyver: Adding custom scripts/@comment-1917218-20120310155408/@comment-3508190-20120310174156

You need to add importScriptPage('ShowHide/code.js', 'dev'); to Common.js and then add the relevant CSS classes to your wikicode.