Help:Including additional CSS and JS

You can use the global JavaScript method  to include additional scripts or styles that are not included on your wiki by default. This method will work with local resources (such as "MediaWiki:Wikia.js") or external resources (such as "w:dev:Mediawiki:External_include.js"). Using this method will combine all of the articles you need into one request which will reduce file size and web traffic to help make your wiki faster.

Usage
To use this method, you will need to provide an options object containing the type of files to include (either "script" or "style") and an array of article names.

For example, if you wanted to import two JavaScript files, one from the local wiki and one from an external wiki, your code would look something like this:

Likewise, if you wanted to include two Stylesheets, one from the local wiki and one from an external wiki, your code would look something like this:

If you only need to include one file, you may use this alternate syntax: