Template:Refn
From A Wiki of Ice and Fire
Purpose
This template is used to create footnotes as an alternative and complement to the Template:Tag tag. Because of a technical limitation, some of the standard markup elements that are often used in the article prose do not work within a set of Template:Tag tags, including but not limited to the pipe trick, template substitution, and another "nested" set of Template:Tag tags. For example, the following does not work as expected:
- Template:Tag (Generates: [[Help:Footnotes|]] instead of a wikilink)
- Template:Tag (Generates: {{SUBST:TODAY}} instead of the date that the edit was made)
- Template:Tag (Generates: Cite error: A <ref> tag is missing the closing </ref> (see the help page). </ref>)
Replacing the outermost Template:Tag set with Template:Tlp allows for the use of the markup elements listed above.
Usage
- groupname: If not specified, then the main and nested references will be rendered into the same reference list
- name: Reference name
Errors
If the reference or note content is missing, a Cite error will be generated.
Currently, this template may not be used more than once within list-defined references. Doing so will result in Cite errors.