User:Sdpjswl/monobook.js: Difference between revisions

Content deleted Content added
2
m Cabayi moved page User:Suede67/monobook.js to User:Sdpjswl/monobook.js: Automatically moved page while renaming the user "Suede67" to "Sdpjswl"
 
(9 intermediate revisions by one other user not shown)
Line 1:
importScript("User:Remember the dot/ISO date format unifier.js")
importScript('User:Mr.Z-man/refToolbar2.js'); // Omit this line if you are installing from the Gadgets page in preferences
citeUserDateFormat = '<year>-<month>-<date>'; // This will set dates to the ISO style, e.g. 2009-11-25
var exampletemplate = new citeTemplate('cite example', 'Example',
// Basic fields
[['last', 'Last name'],
['first', 'First name'],
['title'],
['url', 'URL'],
['work', 'Work', 'If this is part of a larger work'],
['accessdate']],
// Expanded fields
[['author'],
['page'],
['pages'],
);
userTemplates.push(exampletemplate); // This adds the "Cite example" template to the list used by the script