{{i}} Документація модуля[перегляд] [редагувати] [історія] [очистити кеш]


Цей файл містить список усіх параметрів, які розглядає {{Модуль:Citation/CS1}} (обг. · викор. · ред.), хоча не всі параметри мають використовуватися для кожного окремого цитування.

Цей вміст первинно був згенерований {{Модуль:Citation/CS1/Arguments}} (обг. · викор. · ред.), але надалі підтримується адміністраторами із метою керування параметрами і призначення їм певного стану та певної поведінки. Поточні стани параметрів: active (true - використовується), deprecated (false - застарілий, але вживається), та obsolete (nil - застарілий, надалі не підтримується).


Наступні файли є частиною модуля, що забезпечує підтримку шаблонів цитувань cs1|2:

Модулі CS1|CS2
  У вжитку Пісочниця Опис
sysop Модуль:Citation/CS1 Модуль:Citation/CS1/пісочниця [редагувати] Функції рендерінгу та підтримки
Модуль:Citation/CS1/Configuration Модуль:Citation/CS1/Configuration/пісочниця [редагувати] Таблиці перекладу; функції-обробники помилок та ідентифікаторів
Модуль:Citation/CS1/Whitelist Модуль:Citation/CS1/Whitelist/пісочниця [редагувати] Перелік поточних, застарілих та таких, що більше не підтримуються, cs1|2 параметрів
Модуль:Citation/CS1/Date validation Модуль:Citation/CS1/Date validation/пісочниця [редагувати] Функції валідації форматування дат
Модуль:Citation/CS1/Identifiers Модуль:Citation/CS1/Identifiers/пісочниця [редагувати] Функції, які підтримують іменовані ідентифікатори (isbn, doi, pmid тощо)
Модуль:Citation/CS1/Utilities Модуль:Citation/CS1/Utilities/пісочниця [редагувати] Загальні функції і таблиці
Модуль:Citation/CS1/COinS Модуль:Citation/CS1/COinS/пісочниця [редагувати] Функції відображення (рендерінгу) метаданих шаблонів "cs1|2"
Модуль:Citation/CS1/styles.css Модуль:Citation/CS1/пісочниця/styles.css [редагувати] Стилі CSS, що застосовуються до шаблонів "cs1|2"
auto confirmed Module:Citation/CS1/Suggestions Модуль:Citation/CS1/Suggestions/пісочниця [редагувати] Перелік, який перевизначає загальновживані помилкові назви параметрів на правильні, підтримувані модулем назви параметрів
--[[--------------------------< S U P P O R T E D   P A R A M E T E R S >--------------------------------------

Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values:
	true - these parameters are valid and supported parameters
	false - these parameters are deprecated but still supported
	tracked - these parameters are valid and supported parameters tracked in an eponymous properties category
	nil - these parameters are no longer supported. remove entirely
	
]]

