Board Thread:Support Requests - Getting Technical/@comment-2170536-20130901071607/@comment-11140927-20140727063930

Go to this address: http://dev.wikia.com/wiki/MediaWiki:Wikia.js and change the dev part to your own wiki, e.g. clashofclans.wikia.com/MediaWiki:Wikia.js, etc. then enter to code you need into that page and refresh the page. To use it, use it like your regular WikiNavigation except you can extend up to 5 levels.

Hope I helped.