Module:Citation/CS1/Configuration/doc: Difference between revisions
From All Skies Encyclopaedia
No edit summary |
imported>Materialscientist m (Reverted edits by 72.190.246.114 (talk) (HG) (3.4.12)) |
||
Line 1: | Line 1: | ||
{{#lst:Module:Citation/CS1/doc|header}} |
|||
local name = lang_obj:formatDate('F', '2022-' .. i .. '-1'); -- get long month name for each i |
|||
This configuration file contains various data that controls the functioning of [[Module:Citation/CS1]] and hence the way that Lua-based citations are generated. |
|||
long_t[name] = i; -- save it |
|||
name = lang_obj:formatDate('M', '2022-' .. i .. '-1'); -- get short month name for each i |
|||
It has several sections among which are: |
|||
short_t[name] = i; |
|||
# 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 when errors are detected |
|||
# 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}} |
|||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
|||
<!-- Categories below this line, please; interwikis at Wikidata --> |
|||
[[Category:Modules that check for strip markers]] |
|||
}}</includeonly> |
Revision as of 09:57, 23 April 2023
{{#lst:Module:Citation/CS1/doc|header}} 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:
- 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 when errors are detected
- 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}}