local basic_arguments_t = {
    ['accessdate'] = true,
    ['access-date'] = true,
    ['agency'] = true,
    ['airdate'] = true,
    ['air-date'] = true,
    ['archivedate'] = true,
    ['archive-date'] = true,
    ['archiveurl'] = true,
    ['archive-url'] = true,
    ['article'] = true,
    ['article-url'] = true,
    ['article-url-access'] = true,
    ['arxiv'] = true,
    ['ARXIV'] = true,															-- cite arxiv; here because allowed in cite ... as identifier
    ['asin'] = true,
    ['ASIN'] = true,
    ['asin-tld'] = true,
    ['ASIN-TLD'] = true,
    ['at'] = true,
    ['author'] = true,
    ['Author'] = true,
    ['author-first'] = true,
    ['author-given'] = true,
    ['authorformat'] = true,
    ['author-format'] = true,
    ['author-last'] = true,
    ['author-surname'] = true,
    ['authorlink'] = true,
    ['author-link'] = true,
    ['authormask'] = true,
    ['author-mask'] = true,
    ['author-name-separator'] = true,
    ['authors'] = true,
    ['author-separator'] = true,
    ['bibcode'] = true,
    ['BIBCODE'] = true,
    ['bibcode-access'] = true,
	['biorxiv'] = true,															-- cite biorxiv; here because allowed in cite ... as identifier
    ['book-title'] = true,
    ['booktitle'] = true,
    ['cartography'] = true,
    ['chapter'] = true,
    ['chapterlink'] = true,
    ['chapterurl'] = true,
    ['chapter-url'] = true,
    ['chapter-url-access'] = true,
    ['citeseerx'] = true,														-- cite citeseerx; here because allowed in cite ... as identifier
    ['coauthor'] = true,
    ['coauthors'] = true,
    ['conference'] = true,
    ['conferenceurl'] = true,
    ['conference-url'] = true,
    ['contribution'] = true,
    ['contributionurl'] = true,
    ['contribution-url'] = true,
    ['credits'] = true,
    ['date'] = true,
    ['day'] = true,
    ['deadlink'] = true,
    ['deadurl'] = true,
    ['dead-url'] = true, 
    ['degree'] = true,
    ['department'] = true,
    ['dictionary'] = true,
    ['displayauthors'] = true,
    ['display-authors'] = true,
    ['displayeditors'] = true,
    ['display-editors'] = true,
    ['display-interviewers'] = true,
    ['display-subjects'] = true,
    ['display-translators'] = true,
    ['docket'] = true,
    ['doi'] = true,
    ['DOI'] = true,
    ['DoiBroken'] = true,
    ['doi_brokendate'] = true,
    ['doi_inactivedate'] = true,
    ['doi-access'] = true,
	['doi-broken-date'] = true,
    ['edition'] = true,
    ['editor'] = true,
    ['Editor'] = true,
    ['editor-first'] = true,
    ['editorformat'] = true,
    ['editor-format'] = true,
    ['editor-given'] = true,
    ['EditorGiven'] = false,
    ['editor-last'] = true,
    ['editorlink'] = true,
    ['editor-link'] = true,
    ['editormask'] = true,
    ['editor-mask'] = true,
    ['editor-name-separator'] = true,
    ['editors'] = true,
    ['editor-separator'] = true,
    ['editor-surname'] = true,
    ['EditorSurname'] = false,
    ['eissn'] = true,
	['EISSN'] = true,
    ['embargo'] = true,
    ['Embargo'] = true,
    ['episode'] = true,
    ['encyclopaedia'] = true,
    ['encyclopedia'] = true,
    ['entry'] = true,
    ['entry-url'] = true,
	['entry-url-access'] = true,
	['eprint'] = true,															-- cite arxiv; here because allowed in cite ... as identifier
    ['episodelink'] = true,
    ['episode-link'] = true,
    ['hdl'] = true,
	['HDL'] = true,
	['hdl-access'] = true,
    ['first'] = true,
    ['format'] = true,
    ['given'] = true,
    ['host'] = true,
    ['id'] = true,
    ['ID'] = true,
    ['ignoreisbnerror'] = false,
    ['ignore-isbn-error'] = false,
    ['in'] = true,
    ['inset'] = true,
    ['interviewer'] = true,
	['interviewer-first'] = true,
	['interviewer-given'] = true,
	['interviewer-last'] = true,
	['interviewer-surname'] = true,
	['interviewer-link'] = true,
	['interviewer-mask'] = true,
	['institution'] = true,
    ['isbn'] = true,
    ['ISBN'] = true,
    ['isbn13'] = true,
    ['ISBN13'] = true,
    ['ismn'] = true,
	['ISMN'] = true,
    ['issn'] = true,
    ['ISSN'] = true,
    ['issue'] = true,
    ['jfm'] = true,
    ['JFM'] = true,
    ['journal'] = true,
    ['jstor'] = true,
    ['JSTOR'] = true,
    ['jstor-access'] = true,
    ['lang'] = true,
    ['language'] = true,
    ['last'] = true,
    ['lastauthoramp'] = true,
    ['laydate'] = true,
    ['laysource'] = true,
    ['laysummary'] = true,
    ['layurl'] = true,
    ['lccn'] = true,
    ['LCCN'] = true,
    ['location'] = true,
    ['magazine'] = true,
    ['map'] = true,
    ['map-url'] = true,
    ['map-url-access'] = true,
    ['medium'] = true,
    ['medrxiv'] = true,															-- cite medrxiv; here because allowed in cite ... as identifier
    ['minutes'] = true,
    ['mode'] = true,
    ['month'] = true,
    ['mr'] = true,
    ['MR'] = true,
    ['name-list-style'] = true,
    ['name-separator'] = true,
    ['network'] = true,
    ['newspaper'] = true,
    ['nocat'] = true,
    ['nopp'] = true,
    ['notracking'] = true,
    ['no-tracking'] = true,
    ['number'] = true,
    ['oclc'] = true,
    ['OCLC'] = true,
    ['ol'] = true,
    ['OL'] = true,
    ['ol-access'] = true,
    ['origyear'] = true,
    ['orig-year'] = true,
    ['orig-date'] = true,
    ['osti'] = true,
    ['OSTI'] = true,
    ['osti-access'] = true,
    ['others'] = true,
    ['p'] = true,
    ['page'] = true,
    ['pages'] = true,
    ['periodical'] = true,
    ['people'] = true,
    ['place'] = true,
    ['pmc'] = true,
    ['PMC'] = true,
    ['pmc-embargo-date'] = true,
    ['pmid'] = true,
    ['PMID'] = true,
    ['postscript'] = true,
    ['pp'] = true,
    ['PPPrefix'] = true,
    ['PPrefix'] = true,
    ['publicationdate'] = true,
    ['publication-date'] = true,
    ['publicationplace'] = true,
    ['publication-place'] = true,
    ['publisher'] = true,
    ['quotation'] = true,
    ['quote'] = true,
    ['ref'] = true,
    ['Ref'] = true,
    ['rfc'] = true,
    ['RFC'] = true,
    ['sbn'] = true,
	['SBN'] = true,
    ['scale'] = true,
    ['script-article'] = true,
	['script-chapter'] = true,
	['script-contribution'] = true,
	['script-entry'] = true,
	['script-journal'] = true,
	['script-magazine'] = true,
	['script-map'] = true,
	['script-newspaper'] = true,
	['script-periodical'] = true,
	['script-quote'] = true,
	['script-section'] = true,
	['script-title'] = true,
	['script-website'] = true,
	['script-work'] = true,
    ['season'] = true,
    ['section'] = true,
    ['section-url'] = true,
	['section-url-access'] = true,
    ['sections'] = true,
    ['separator'] = true,
    ['series'] = true,
    ['serieslink'] = true,
    ['series-link'] = true,
    ['seriesno'] = true,
    ['seriesnumber'] = true,
    ['series-no'] = true,
    ['series-number'] = true,
    ['series-separator'] = true,
    ['ssrn'] = true,
    ['SSRN'] = true,
    ['ssrn-access'] = true,
    ['station'] = true,
    ['subject'] = true,
	['subject-first'] = true,
	['subject-given'] = true,
	['subject-last'] = true,
	['subject-link'] = true,
	['subject-mask'] = true,
	['subject-surname'] = true,
    ['subscription'] = false,
    ['surname'] = true,
    ['s2cid'] = true,
	['S2CID'] = true,
	['s2cid-access'] = true,
    ['template doc demo'] = true,
    ['template-doc-demo'] = true,
    ['time'] = true,
    ['timecaption'] = true,
    ['time-caption'] = true,
    ['title'] = true,
    ['titlelink'] = true,
    ['title-link'] = true,
    ['translator'] = true,
    ['trans-article'] = true,
	['translator-first'] = true,
	['translator-given'] = true,
	['translator-last'] = true,	
	['translator-surname'] = true,
	['translator-link'] = true,
	['translator-mask'] = true,
    ['trans_chapter'] = true,
    ['trans-chapter'] = true,
    ['trans-contribution'] = true,
    ['transcript'] = true,
    ['transcripturl'] = true,
    ['transcript-url'] = true,
    ['trans-entry'] = true,
    ['trans-journal'] = true,
    ['trans-magazine'] = true,
    ['trans-newspaper'] = true,
    ['trans-periodical'] = true,
    ['trans-map'] = true,
    ['trans-quote'] = true,
    ['trans-section'] = true,
    ['trans_title'] = true,
    ['trans-title'] = true,
    ['trans-website'] = true,
    ['trans-work'] = true,
    ['type'] = true,
    ['url'] = true,
    ['URL'] = true,
    ['url-access'] = true,
	['url-status'] = true,
    ['url-архіву'] = true,
    ['url-внеску'] = true,
    ['url-запису'] = true,
    ['url-карти'] = true,
    ['url-мапи'] = true,
    ['url-секції'] = true,
    ['url-статті'] = true,
    ['url-розділу'] = true,
    ['vauthors'] = true,
    ['veditors'] = true,
    ['version'] = true,
    ['via'] = true,
    ['volume'] = true,
    ['website'] = true,
    ['work'] = true,
    ['year'] = true,
    ['zbl'] = true,
    ['ZBL'] = true,
    ['автор'] = true,
    ['автори'] = true,
    ['автор-ім\'я'] = true,
    ['автормаска'] = true,
    ['автор-маска'] = true,
    ['авторпосилання'] = true,
    ['автор-посилання'] = true,
    ['автор-прізвище'] = true,
    ['агенство'] = true,
    ['анкер'] = true,
    ['вавтори'] = true,
    ['вебсайт'] = true,
    ['веб-сайт'] = true,
    ['ведучий'] = true,
    ['ведуча'] = true,
    ['версія'] = true,
    ['видавець'] = true,
    ['видавництво'] = true,
    ['видання'] = true,
    ['випуск'] = true,
    ['відділ'] = true,
    ['вредактори'] = true,
    ['внесок'] = true,
    ['газета'] = true,
    ['дата'] = true,
    ['дата-архіву'] = true,
    ['дата-доступу'] = true,
    ['дата-оригіналу'] = true,
    ['дата-ембарго-pmc'] = true,
    ['дата-показу'] = true,
    ['дата-публікації'] = true,
    ['день'] = true,
    ['доступ-до-bibcode'] = true,
    ['доступ-до-doi'] = true,
    ['доступ-до-hdl'] = true,
    ['доступ-до-jstor'] = true,
    ['доступ-до-ol'] = true,
    ['доступ-до-osti'] = true,
    ['доступ-до-ssrn'] = true,
    ['доступ-до-s2cid'] = true,
    ['доступ-до-url'] = true,
    ['доступ-до-url-внеску'] = true,
    ['доступ-до-url-запису'] = true,
    ['доступ-до-url-карти'] = true,
    ['доступ-до-url-мапи'] = true,
    ['доступ-до-url-розділу'] = true,
    ['доступ-до-url-секції'] = true,
    ['доступ-до-url-статті'] = true,
    ['енциклопедія'] = true,
    ['епізод'] = true,
    ['епізод-посилання'] = true,
    ['журнал'] = true,
    ['завершення'] = true,
    ['заголовок'] = true,
    ['заголовок-посилання'] = true,
    ['запис'] = true,
    ['знаходження'] = true,
    ['ім\'я'] = true,
    ['інтерв\'юер'] = true,
    ['інтерв\'юер-ім\'я'] = true,
    ['інтерв\'юер-маска'] = true,
    ['інтерв\'юер-посилання'] = true,
    ['інтерв\'юер-прізвище'] = true,
    ['інші'] = true,
    ['карта'] = true,
    ['карта-врізка'] = true,
    ['картографія'] = true,
    ['конференція'] = true,
    ['конференція-url'] = true,
    ['мапа'] = true,
    ['мапа-врізка'] = true,
    ['масштаб'] = true,
    ['медіум'] = true,
    ['мережа'] = true,
    ['мертвий-url'] = true,
    ['місце'] = true,
    ['місце-публікації'] = true,
    ['місяць'] = true,
    ['мова'] = true,
    ['мовою'] = true,
    ['назва'] = true,
    ['назва-книги'] = true,
    ['назва-посилання'] = true,
    ['номер'] = true,
    ['номер-серіалу'] = true,
    ['особи'] = true,
    ['перекладач'] = true,
    ['перекладач-ім\'я'] = true,
    ['перекладач-маска'] = true,
    ['перекладач-посилання'] = true,
    ['перекладач-прізвище'] = true,
    ['переклад-вебсайту'] = true,
    ['переклад-внеску'] = true,
    ['переклад-газети'] = true,
    ['переклад-журналу'] = true,
    ['переклад-запису'] = true,
    ['переклад-карти'] = true,
    ['переклад-мапи'] = true,
    ['переклад-назви'] = true,
    ['переклад-періодики'] = true,
    ['переклад-праці'] = true,
    ['переклад-розділу'] = true,
    ['переклад-секції'] = true,
    ['переклад-статті'] = true,
    ['переклад-цитати'] = true,
    ['періодика'] = true,
    ['письмо-вебсайту'] = true,
    ['письмо-внеску'] = true,
    ['письмо-газети'] = true,
    ['письмо-журналу'] = true,
    ['письмо-запису'] = true,
    ['письмо-картии'] = true,
    ['письмо-мапи'] = true,
    ['письмо-назви'] = true,
    ['письмо-періодики'] = true,
    ['письмо-праці'] = true,
    ['письмо-розділу'] = true,
    ['письмо-секції'] = true,
    ['письмо-статті'] = true,
    ['письмо-цитати'] = true,
    ['підпис-часу'] = true,
    ['показувати-авторів'] = true,
    ['показувати-редакторів'] = true,
    ['показувати-інтерв\'юерів'] = true,
    ['показувати-суб\'єктів'] = true,
    ['показувати-перекладачів'] = true,
    ['поламана-дата-doi'] = true,
    ['праця'] = true,
    ['прізвище'] = true,
    ['редактор'] = true,
    ['редактори'] = true,
    ['редактор-ім\'я'] = true,
    ['редактормаска'] = true,
    ['редактор-маска'] = true,
    ['редакторпосилання'] = true,
    ['редактор-посилання'] = true,
    ['редактор-прізвище'] = true,
    ['режим'] = true,
    ['рік'] = true,
    ['рік-оригіналу'] = true,
    ['розділ'] = true,
    ['розділ-посилання'] = true,
    ['роздільник'] = true,
    ['роздільник-авторів'] = true,
    ['роздільник-імен-авторів'] = true,
    ['роздільник-серії'] = true,
    ['розміщення'] = true,
    ['сезон'] = true,
    ['секція'] = true,
    ['серіал'] = true,
    ['серіал-посилання'] = true,
    ['серія'] = true,
    ['словник'] = true,
    ['співавтор'] = true,
    ['співавтори'] = true,
    ['ст'] = true,
    ['станція'] = true,
    ['стаття'] = true,
    ['статус-url'] = true,
    ['стиль-списку-імен'] = true,
    ['сторінка'] = true,
    ['сторінки'] = true,
    ['ступінь'] = true,
    ['суб\'єкт'] = true,
    ['суб\'єкт-ім\'я'] = true,
    ['суб\'єкт-маска'] = true,
    ['суб\'єкт-посилання'] = true,
    ['суб\'єкт-прізвище'] = true,
    ['тип'] = true,
    ['титри'] = true,
    ['том'] = true,
    ['у'] = true,
    ['установа'] = true,
    ['формат'] = true,
    ['хвилини'] = true,
    ['цитата'] = true,
    ['цитування'] = true,
    ['час'] = true,
    ['частина-джерела'] = true,
    ['через'] = true,
    ['якірець'] = true,
}

