{
"translatorID": "3f50aaac-7acc-4350-acd0-59cb77faf620",
"translatorType": 2,
"label": "Wikipedia Citation Templates",
"creator": "Simon Kornblith",
"target": "txt",
"minVersion": "1.0.0b4.r1",
"maxVersion": "",
"priority": 100,
"displayOptions": {
"exportCharset": "UTF-8"
},
"inRepository": true,
"lastUpdated": "2017-03-13 11:45:52"
}
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2017-2019 Simon Kornblith
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Zotero is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Zotero. If not, see .
***** END LICENSE BLOCK *****
*/
var fieldMap = {
edition:"edition",
publisher:"publisher",
doi:"DOI",
isbn:"ISBN",
issn:"ISSN",
conference:"conferenceName",
volume:"volume",
issue:"issue",
pages:"pages",
number:"episodeNumber"
};
var typeMap = {
book:"Cite book",
bookSection:"Cite book",
journalArticle:"Cite journal",
magazineArticle:"Cite news",
newspaperArticle:"Cite news",
thesis:"Cite paper",
letter:"Cite",
manuscript:"Cite book",
interview:"Cite interview",
film:"Cite AV media",
artwork:"Cite",
webpage:"Cite web",
report:"Cite conference",
bill:"Cite",
hearing:"Cite",
patent:"Cite",
statute:"Cite",
email:"Cite email",
map:"Cite",
blogPost:"Cite web",
instantMessage:"Cite",
forumPost:"Cite web",
audioRecording:"Cite",
presentation:"Cite paper",
videoRecording:"Cite AV media",
tvBroadcast:"Cite episode",
radioBroadcast:"Cite episode",
podcast:"Cite podcast",
computerProgram:"Cite",
conferencePaper:"Cite conference",
document:"Cite",
encyclopediaArticle:"Cite encyclopedia",
dictionaryEntry:"Cite encyclopedia"
};
function formatAuthors(authors, useTypes) {
var text = "";
for (var i=0; i 1;
for (var i=0; i