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

From All Skies Encyclopaedia
imported>পলাশজ্যোতি বৰা
No edit summary
No edit summary
Line 1: Line 1:
local name = lang_obj:formatDate('F', '2022-' .. i .. '-1'); -- get long month name for each i
{{#lst:Module:Citation/CS1/doc|header}}
long_t[name] = i; -- save it
This configuration file contains various data that controls the functioning of [[Module:Citation/CS1]] and hence the way that Lua-based citations are generated.
name = lang_obj:formatDate('M', '2022-' .. i .. '-1'); -- get short month name for each i

short_t[name] = i;
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}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Modules that check for strip markers]]
}}</includeonly>

Revision as of 09:56, 23 April 2023

local name = lang_obj:formatDate('F', '2022-' .. i .. '-1'); -- get long month name for each i long_t[name] = i; -- save it name = lang_obj:formatDate('M', '2022-' .. i .. '-1'); -- get short month name for each i short_t[name] = i;