User:Inductiveload/Template autoloader

The template autoloader is a script that will insert a blank template into the page your are edit, so you don't need to retype the parameters or have to remember the parameter names and orders.

How to install
Copy the following to your JS:

How to use
When you are editing a page, click the "Autoload template" link in the sidebar toolbox. This will prompt you to enter the name of a template. The script will them prepend a blank template to the article you are editing.

Conditions

 * There is a blank template example wrapped in  on the page Template:Example/doc

Improvements
I am happy with this script as it is. If you want to extend it or improve it, feel free. Please drop a link here, as I'd like to see it! Suggestions for improvement:

{{autoload template|name=name (pending suggestion above)| {{example | parameter1 = ... }}
 * Allow more than one autoload template per template, so you can have variants for different purposes.
 * Allow the template to be wrapped by a template, so what you write on the template documentaion pages is something like: