Module:Citation/CS1/Configuration/doc: Difference between revisions

From All Skies Encyclopaedia
imported>GoingBatty
(updated number)
imported>Trappist the monk
m (Copyedit;)
Line 2: Line 2:
This configuration file contains various data that controls the functioning of [[Module:Citation/CS1]] and hence the way that Lua-based citations are generated.
This configuration file contains various data that controls the functioning of [[Module:Citation/CS1]] and hence the way that Lua-based citations are generated.


It has several sections among which are:
It is divided into three sections:
# A translation table that contains most of the literal strings that may be included in Lua-based citation. If editors are copying this Module to another wiki using a language other than English, then they should translate each of these values into that language.
# translation tables that contain most of the literal strings that may be included in Lua-based citation. If editors are copying this Module to another wiki using a language other than English, then they should translate each of these values into that language.
# A list of error conditions specifying what text to display, what category to include (if any), and what help page section to refer to.
# a list of error conditions specifying what text to display, what category to include (if any), and what help page section to refer to when errors are detected
# A list of ID handlers specifying the recognized document IDs, such as ISBN, DOI, etc., and how to format them.
# a list of ID handlers specifying the recognized document IDs, such as ISBN, DOI, etc., and how to format them.

{{#lst:Module:Citation/CS1/doc|module_components_table}}

Revision as of 16:36, 6 September 2015

This configuration file contains various data that controls the functioning of Module:Citation/CS1 and hence the way that Lua-based citations are generated.

It has several sections among which are:

  1. translation tables that contain most of the literal strings that may be included in Lua-based citation. If editors are copying this Module to another wiki using a language other than English, then they should translate each of these values into that language.
  2. a list of error conditions specifying what text to display, what category to include (if any), and what help page section to refer to when errors are detected
  3. a list of ID handlers specifying the recognized document IDs, such as ISBN, DOI, etc., and how to format them.

{{#lst:Module:Citation/CS1/doc|module_components_table}}