Jump to content
Wikipedia The Free Encyclopedia

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

From Wikipedia, the free encyclopedia
Content deleted Content added
(13 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{#lst:Module:Citation/CS1/doc|header}}
{{high-risk|2,055,000}}
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}}

<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>

Latest revision as of 20:41, 29 August 2024

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.


These files comprise the module support for CS1|2 citation templates:

CS1 | CS2 modules
live sandbox diff description
Gold padlock Module:Citation/CS1 Module:Citation/CS1/sandbox [edit] diff Rendering and support functions
Module:Citation/CS1/Configuration Module:Citation/CS1/Configuration/sandbox [edit] diff Translation tables; error and identifier handlers
Module:Citation/CS1/Whitelist Module:Citation/CS1/Whitelist/sandbox [edit] diff List of active and deprecated CS1|2 parameters
Module:Citation/CS1/Date validation Module:Citation/CS1/Date validation/sandbox [edit] diff Date format validation functions
Module:Citation/CS1/Identifiers Module:Citation/CS1/Identifiers/sandbox [edit] diff Functions that support the named identifiers (ISBN, DOI, PMID, etc.)
Module:Citation/CS1/Utilities Module:Citation/CS1/Utilities/sandbox [edit] diff Common functions and tables
Module:Citation/CS1/COinS Module:Citation/CS1/COinS/sandbox [edit] diff Functions that render a CS1|2 template's metadata
Module:Citation/CS1/styles.css Module:Citation/CS1/sandbox/styles.css [edit] diff CSS styles applied to the CS1|2 templates
Silver padlock Module:Citation/CS1/Suggestions Module:Citation/CS1/Suggestions/sandbox [edit] diff List that maps common erroneous parameter names to valid parameter names

AltStyle によって変換されたページ (->オリジナル) /