local numbered_arguments_t = {
	['authors#'] = false,
    ['author#'] = true,
    ['Author#'] = true,
    ['author-first#'] = true,
    ['author#-first'] = true,
    ['author-given#'] = true,
	['author#-given'] = true,
    ['author-last#'] = true,
    ['author#-last'] = true,
    ['author-surname#'] = true,
	['author#-surname'] = true,
    ['author-link#'] = true,
    ['author#link'] = true,
    ['author#-link'] = true,
    ['authorlink#'] = true,
    ['author-mask#'] = true,
    ['author#mask'] = true,
    ['author#-mask'] = true,
    ['authormask#'] = true,
    ['editors#'] = false,
    ['editor#'] = true,
    ['Editor#'] = true,
    ['editor-first#'] = true,
    ['editor#-first'] = true,
    ['EditorGiven#'] = false,
    ['editor-given#'] = true,
	['editor#-given'] = true,
    ['editor-last#'] = true,
    ['editor#-last'] = true,
    ['editor-link#'] = true,
    ['editor#link'] = true,
    ['editor#-link'] = true,
    ['editorlink#'] = true,
    ['editor-mask#'] = true,
    ['editor#mask'] = true,
    ['editor#-mask'] = true,
    ['editormask#'] = true,
    ['EditorSurname#'] = false,
    ['editor-surname#'] = true,
	['editor#-surname'] = true,
    ['first#'] = true,
    ['given#'] = true,
    ['interviewer#'] = true,
	['interviewer-first#'] = true,
	['interviewer#-first'] = true,
	['interviewer-given#'] = true,
	['interviewer#-given'] = true,
	['interviewer-last#'] = true,
	['interviewer#-last'] = true,
	['interviewer-surname#'] = true,
	['interviewer#-surname'] = true,
	['interviewer-link#'] = true,
	['interviewer#-link'] = true,
	['interviewer-mask#'] = true,
	['interviewer#-mask'] = true,
    ['last#'] = true,
    ['subject#'] = true,
	['subject-first#'] = true,
	['subject#-first'] = true,
	['subject-given#'] = true,
	['subject#-given'] = true,
	['subject-last#'] = true,
	['subject#-last'] = true,
	['subject-link#'] = true,
	['subject#-link'] = true,
	['subject-mask#'] = true,
	['subject#-mask'] = true,
	['subject-surname#'] = true,
	['subject#-surname'] = true,
    ['surname#'] = true,
    ['translator#'] = true,
	['translator-first#'] = true,
	['translator#-first'] = true,
	['translator-given#'] = true,
	['translator#-given'] = true,
	['translator-last#'] = true,
	['translator#-last'] = true,
	['translator-surname#'] = true,
	['translator#-surname'] = true,
	['translator-link#'] = true,
	['translator#-link'] = true,
	['translator-mask#'] = true,
	['translator#-mask'] = true,
	['автори#'] = false,
    ['автор#'] = true,
    ['автор-ім\'я#'] = true,
    ['автор#-ім\'я'] = true,
    ['автор-маска#'] = true,
    ['автор#-маска'] = true,
    ['автор#маска'] = true,
    ['автор-посилання#'] = true,
    ['автор#-посилання'] = true,
    ['автор#посилання'] = true,
    ['автор-прізвище#'] = true,
    ['автор#-прізвище'] = true,
    ['ім\'я#'] = true,
    ['інтерв\'юер#'] = true,
    ['інтерв\'юер-ім\'я#'] = true,
    ['інтерв\'юер#-ім\'я'] = true,
    ['інтерв\'юер-маска#'] = true,
    ['інтерв\'юер#-маска'] = true,
    ['інтерв\'юер-посилання#'] = true,
    ['інтерв\'юер#-посилання'] = true,
    ['інтерв\'юер#-прізвище'] = true,
    ['інтерв\'юер-прізвище#'] = true,
    ['прізвище#'] = true,
    ['перекладач#'] = true,
    ['перекладач-ім\'я#'] = true,
    ['перекладач#-ім\'я'] = true,
    ['перекладач-маска#'] = true,
    ['перекладач#-маска'] = true,
    ['перекладач-посилання#'] = true,
    ['перекладач#-посилання'] = true,
    ['перекладач#-прізвище'] = true,
    ['перекладач-прізвище#'] = true,
    ['редактори#'] = false,
    ['редактор#'] = true,
    ['редактор-ім\'я#'] = true,
    ['редактор#-ім\'я'] = true,
    ['редактор-маска#'] = true,
    ['редактор#-маска'] = true,
    ['редактор#маска'] = true,
    ['редактор-посилання#'] = true,
    ['редактор#-посилання'] = true,
    ['редактор#посилання'] = true,
    ['редактор-прізвище#'] = true,
    ['редактор#-прізвище'] = true,
    ['суб\'єкт#'] = true,
    ['суб\'єкт-ім\'я#'] = true,
    ['суб\'єкт#-ім\'я'] = true,
    ['суб\'єкт-маска#'] = true,
    ['суб\'єкт#-маска'] = true,
    ['суб\'єкт-посилання#'] = true,
    ['суб\'єкт#-посилання'] = true,
    ['суб\'єкт-прізвище#'] = true,
    ['суб\'єкт#-прізвище'] = true,
}

