User:Sdpjswl/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
importScript("User:Remember the dot/ISO date format unifier.js")
var exampletemplateweb = new citeTemplate('cite exampleweb', 'ExampleWeb',
// Basicbasic fields
[['last', 'Last name'],
['first', 'First name'],
['title'],
['url', 'URL'],
['work', 'Work', 'If this is part of a larger work'],
['accessdatepublisher']],
['accessdate']],
// Expanded fields
[['author'],
[['author'],
['authorlink', 'Author\'s article', 'If the author has an article, the name of the article'],
['pagecoauthors'],
['pagesarchiveurl'],
['archiveurlarchivedate'],
['archivedate___location'],
['___locationpage'],
['pagepages'],
['pageslanguage'],
['languageformat'],
['formatdoi'],
['doidate'],
['datemonth'],
['monthyear'],
['yearquote'],]
['quote']]
);
userTemplates.push(exampletemplate); // This adds the "Cite example" template to the list used by the script