User:Mr.Z-man/refbuttons

From OpenWetWare
Jump to: navigation, search

refbuttons.js is a JavaScript tool that adds extra buttons to the editing toolbar for commonly used citation templates - {{cite web}}, {{cite news}}, and {{cite book}}.

Usage

It will add 3 buttons to the right side of the editing toolbar for citation templates. The templates are already wrapped in <ref> tags and those that use a "accessdate" parameter will already have it filled in with the current UTC date. Simply fill in the other parameters, remove the unused ones, and save.

Installation

Simply add <source lang="javascript">importScript('User:Mr.Z-man/refbuttons.js');</source> to your monobook JS page (or whatever skin you use) and bypass your cache.

See also