--[[--------------------------< P R E P R I N T   S U P P O R T E D   P A R A M E T E R S >--------------------

Cite arXiv, cite biorxiv, cite citeseerx, cite medrxiv, and cite ssrn are preprint templates that use the limited
set of parameters defined in the limited_basic_arguments and limited_numbered_arguments tables.  Those lists are
supplemented with a template-specific list of parameters that are required by the particular template and may be
exclusive to one of the preprint templates.  Some of these parameters may also be available to the general cs1|2
templates.

Same conventions for true/false/tracked/nil as above.

]]

local preprint_arguments_t = {
	arxiv = {
		['arxiv'] = true,														-- cite arxiv and arxiv identifiers
		['class'] = true,
		['клас'] = true,
		['eprint'] = true,														-- cite arxiv and arxiv identifiers
		},
	biorxiv = {
		['biorxiv'] = true,
		},
	citeseerx = {
		['citeseerx'] = true,
		},
	medrxiv = {
		['medrxiv'] = true,
		},
	ssrn = {
		['ssrn'] = true,
		['SSRN'] = true,
		['ssrn-access'] = true,
		['доступ-до-ssrn'] = true,
		},
	}
	
--[[--------------------------< L I M I T E D   S U P P O R T E D   P A R A M E T E R S >----------------------

cite arxiv, cite biorxiv, cite citeseerx, cite medrxiv, and cite ssrn templates are preprint templates so are
allowed only a limited subset of parameters allowed to all other cs1|2 templates.  The limited subset is defined
here.

This list of parameters also used by {{cite document}}

Same conventions for true/false/tracked/nil as above.
	
]]

