User:Holek/cite-gen

From Wikipedia, the free encyclopedia

This script is intended to ease the process of creating references. By entering 9783502151555 you can get:

<ref>{{Cite book  | last1 = Möller | first1 = Steffen | title = Viva Polonia : als deutscher Gastarbeiter in Polen | date = 2008 | publisher = Scherz | location = Frankfurt am Main | isbn = 978-3-502-15155-5 | pages =  }}</ref>

The script uses the Citation templates generator, creating {{Cite book}}, {{Cite journal}} or {{Cite web}}.

And all this happens directly within your editing tab. No need to visit other sites and copy from there.

Install[edit]

Script works only with Vector skin and the new editor. To install this script visit your Vector.js and add a line below to it:

importScript('User:Holek/cite-gen.js');

Usage[edit]

After you reload your cache, a new button will be shown to you in "Advanced" section. Click it to open the reference generator.

Reference generator's button position (screenshot form Polish Wikipedia)