User:Whiteknight/Template Creator Gadget

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template Creator Gadget (Version 1.10)
To start creating a new book header template, type the name of your book in this box, and some text will be preloaded for you.
If the words "TEMPLATE AVAILABLE" do not appear at the top of the edit window, the template already exists. You can try again with a new title. For best results, give your new template the same name as your book, such as Template:BOOKNAME.

How to Install

[edit | edit source]

This script is a Gadget. You can install this script by going to Special:Preferences, going to the "Gadgets" tab, and checking the box labeled Whiteknight's Visual Book Designer.

Once you save your javascript, you may need to clear your cache, typically by pressing + , or some other key combination, depending on your browser.

IE7 IE6 FF2 FF3 Safari Chrome Opera9
Works Works Works Works Works Works Works
Browser Test Codes
Broken: The script does not work in this browser.
Partial: Some (but not all) features of the script work in this browser. Problems may be minor and will probably be listed.
Works: The script works as expected in this browser, and no obvious bugs or errors are present.
Not Tested: I have not tested this script on this browser. It might work, it might not. If you test it, let me know the results.
Browsers not listed here have not been tested or are known not to work

About this Gadget

[edit | edit source]

This gadget allows you to create a new page navigation template for your book. Type in the name of your book with the "Template:" prefix. For instance, for a book called "Animals", you would type in "Template:Animals". Once you have entered the name of your template, click "Create" and follow the instructions on the following page.

To Do

[edit | edit source]
FEATURE: Create more templates for use in other places: page-bottom navigation, page stub, etc.

Version History

[edit | edit source]
  • 1.10 Added editinsert.js functionality to this template, some aesthetic changes
  • 1.02 Minor aesthetic improvements
  • 1.01 First stable version