Board Thread:Support Requests - Getting Technical/@comment-26404729-20170322031840/@comment-168424-20170323192215

TK-999 wrote: Yeah, use this: $('#WikiaRail').on('afterLoad.rail', function {		$.getJSON('/api.php', { action: 'parse', page: 'PageTitle', prop: 'text', format: 'json' }).then(function (json) { var text = json.parse.text['*'];

$('section.WikiaActivityModule').after(' ' + text + ' '); })	});

And replace PageTitle with the title of the page you need, e.g. Template:RailModule

Will the API only spit out the included parts of the template?

Also, it sounds like you don't have to use a template if it is being called without parameters.