local limited_basic_arguments_t = {
	['at'] = true,
	['Author'] = true,
	['author'] = true,
	['author-first'] = true,
	['author-given'] = true,
	['author-last'] = true,
	['author-surname'] = true,
	['author-link'] = true,
	['authorlink'] = true,
	['author-mask'] = true,
	['authors'] = false,
	['coauthor'] = true,
    ['coauthors'] = true,
--	['collaboration'] = true,
	['date'] = true,
--	['df'] = true,
	['displayauthors'] = true,
	['display-authors'] = true,
	['first'] = true,
	['given'] = true,
	['language'] = true,
	['lang'] = true,
	['last'] = true,
	['mode'] = true,
	['name-list-style'] = true,
	['no-tracking'] = true,
	['p'] = true,
	['page'] = true,
	['pages'] = true,
	['postscript'] = true,
	['pp'] = true,
	['quotation'] = true,
	['quote'] = true,
	['Ref'] = true,
	['ref'] = true,
	['surname'] = true,
	['template-doc-demo'] = true,
	['title'] = true,
	['trans_title'] = true,
	['trans-title'] = true,
	['vauthors'] = true,
	['year'] = true,
	['автор'] = true,
    ['автори'] = true,
    ['автор-ім\'я'] = true,
    ['автормаска'] = true,
    ['автор-маска'] = true,
    ['авторпосилання'] = true,
    ['автор-посилання'] = true,
    ['автор-прізвище'] = true,
    ['анкер'] = true,
    ['вавтори'] = true,
    ['дата'] = true,
    ['завершення'] = true,
    ['ім\'я'] = true,
    ['мова'] = true,
    ['мовою'] = true,
    ['назва'] = true,
    ['переклад-назви'] = true,
    ['прізвище'] = true,
    ['показувати-авторів'] = true,
    ['режим'] = true,
    ['рік'] = true,
    ['співавтор'] = true,
    ['співавтори'] = true,
    ['ст'] = true,
    ['стиль-списку-імен'] = true,
    ['сторінка'] = true,
    ['сторінки'] = true,
    ['частина-джерела'] = true,
    ['у'] = true,
    ['цитата'] = true,
    ['цитування'] = true,
    ['якірець'] = true,
	}

