Forum:Code implemention in the side rail

Hello, how can I add a new element or a code in general in the side rail? I know there is the page MediaWiki:Sidebar for monobook, which lets me add a page from the "mediawiki" namespace, but for oasis? And is there a way to load the page as the verbatim tag do? Because in monobook, if I load this page it won't be rendered (see here). I ask this to solve my problem with Forum:Stats Counter Implementation, because I have to add a code which include a script tags, so the previous js wasn't suited because the script tags will conflict with the js.