Help:Cite errors/Cite error ref numeric key

From Wikipedia, the free encyclopedia
Jump to: navigation, search

This page will help you to fix the error message:

The <ref> tag name cannot be a simple integer (see the help page).

  • If you need help with a particular problem, please discuss it on the article talk page or at the Help desk.
  • If you have read this help page and find something missing or confusing, please discuss it at the main talk page.
  • Please reference this page and the page where you have the problem so we can understand your issues.
  • For basic information on the footnotes system, see Referencing for beginners; for advanced help, see Footnotes.

Overview[edit]

A footnote used multiple times may be defined with a name:

<ref name="foo">content</ref>

Issues and resolution[edit]

The name of the reference may not be an integer. Rename the reference to contain at least one letter. It is a good practice to give references meaningful names. Ensure that when changing the name you update all the tags that refer to that reference.

Examples[edit]

Reference 1 is improperly named as 1:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref name="1">Reference 1</ref> Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<ref>Reference 2</ref> Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<ref>Reference 3</ref> Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida.

==References==
{{reflist}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Cite error: The <ref> tag name cannot be a simple integer (see the help page). Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.[1] Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[2] Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida.

References[edit]

  1. ^ Reference 2
  2. ^ Reference 3

Technical[edit]

Pages with this error message are placed into Pages with incorrect ref formatting. The system message page is at Cite error ref numeric key.