local limited_numbered_arguments_t = {
	['Author#'] = true,
	['author#'] = true,
	['author-first#'] = true,
	['author#-first'] = true,
	['author-given#'] = true,
	['author#-given'] = true,
	['author-last#'] = true,
	['author#-last'] = true,
	['author-surname#'] = true,
	['author#-surname'] = true,
	['author-link#'] = true,
	['author#-link'] = true,
	['authorlink#'] = true,
	['author#link'] = true,
	['author-mask#'] = true,
	['author#-mask'] = true,
	['first#'] = true,
	['given#'] = true,
	['last#'] = true,
	['surname#'] = true,
	['автор#'] = true,
    ['автор-ім\'я#'] = true,
    ['автор#-ім\'я'] = true,
    ['автор-маска#'] = true,
    ['автор#-маска'] = true,
    ['автор#маска'] = true,
    ['автор-посилання#'] = true,
    ['автор#-посилання'] = true,
    ['автор#посилання'] = true,
    ['автор-прізвище#'] = true,
    ['автор#-прізвище'] = true,
    ['ім\'я#'] = true,
    ['прізвище#'] = true,
	}

--[[--------------------------< U N I Q U E _ A R G U M E N T S >----------------------------------------------

Some templates have unique parameters.  Those templates and their unique parameters are listed here. Keys in this
table are the template's CitationClass parameter value

Same conventions for true/false/tracked/nil as above.

]]

