Template:Refn/doc

Purpose
This template is used to create footnotes, as an alternative and complement to the tag. Because of a technical limitation, some of the standard wiki markup elements that are often used in the article prose do not work within a set of  tags, including but not limited to the pipe trick, template substitution and another "nested" set of  tags. For example, the following does not work as expected:
 * 1) Help:Footnotes Generates: Help:Footnotes instead of a wikilink.
 * 2)  Generates:  instead of the date that the edit was made.

Replacing the outermost  set with allows for the use of the markup elements listed above.

Usage

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

Examples
See examples on Wikipedia

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 bug 20707.