When you have access to the CSS and JS files as we do, mediawiki markup can do essentially the web already does. The main thing is that it will pass through <div>s and <span>s with arbitrary classes and I think even with the style attribute, or a sanitized form thereof.
"Kitto daijoubu da yo." - Sakura Kinomoto