Fandom

Wikia Developers Wiki

AjaxTemplate

889pages on
this wiki
Add New Page
Talk5 Share

Installation

Add this to your global.js or your wikia.js on the local wiki.

importScriptPage('AjaxTemplate/code.js', 'dev');


About

This script adds a button to the header of the oasis skin called "Add Template." Clicking the button will trigger a pop-up that will ask you to enter the name of the template.

Brackets should not be included (i.e., enter "for", not "{{for}}").

Parameters can be entered, too, like this: "for|example".

On talk pages, the template is automatically substituted, and your signature is automatically included. On pages in other namespaces, it will add a non-substituted and unsigned template at the top of the page.

Updates

Friday 19th, July 2013

Original Authority moved the button to after the talk button.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.