Help:Cite errors/Cite error references group mismatch
![]() | This help page is a how-to guide. It explains concepts or processes used by the Wikipedia community. It is not one of Wikipedia's policies or guidelines, and may reflect varying levels of consensus. |
This page will help you to fix the cite error message:
<ref>
tag in <references>
has conflicting group attribute "$1".
- 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
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=rename1>refcontent1</ref> <ref name=rename2>refcontent2</ref> }}
List-defined reference may be within groups:
{{reflist|refs= <ref name=rename1>refcontent1</ref> <ref name=rename2 groupname=groupname>refcontent2</ref> }}
List-defined references may be invoked by the standard markup or by use of {{r}}.
Note: It is possible to get this error message when nesting footnotes in list-defined references, unfortunately the only fix in this situation is to not use list-defined references for entries that are nested.
Issues and resolution
- A list-defined reference uses a group name that is not used within any
<ref>...</ref>
tags. - An explanatory note template such as {{efn}} is used inside
<ref>...</ref>
tags; use {{refn}} instead of<ref>...</ref>
tags. - Footnotes are nested inside list-defined references. This is a known bug, for now just do not use list-defined references.
Examples
Help:Cite errors/lang The reference list has a defined reference with a group named note, but there is no reference in the content with that group and name.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref name=aliqua/> Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ==References== {{reflist|refs= <ref name=ipsum group=note>ipsum</ref> <ref name=aliqua>aliqua</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 laboris nisi ut aliquip ex ea commodo consequat.
- ^ aliqua
<ref>
tag in <references>
has conflicting group attribute "note".{{efn}} is nested inside <ref>...</ref>
:
<ref>Reference{{efn|x}}</ref> == Notes== {{notelist}} == References == {{reflist}}
- ^ Reference
<ref>
tag in <references>
has conflicting group attribute "lower-alpha".