Template:Float TOC

 Add  to put the table of contents there, floating to the right (so text sits beside it rather than being pushed below it). can be used to put it on the left side instead.