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.


 * Verbatim tags only work when physically added to a page. You won't be able to use verbatim when dealing with a dynamic JS'd section of a page. You'd have to have the verbatim'd code already on the page and use JS to move that section to the sidebar. Alternatively, you can use JS to add the section to the sidebar as well as adding the script tag with your code to the body element. Rappy 01:26, August 16, 2011 (UTC)

So there isn't any other way beside using js... man I should really learn how to use it. I don't know js, if you have some code sample which I can copy from it would be really helpful. The current js I'm using, it won't work if the code to load has &lt;script> tags in it.