Module:Citation/CS1/doc
Ceci est la page de documentation pour Module:Citation/CS1
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
| Fichier:Edit-copy green.svg | This is a documentation subpage for Module:Citation/CS1{{#if:||.}} It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Module |Utilisateur |module template page |{{#if:Module |module page|article}}}}}}}}. |
}}{{#if: |
| {{#ifexist:Module:Citation/CS1
| [[Category:{{#switch:Module |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
<section begin=header />{{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}|| {{#switch:Module:Citation/CS1/doc
|Module:Citation/CS1/Suggestions=
| Warning | This Lua module is used on approximately 5 870 000 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. |
|#default=
| Warning | This Lua module is used on approximately 5 870 000 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. |
}} {{#ifeq:doc|doc|{{#if:|Modèle:Pp}}|{{#switch:
{{#if:
|
| {{#ifeq:Module|Module
| module
| other
}}
}}
| module =
{{#switch: p
| pre-alpha | prealpha | pa = Pre-alpha | alpha | a = Alpha | beta | b = Beta | release | r | general | g = Ready for use | protected | protect | p = [[File:{{#switch:Erreur Lua dans Module:Effective_protection_level à la ligne 14 : attempt to index local 'title' (a nil value).|autoconfirmed=Semi|extendedconfirmed=Extended|accountcreator|templateeditor=Template|#default=Full}}-protection-shackle.svg|40x40px|link=|alt=Protected]] | semiprotected | semiprotect | semi =Semi-protected}} | {{#switch: p
| pre-alpha | prealpha | pa = This module is rated as pre-alpha. It is unfinished, and may or may not be in active development. It should not be used from article namespace pages. Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure. | alpha | a = This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. | beta | b = This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. | release | r | general | g = This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. | protected | protect | p = This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. | semiprotected | semiprotect | semi = This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is semi-protected from editing. | #default = Modèle:Error}} |
{{#ifeq: Citation | Sandbox
|
| {{#switch: doc
| doc | sandbox =
| {{#ifeq: | true
|
| {{#switch: p
| pre-alpha | prealpha | pa =
| alpha | a =
| beta | b =
| release | r | general | g =
| protected | protect | p =
| semiprotected | semiprotect | semi =
}}
}}
}}
}}
| other | #default = Modèle:Error }}}} {{#ifeq:Module:Citation/CS1/doc|Module:Citation/CS1|Erreur Lua dans Module:TNT à la ligne 159 : Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.}}}}<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 | diff | description | ||
|---|---|---|---|---|---|
| Gold padlock | Module:Citation/CS1 | Module:Citation/CS1/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [1]
}} ||diff|| Rendering and support functions |
| Module:Citation/CS1/Configuration | Module:Citation/CS1/Configuration/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [2]
}} ||diff|| Translation tables; error and identifier handlers | |
| Module:Citation/CS1/Whitelist | Module:Citation/CS1/Whitelist/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [3]
}} ||diff|| List of active and deprecated CS1|2 parameters | |
| Module:Citation/CS1/Date validation | Module:Citation/CS1/Date validation/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [4]
}} ||diff || Date format validation functions | |
| Module:Citation/CS1/Identifiers | Module:Citation/CS1/Identifiers/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [5]
}} ||diff|| Functions that support the named identifiers (ISBN, DOI, PMID, etc.) | |
| Module:Citation/CS1/Utilities | Module:Citation/CS1/Utilities/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [6]
}} ||diff|| Common functions and tables | |
| Module:Citation/CS1/COinS | Module:Citation/CS1/COinS/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [7]
}} ||diff|| 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] | |
| Silver padlock | Module:Citation/CS1/Suggestions | Module:Citation/CS1/Suggestions/sandbox | {{SAFESUBST:#if:[edit] | [edit] | [9]
}} ||diff|| 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
- Module:Citation/CS1/testcases/anchor (run) – CITEREF anchors