Hello! I am hoping to be of some use to Wikipedia, however my coding techniques are not good yet, hence my lack of contribution. Must spend more time practicing. I made my first contribution in the Pro-Anorexia section after, honestly, coming across it and getting pissed off at the blatant advertising a specific site was making on it. I didn't believe it was ethical to have such sites linked so directly when they cause far much more harm than good.
When you transclude a page (that is, automate the display of a page's content on another page), all its tags (like {{TOCRight}}) go with it, which will be implemented on the host page. Just add the following code if you want to add a right-aligned TOC to a page, but do not want it to be displayed on "derivative" pages: