Jump to content

Module:Citation/CS1/Whitelist: Difference between revisions

m
(sync from sandbox;)
m (41 revisions imported from templatewiki:Module:Citation/CS1/Whitelist)
Line 38: Line 38:
['ended'] = nil, -- module handles date ranges; cite episode and cite series
['ended'] = nil, -- module handles date ranges; cite episode and cite series
['in'] = nil, -- ambiguous between use for language, appearance of a lesser work in an edited work
['in'] = nil, -- ambiguous between use for language, appearance of a lesser work in an edited work
['interviewers'] = nil, -- only need InterviewerList support
['month'] = nil, -- functionality supported by |date=
['month'] = nil, -- functionality supported by |date=
['name-separator'] = nil, -- primarily used to support Vancouver format which functionality now part of name-list-format
['name-separator'] = nil, -- primarily used to support Vancouver format which functionality now part of name-list-format
Line 63: Line 62:


]]
]]


--[[--------------------------< S U P P O R T E D  P A R A M E T E R S >--------------------------------------
--[[--------------------------< S U P P O R T E D  P A R A M E T E R S >--------------------------------------
Line 127: Line 125:
['contributionurl'] = true,
['contributionurl'] = true,
['contribution-url'] = true,
['contribution-url'] = true,
['contribution-url-access'] = true,
['contributor'] = true,
['contributor'] = true,
['contributor-first'] = true,
['contributor-first'] = true,
Line 137: Line 134:
['credits'] = true, -- cite episode, cite serial
['credits'] = true, -- cite episode, cite serial
['date'] = true,
['date'] = true,
['deadurl'] = false,
['deadurl'] = true,
['dead-url'] = false,
['dead-url'] = true,
['degree'] = true,
['degree'] = true,
['department'] = true,
['department'] = true,
Line 145: Line 142:
['displayauthors'] = true,
['displayauthors'] = true,
['display-authors'] = true,
['display-authors'] = true,
['display-contributors'] = true,
['displayeditors'] = true,
['displayeditors'] = true,
['display-editors'] = true,
['display-editors'] = true,
['display-interviewers'] = true,
['display-translators'] = true,
['docket'] = true,
['docket'] = true,
['doi'] = true,
['doi'] = true,
Line 205: Line 199:
['interviewermask'] = true,
['interviewermask'] = true,
['interviewer-mask'] = true,
['interviewer-mask'] = true,
['interviewers'] = true,
['isbn'] = true,
['isbn'] = true,
['ISBN'] = true,
['ISBN'] = true,
Line 229: Line 224:
['laysource'] = true,
['laysource'] = true,
['lay-source'] = true,
['lay-source'] = true,
['laysummary'] = false,
['laysummary'] = true,
['lay-summary'] = false,
['lay-summary'] = true,
['lay-format'] = true,
['lay-format'] = true,
['layurl'] = true,
['layurl'] = true,
Line 244: Line 239:
['mapurl'] = true, -- cite map only
['mapurl'] = true, -- cite map only
['map-url'] = true, -- cite map only
['map-url'] = true, -- cite map only
['map-url-access'] = true, -- cite map only
['medium'] = true,
['medium'] = true,
['message-id'] = true, -- cite newsgroup
['message-id'] = true, -- cite newsgroup
Line 293: Line 287:
['quote'] = true,
['quote'] = true,
['ref'] = true,
['ref'] = true,
['registration'] = false,
['registration'] = true,
['rfc'] = true,
['rfc'] = true,
['RFC'] = true,
['RFC'] = true,
['scale'] = true,
['scale'] = true,
['script-article'] = true,
['script-chapter'] = true,
['script-chapter'] = true,
['script-contribution'] = true,
['script-entry'] = true,
['script-journal'] = true,
['script-magazine'] = true,
['script-newspaper'] = true,
['script-periodical'] = true,
['script-section'] = true,
['script-title'] = true,
['script-title'] = true,
['script-website'] = true,
['script-work'] = true,
['season'] = true,
['season'] = true,
['section'] = true,
['section'] = true,
Line 332: Line 316:
['subjectlink'] = true,
['subjectlink'] = true,
['subject-link'] = true,
['subject-link'] = true,
['subscription'] = false,
['subscription'] = true,
['surname'] = true,
['surname'] = true,
['template-doc-demo'] = true,
['template-doc-demo'] = true,
Line 341: Line 325:
['titlelink'] = true,
['titlelink'] = true,
['title-link'] = true,
['title-link'] = true,
['trans-chapter'] = true,
['trans-map'] = true,
['trans-map'] = true,
['transcript'] = true,
['transcript'] = true,
Line 346: Line 331:
['transcripturl'] = true,
['transcripturl'] = true,
['transcript-url'] = true,
['transcript-url'] = true,
['trans-title'] = true,
['translator'] = true,
['translator'] = true,
['translator-first'] = true,
['translator-first'] = true,
Line 353: Line 339:
['translator-link'] = true,
['translator-link'] = true,
['translator-mask'] = true,
['translator-mask'] = true,
['trans-article'] = true,
['trans-chapter'] = true,
['trans-contribution'] = true,
['trans-entry'] = true,
['trans-journal'] = true,
['trans-magazine'] = true,
['trans-newspaper'] = true,
['trans-periodical'] = true,
['trans-section'] = true,
['trans-title'] = true,
['trans-website'] = true,
['trans-work'] = true,
['type'] = true,
['type'] = true,
['url'] = true,
['url'] = true,
['URL'] = true,
['URL'] = true,
['url-access'] = true,
['url-access'] = true,
['url-status'] = true,
['vauthors'] = true,
['vauthors'] = true,
['veditors'] = true,
['veditors'] = true,
Line 428: Line 401:
['first#'] = true,
['first#'] = true,
['given#'] = true,
['given#'] = true,
['host#'] = true,
['interviewer#'] = true,
['interviewer#'] = true,
['interviewer-first#'] = true,
['interviewer-first#'] = true,
Line 460: Line 432:
}
}


--[[--------------------------< C I T E  A R X I V  S U P P O R T E D  P A R A M E T E R S >----------------


--[[--------------------------< 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 uses the limited set of parameters defined in the limited_basic_arguments and limited_numbered_arguments
 
tables.  Those lists are supplemented with this list of parameters that are exclusive to cite arXiv but not supported
Cite arXiv, cite biorxiv, cite citeseerx, and cite ssrn are preprint templates that use the limited set of parameters
by other cs1 templates that use the limited parameter set.
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
proeprint templates.  Some of these parameters may also be available to the general cs1|2 templates.


Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values:
Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values:
Line 475: Line 445:
]]
]]


--[[--------------------------< C I T E  A R X I V >----------------------------------------------------------
--[[
 
This is a list of parameters that once were but now are no longer supported:
This is a list of parameters that once were but now are no longer supported:
['ARXIV'] = nil, -- not an initialization
['ARXIV'] = nil, -- not an initialization
Line 490: Line 459:




--[[--------------------------< C I T E  B I O R X I V >------------------------------------------------------
--[[--------------------------< C I T E  B I O R X I V   S U P P O R T E D  P A R A M E T E R S >------------
 
Cite biorxiv uses the limited set of parameters defined in the limited_basic_arguments and limited_numbered_arguments
tables.  Those lists are supplemented with this list of parameters that are exclusive to cite biorxiv but not supported
by other cs1 templates that use the limited parameter set.


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
nil - these parameters are no longer supported (when setting a parameter to nil, leave a comment stating the reasons for invalidating the parameter)
]]
]]


Line 499: Line 477:




--[[--------------------------< C I T E  C I T E S E E R X >--------------------------------------------------
--[[--------------------------< C I T E  C I T E S E E R X   S U P P O R T E D  P A R A M E T E R S >--------
 
Cite citeseerx uses the limited set of parameters defined in the limited_basic_arguments and limited_numbered_arguments
tables.  Those lists are supplemented with this list of parameters that are exclusive to cite citeseerx but not supported
by other cs1 templates that use the limited parameter set.


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
nil - these parameters are no longer supported (when setting a parameter to nil, leave a comment stating the reasons for invalidating the parameter)
]]
]]


local citeseerx_basic_arguments = {
local citeseerx_basic_arguments = {
['citeseerx'] = true,
['citeseerx'] = true,
}
--[[--------------------------< C I T E  S S R N >------------------------------------------------------------
]]
local ssrn_basic_arguments = {
['ssrn'] = true,
['SSRN'] = true,
}
}


Line 544: Line 521:
['date'] = true,
['date'] = true,
['df'] = true,
['df'] = true,
['displayauthors'] = true,
['display-authors'] = true,
['display-authors'] = true,
['first'] = true,
['first'] = true,
Line 574: Line 550:
['year'] = true,
['year'] = true,
}
}
local limited_numbered_arguments = {
local limited_numbered_arguments = {
['author#'] = true,
['author#'] = true,
Line 594: Line 569:
['surname#'] = true,
['surname#'] = true,
}
}
--[[--------------------------< E X P O R T E D  T A B L E S >------------------------------------------------
]]


return {
return {
Line 606: Line 577:
arxiv_basic_arguments = arxiv_basic_arguments,
arxiv_basic_arguments = arxiv_basic_arguments,
biorxiv_basic_arguments = biorxiv_basic_arguments,
biorxiv_basic_arguments = biorxiv_basic_arguments,
citeseerx_basic_arguments = citeseerx_basic_arguments,
citeseerx_basic_arguments = citeseerx_basic_arguments
ssrn_basic_arguments = ssrn_basic_arguments
};
};
Cookies help us deliver our services. By using our services, you agree to our use of cookies.