Jump to content

ප්‍රවර්ගය:CS1 errors: missing name

විකිපීඩියා වෙතින්

This is a tracking category for CS1 citations that have name-list errors. The name lists are associated with the |author=, |contributor=, |editor=, |interviewer=, |translator= parameters and their aliases.

|<first>n= missing |<last>n=

Citation Style 1 and Citation Style 2 templates requires a |<last>n= parameter for each |<first>n= parameter in a citation. Author, contributor, editor, interviewer, and translator lists are checked for proper last/first pairing. CS1|2 will emit this error message for the first mismatch it detects. If there are more last/first mismatches in a citation, subsequent mismatches are not detected.

There is no requirement that each |<last>n= have a matching |<first>n=.

To resolve this error, ensure that each |<first>n= has a corresponding |<last>n=.

Pages with this error are automatically placed in Category:CS1 errors: missing name (28 pages).[a]

Missing |<name>n=

So that all names are listed in a rendered citation, Citation Style 1 and Citation Style 2 templates require n in |<last>n= (and its aliases) to increment by 1 for each name in the list (author, contributor, editor, interviewer, translator). This error message is emitted when there is a 'hole' in the numbering (an author list made up of |author1= and |author3= but without |author2= for example).

The test will not detect a 'hole' that is larger than 1. It is presumed that when |authorn= and |authorn+1= are both not present, then the test has reached the end of the list.

To resolve this error, ensure that the numbering of the |<last>n= parameters increments properly.

Pages with this error are automatically placed in Category:CS1 errors: missing name (28 pages).[a]


  1. ^ a b Pages in the Book talk, Category talk, Draft talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, User, User talk, and Wikipedia talk namespaces are not included in the tracking categories. In addition, pages with names matching the patterns '/[Ss]andbox', '/[Tt]estcases', '/[^/]*[Ll]og', and '/[Aa]rchive' are not included in the tracking categories.

"CS1 errors: missing name" ප්‍රවර්ගයට අයත් පිටු

මෙම ප්‍රවර්ගය සතු සමස්ත පිටු 28 අතර, පහත දැක්වෙන පිටු 28 ද වෙති.

"https://si.wikipedia.org/w/index.php?title=ප්‍රවර්ගය:CS1_errors:_missing_name&oldid=519784" වෙතින් සම්ප්‍රවේශනය කෙරිණි