Module:Footnotes/whitelist explained

--

local wrapper_template_defaults =

--volume= to specify default name (often editor names) and year. Wrapper templatesare indexed by their canonical names – spelling and capitalization is important. Each wrapper template has a tableof values for every volume. Volumes may be indexed by Arabic or Roman numerals. Each volume index has a table oftwp values" [1] is the wrapper's default name-list as it is used in an anchor ID; [2] is the default year. Eachwrapper template in this table must have a ['default'] key for those occasions when |volume= is omitted or empty.This table is indexed indirectly through the wrapper_templates table.

This table is not available externally.

local wrapper_template_defaults_vol =

----------------------------< W R A P P E R _ T E M P L A T E S >--------------------------------------------

A list of wrapper templates and their redirects – spelling and capitalization is important; first character isalways uppercase. Each wrapper template gets its value from a k/v pair in the wrapper_template_defaults table.

article reader queries this table to see if template_name is a wrapper template

local wrapper_templates =

----------------------------< T E M P L A T E _ N A M E S >--------------------------------------------------

This table holds the names of templates and the names of their redirects. Template names must be written exactlyas they are named at their templatespace page. This same also applies to redirects.

The indexes in this table are not critical but should be short and concise.

local template_names =

----------------------------< S P E C I A L _ P A T T E R N S >----------------------------------------------

Lua patterns. These are scanned sequentially which costs time and processing far and above the time and processingneeded to index into whitelist. Do not create a pattern here if a normal whitelist entry or entries can be created.

local special_patterns =

--

local DNB_special_patterns =

--

local whitelist =

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

return