Module:Citation/CS1/doc
This is the documentation page for Module:Citation/CS1
<section begin=header /> {{safesubst:#if:{{safesubst:#ifeq:doc|sandbox|1}}{{safesubst:#ifeq:doc|doc|1}}|| {{#switch:Module:Citation/CS1/doc
|Module:Citation/CS1=
| Warning | This Lua module is used on approximately 6,500,000 pages, or roughly 468300% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. |Module:Citation/CS1/Configuration=
| Warning | This Lua module is used on approximately 6,500,000 pages, or roughly 468300% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
|Module:Citation/CS1/Whitelist=
| Warning | This Lua module is used on approximately 6,500,000 pages, or roughly 468300% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
|Module:Citation/CS1/Date validation=
| Warning | This Lua module is used on approximately 6,500,000 pages, or roughly 468300% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
|Module:Citation/CS1/Identifiers=
| Warning | This Lua module is used on approximately 6,500,000 pages, or roughly 468300% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
|Module:Citation/CS1/Utilities=
| Warning | This Lua module is used on approximately 6,500,000 pages, or roughly 468300% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
|Module:Citation/CS1/COinS=
| Warning | This Lua module is used on approximately 6,500,000 pages, or roughly 468300% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
|Module:Citation/CS1/Suggestions=
| Warning | This Lua module is used on approximately 6,500,000 pages, or roughly 468300% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
}} {{#if:p|{{#switch:m |m
|t =
{{#switch: p
| pre-alpha | prealpha | pa | experimental = File:Ambox warning blue construction.svg | alpha | a = File:Greek lc alpha icon.svg | beta | b = File:Greek lc beta icon.svg | release | r | general | g | stable | protected | protect | p | semiprotected | semiprotect | semi = File:Green check.svg | broken | br | unstable = File:Red x.svg | deprecated | d | defunct = File:Historical.svg}} | {{#switch: p
| pre-alpha | prealpha | pa | experimental = This module is rated as pre-alpha. It is incomplete and may or may not be in active development. Do not use it in article namespace pages. A module remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete. | alpha | a = This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. | beta | b = This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. | release | r | general | g | stable | protected | protect | p | semiprotected | semiprotect | semi = This module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing. | broken | br | unstable = This module is rated as unstable. It has missing dependencies, compatibility issues, or output errors that make it unusable. Editors are encouraged to improve its compatibility or nominate it for deletion if it cannot be fixed. | deprecated | d | defunct = This module is rated as deprecated and defunct.{{#if:|{{#iferror:{{#expr:1}} |{{#switch:{{{1}}} |fig= |en= |em= |thin= |hair= | }} |{{#switch:{{{2}}} |fig= |en= |em= |thin= |hair= | }} }}It is recommended editors use [[{{{replaced}}}]].}}{{#if:|{{#iferror:{{#expr:1}} |{{#switch:{{{1}}}
|fig=
|en=
|em=
|thin=
|hair=
|
}}
|{{#switch:{{{2}}}
|fig=
|en=
|em=
|thin=
|hair=
|
}}
}}{{{message}}}}} | #default = Page using Template:Template rating with invalid template or module rating in
}} |
{{#if:||
{{#switch: doc
| doc | sandbox =
| {{#ifeq: | true
|
| {{#switch: p
| pre-alpha | prealpha | pa | experimental =
| alpha | a =
| beta | b =
| release | r | general | g | stable | protected | p | semiprotected | semiprotect | semi =
| deprecated | d | defunct =
| broken | br | unstable =
}}
}}
}}
}} | #default = }}|}}{{#switch:m |t|m = {{#if:
|
|{{#switch:Lua error in Module:Effective_protection_level at line 64: attempt to index field 'ext' (a nil value).
|*|user =
|#default = {{#ifeq:doc|doc
|Lua error in Module:Effective_protection_level at line 64: attempt to index field 'ext' (a nil value).
-->|Lua error in Module:Effective_protection_level at line 64: attempt to index field 'ext' (a nil value).}}}}}}
|#default = }}}} <section end=header />
This module and associated sub-modules support the Citation Style 1 and Citation Style 2 citation templates. In general, it is not intended to be called directly, but is called by one of the core CS1 and CS2 templates. <section begin=module_components_table /> These files comprise the module support for CS1|2 citation templates:
| live | sandbox | description | |||
|---|---|---|---|---|---|
| Gold padlock | Module:Citation/CS1 | Module:Citation/CS1/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [1]
}} || Rendering and support functions |
| Module:Citation/CS1/Configuration | Module:Citation/CS1/Configuration/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [2]
}} || Translation tables; error and identifier handlers | |
| Module:Citation/CS1/Whitelist | Module:Citation/CS1/Whitelist/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [3]
}} || List of active and deprecated CS1|2 parameters | |
| Module:Citation/CS1/Date validation | Module:Citation/CS1/Date validation/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [4]
}} || Date format validation functions | |
| Module:Citation/CS1/Identifiers | Module:Citation/CS1/Identifiers/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [5]
}} || Functions that support the named identifiers (ISBN, DOI, PMID, etc.) | |
| Module:Citation/CS1/Utilities | Module:Citation/CS1/Utilities/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [6]
}} || Common functions and tables | |
| Module:Citation/CS1/COinS | Module:Citation/CS1/COinS/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [7]
}} || Functions that render a CS1|2 template's metadata | |
| Module:Citation/CS1/styles.css | Module:Citation/CS1/sandbox/styles.css | {{SAFESUBST:#if:[edit] | [edit] | [8]
}} || CSS styles applied to the CS1|2 templates | |
| Silver padlock | Module:Citation/CS1/Suggestions | Module:Citation/CS1/Suggestions/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [9]
}} || List that maps common erroneous parameter names to valid parameter names |
<section end=module_components_table />
Other documentation:
- Module talk:Citation/CS1/Feature requests
- Module talk:Citation/CS1/COinS
- Module:Cs1 documentation support – a set of functions (some experimental) that extract information from the module suite for the purpose of documenting CS1|2
- Module:Citation/CS1/doc/Category list – lists of category names taken directly from Module:Citation/CS1/Configuration and Module:Citation/CS1/Configuration/sandbox
testcases
- Module:Citation/CS1/testcases (run)
- Module:Citation/CS1/testcases/errors (run) – error and maintenance messaging
- Module:Citation/CS1/testcases/dates (run) – date validation
- Module:Citation/CS1/testcases/identifiers (run) – identifiers