Hilfe:Cite errors/Cite error group refs without references
Vorlage:Pp-semi-indefVorlage:Pp-move-indef Vorlage:Wikipedia how-to Hilfe:Cite errors/header
Overview
Vorlage:See When grouped references are defined, then the page must also have markup to show the reference list. The reference list is shown by including either of the following:
{{Reflist|group=groupname}}
- or
- {{notelist}} or one of the variants listed below.
Issues and resolution
The most obvious and simplest issue is when the reference list markup is missing. Simply add {{reflist|group=groupname}} to the end of the article under the section title "References", usually between "See also" and "External links". The $1 in the message shown above will be replaced with the groupname.
There are predefined group names that use templates for the in-text citation and for the reference list. If one of these group names is used, then the matching reference list template can be used.
| Group type | Footnote marker template or markup |
Reference list template |
Sample labels | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| none by default, but optionally any | {{#switch:pair
|
close = | empty|s|single|v|void | open | pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}}
}}{{#switch:pair
|
close = | empty|s|single|v|void = /> | open = > | pair = {{#ifeq:ref|!-- | >}}...
}}{{#switch:pair
|
empty|s|single|v|void | open = | close | pair = {{#ifeq:ref|!--|-->|</ref>}}
}} |
{{reflist}}
|
1 2 3 4 5 6 7 8 9 10 |
{{r}} (for nested references)
| ||||||||||||||||
{{refn}} (for nested references)
| ||||||||||||||||
| lower-alpha | {{efn}}{{efn-la}} |
{{notelist}}{{notelist-la}} |
a b c d e f g h i j | |||||||||||||
| upper-alpha | {{efn-ua}} |
{{notelist-ua}} |
A B C D E F G H I J | |||||||||||||
| lower-roman | {{efn-lr}} |
{{notelist-lr}} |
i ii iii iv v vi vii viii ix x | |||||||||||||
| upper-roman | {{efn-ur}} |
{{notelist-ur}} |
I II III IV V VI VII VIII IX X | |||||||||||||
| lower-greek | {{efn-lg}} |
{{notelist-lg}} |
α β γ δ ε ζ η θ ι κ | |||||||||||||
| note | {{NoteTag}} |
{{NoteFoot}} |
note 1 note 2 note 3 |
Sometimes the reference list markup exists, but the message is shown because the {{#switch:o
|c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}} }}{{#switch:o |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:ref|!--||>}}... }}{{#switch:o |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:ref|!--|-->|</ref>}} }}tag immediately before the reference list markup does not have a closing{{#switch:c |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}} }}{{#switch:c |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:ref|!--||>}}... }}{{#switch:c |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:ref|!--|-->|</ref>}} }}or it is malformed, thus "eating" the rest of the text including the reference list. Find the last{{#switch:o |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}} }}{{#switch:o |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:ref|!--||>}}... }}{{#switch:o |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:ref|!--|-->|</ref>}} }}tag and ensure it is properly closed with{{#switch:c |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}} }}{{#switch:c |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:ref|!--||>}}... }}{{#switch:c |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:ref|!--|-->|</ref>}} }}.
This message may also show if there are {{#switch:pair
|c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:ref|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:ref|!--|-->|</ref>}} }}tags after the reference list markup. Ensure all{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:ref|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:ref|!--|-->|</ref>}} }}tags are properly placed. A template such as a navbox may have{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:ref|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:ref|!--|-->|</ref>}} }}tags.
Examples
Hilfe:Cite errors/lang {{#ifeq:Hilfe||Vorlage:FormattingError|In the following example, the list of references in the group note is missing:}} Vorlage:Pre
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[note 1] Ut enim ad minim veniam, quis nostrud exercitation ullamco Vorlage:Not a typo nisi ut aliquip ex ea commodo consequat.
Technical
Bugs
- Misleading error message for omitted
{{#switch:close
|c|close =
|e|empty|s|single|v|void
|o|open
|p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}}
}}{{#switch:close
|c|close =
|e|empty|s|single|v|void = />
|o|open = >
|p|pair = {{#ifeq:ref|!--||>}}...
}}{{#switch:close
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:ref|!--|-->|</ref>}}
}} tag Vorlage:Phab
Referenzfehler: Es sind <ref>-Tags für die Gruppe „note“ vorhanden, jedoch wurde kein dazugehöriges <references group="note" />-Tag gefunden.