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

Content deleted Content added
No edit summary
Tags: Reverted Mobile edit Mobile web edit
 
(One intermediate revision by one other user not shown)
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>
<noinclude>
[[Category:Module documentation pages]]
</noinclude>