Module:Citation/CS1/Whitelist explained

--

local basic_arguments_t =

local numbered_arguments_t =

--2templates.

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

local preprint_arguments_t =

--2 templates. The limited subset is definedhere.

This list of parameters also used by

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

local limited_basic_arguments_t =

local limited_numbered_arguments_t =

----------------------------< 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 thistable are the template's CitationClass parameter value

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

local unique_arguments_t =

----------------------------< C I T E _ D O C U M E N T >----------------------------------------------------

Special case for cite document. This template takes the limited basic and limited enumerated parameters plusothers that are apply only to standalone published sources that cannot be cited any other way; no url, book,periodical, etc parameters; limited support for name lists and named identifiers.

when validating parameters in templates, the basic and

local document_arguments_t =

local document_numbered_arguments_t =

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

makes one table from a list of tables. 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 for k, v in pairs (list_t) do -- extract each k/v pair out_t[k] = v; -- add to end end return out_t; -- and doneend

----------------------------< 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 doneend

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

return ;