local unique_arguments_t = {
		mailinglist = {
			['mailinglist'] = true,
    		['mailing-list'] = true,
		    ['список-розсилки'] = true,
		},
		newsgroup = {
			['message-id'] = true,
			['newsgroup'] = true,
			},
	}

--[[--------------------------< L I S T _ C O M B I N E >------------------------------------------------------

makes one table from a list of tables.  <lists_t> is a sequence of tables to be combined

]]

local function list_combine (lists_t)
	local out_t = {};

	for _, list_t in ipairs (lists_t) do										-- for each list in <lists_t>
		for k, v in pairs (list_t) do											-- extract each k/v pair
			out_t[k] = v;														-- add to <out_t>
		end
	end
	return out_t;																-- and done
end

--[[--------------------------< T E M P L A T E _ L I S T _ G E T >--------------------------------------------

gets a list of the templates from table t

]]

local function template_list_get (t)
	local out_t = {};															-- a table for output
	for k, _ in pairs (t) do													-- spin through the table and collect the keys
		table.insert (out_t, k)													-- add each key to the output table
	end
	return out_t;																-- and done
end


--[[--------------------------< E X P O R T E D   T A B L E S >------------------------------------------------
]]

return {
	preprint_arguments_t = preprint_arguments_t,
	preprint_template_list_t = template_list_get (preprint_arguments_t),		-- make a template list from preprint_arguments{} table
	unique_arguments_t = unique_arguments_t,
	unique_param_template_list_t = template_list_get (unique_arguments_t),		-- make a template list from unique_arguments{} table
	
	common_parameters_t = list_combine ({basic_arguments_t, numbered_arguments_t});
	limited_parameters_t = list_combine ({limited_basic_arguments_t, limited_numbered_arguments_t});
	};