Board Thread:Support Requests - Designing Your Wiki/@comment-4146635-20130624223048/@comment-4674838-20130707214253

TK-999 wrote: Basically, there's no way to simply pass  to Javascript and make it deal with it in this version&mdash;you need to instead supply the HTML code that would make for this.

Yes, there is. You can make a JSON request to a specially formatted URL using action=parse, for example, the HTML for the Notice template could be extracted with a request to http://community.wikia.com/api.php?action=parse&format=json&page=Template:Notice