Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Help:Cite errors/Cite error references no key

Page semi-protected
From Wikipedia, the free encyclopedia
<Help:Cite errors

This help page is ahow-to guide.
It explains concepts or processes used by the Wikipedia community. It is not one ofWikipedia's policies or guidelines, and may reflect varying levels ofconsensus.

This page will help you to fix thecite error message:

Cite error: Alist-defined reference has no name (see thehelp page).

  • If you have read this help page and find something missing or confusing, please discuss it at themain 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, seeReferencing for beginners; for advanced help, seeFootnotes.

Overview

Further information:Help:Footnotes

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

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

To invoke a named footnote:

<ref name="foo" />

References may also be defined within the reference list:

{{reflist|refs=<ref name=refname1>refcontent1</ref><ref name=refname2>refcontent2</ref><ref name=refname3>refcontent3</ref><ref name=refname4>refcontent4</ref>}}

List-defined references may be invoked by the standard markup or by use of{{r}}.

An explanatory note may include a reference by using #tag:ref:

{{#tag:ref|refcontent|name=name|group=groupname}}

Wherecontent may include<ref>...</ref> tags

Issues and resolution

A list-defined reference has an invalid name. Ensure the footnote name is formatted properly.

More than one use of{{refn}} or #tag:ref within list defined references. You can only use{{refn}} or #tag:ref once as a list-defined reference.

Examples

The content of this message is dependent on the language setting inSpecial:Preferences. You can test how the error messages look in the most popular languages with these links:

In the example below, a reference with the nameexcepteur is not named in the References list, since that reference is malformed. This causes a secondary error because the undefined reference is invoked in the References list:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref name=ipsum/> Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<ref name=minim/> Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.<ref name=duis/> Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<ref name=excepteur/> Curabitur pretium tincidunt lacus.==References=={{reflist|refs=<ref name=duis>duis</ref><ref name=>excepteur</ref><ref name=ipsum>ipsum</ref><ref name=minim>minim</ref>}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[1] Ut enim ad minim veniam, quis nostrud exercitation ullamco laborious nisi ut aliquip ex ea commodo consequat.[2] Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.[3] Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[4] Curabitur pretium tincidunt lacus.

References
  1. ^ipsum
  2. ^minim
  3. ^duis
  4. ^Cite error: The named referenceexcepteur was invoked but never defined (see thehelp page).

Cite error: Alist-defined reference has no name (see thehelp page).

Nested references defined with #tag:ref are used more than once in the reference list:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref name=ipsum/> Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<ref name=minim/> Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.<ref name=duis group=nb/> Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<ref name=excepteur group=nb/> Curabitur pretium tincidunt lacus.==Notes=={{reflist|group=nb|refs={{refn|duis<ref>Reference 1</ref>|name=duis|group=nb}}{{refn|excepteur<ref>Reference 2</ref>|name=excepteur|group=nb}}}}==References=={{reflist|refs=<ref name=ipsum>ipsum</ref><ref name=minim>minim</ref>}}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[1] Ut enim ad minim veniam, quis nostrud exercitation ullamco laborious nisi ut aliquip ex ea commodo consequat.[2] Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.[nb 1] Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[nb 2] Curabitur pretium tincidunt lacus.

Notes
  1. ^abduis[3]
  2. ^excepteur[4]

Cite error: Alist-defined reference has no name (see thehelp page).

References
  1. ^ipsum
  2. ^minim
  3. ^Reference 1

Technical

Pages with this error message are placed intoPages with incorrect ref formatting. The system message page is atCite error references no key.

Bugs

Tracked inPhabricator
Task T22707
  • T22707 Nested refs fail inside references block
Policies and guidelines
General advice
Citing sources
Inline citations
Help for beginners
Advanced help
Footnote templates
Find references
Citation tools
(External links)
Retrieved from "https://en.wikipedia.org/w/index.php?title=Help:Cite_errors/Cite_error_references_no_key&oldid=1055275760"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp