Template:Refn/doc

Purpose
This template allows nested references where a reference is included inside a reference. This is mainly useful where content that would normally be in  tags is used as an explanatory note and requires a cite using . See Wikipedia:WP:REFNOTE for further information on explanatory notes.

This template uses the magic word  to allow the  parser to pass wikimarkup.

Usage

 * name: Reference name per Wikipedia:WP:REFNAME
 * groupname: Groupname per Wikipedia:WP:REFGROUP; if not specified, then the main and nested references will be rendered into the same reference list

Example
{{markup Another example.{{refn|group=note|Another note. }} A third example fred.{{refn|group=note|The third note. }} Repeating the first example.{{refn|group=note|name=first}}
 * An example.{{refn|group=note|name=first|A note. }}

Errors
If the reference or note content is missing, then "Cite error: Invalid tag; refs with no name must have content." will be displayed.

List defined references
Currently, this template may not be used more than once within list-defined references. Doing so will result in Cite errors; see.