Open main menu

Changes

Help:CS1 errors

56 bytes removed, 02:38, 13 March 2020
m
Reverted edits by Rwwhitepstcc (talk) to last version by The Anome
<section begin=bad_pmc_help_text />{{help desk}}<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|pmc=</code> value</span>
The {{para|pmc}} parameter is the [[PubMed Central]] identifier. PMCs are sequential numbers beginning at 1 and counting up. [[Module:Citation/CS1]] checks the PMC identifier to make sure that the value is a number greater than zero and less than 6000000 8000000 and that the identifier contains only digits. Further validation is not performed.
To resolve this error, ensure that the {{para|pmc}} value is correct, and that there are no letters, punctuation, or other characters. Do not include "PMC" in the value.
<section begin=bad_pmid_help_text />{{help desk}}<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|pmid=</code> value</span>
The {{para|pmid}} parameter is the [[PubMed#PubMed identifier|PubMed identifier]]. PMIDs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value greater than or equal to 1 and less than or equal to 3000000033000000. Further validation is not performed.
To resolve this error, ensure that the {{para|pmid}} value is correct. If you find something that looks like a PMID and begins with "PMC", use {{para|pmc}} instead of {{para|pmid}}.
:<span class="error" style="font-size:100%">unknown language code</span> – the {{para|script-&lt;{{var|param}}>}} parameter has a (possibly valid) ISO 639-1 language code that cs1|2 does not recognize as a language using a non-Latin script
Known codes are:
{{#invoke:cs1_lang_listerCs1 documentation support|script_lister}}<!-- makes a language code: name list from the master list in [[Module:Citation/CS1/Configuration]] -->
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: script parameters | Category:CS1 errors: script parameters | [[:Category:CS1 errors: script parameters]]}}.<ref group="lower-alpha" name="categories" /><section end=script_parameter_help_text />
*<span class="error">Unknown parameter <code style="color:inherit; border:inherit; padding:inherit;">|xxxx=</code> ignored (<code style="color:inherit; border:inherit; padding:inherit;">|yyyy=</code> suggested)</span></div>
{{cs1}} and {{cs2}} templates report this error when the name portion of a parameter's {{para|name|value}} pair is not recognized as a valid name. Typically, this is caused by spelling or capitalization errorsor when a page is reverted to a version where the citation template did support the parameter.
With the old-style citation templates, it was possible to include information within the template that was simply ignored as unrecognized parameters. The Lua-based CS1|2 engine does not ignore unrecognized parameters. The purpose of the citation is to properly identify the source; not act as a repository of notes and ancillary information.
CS1|2 template parameters are lower case. CS1|2 will report this error when the parameter's name contains uppercase letters ({{!xt|Xxxx, xxXx, XXXX}}) but the parameter's name is defined as lowercase ({{xt|xxxx}}). The identifier parameters, like {{para|isbn}}, {{para|pmc}}, {{para|doi}}, etc., can be either lower case or upper case, but not of mixed case ({{xt|{{para|isbn}}}} or {{xt|{{para|ISBN}}}} but not {{!xt|{{para|Isbn}}}}). For [[Module:Citation/CS1/Suggestions|common parameter misspellings]], like {{para|pubisher}} instead of {{para|publisher}}, CS1|2 will suggest a valid parameter name.