On Fanlore, users with accounts can edit pages including user pages, can create pages, and more. Any information you publish on a page or an edit summary will be accessible by the public and to Fanlore personnel. Because Fanlore is a wiki, information published on Fanlore will be publicly available forever, even if edited later. Be mindful when sharing personal information, including your religious or political views, health, racial background, country of origin, sexual identity and/or personal relationships. To learn more, check out our Terms of Service and Privacy Policy. Select "dismiss" to agree to these terms.

Template:Refn/doc

From Fanlore
Jump to navigation Jump to search

Purpose

This template can be used to create nested footnotes. It is useful if you want to add a citation to a footnote or reference.

Note that if you simply try to nest two or more ref tags (as in <ref group=note>some quotation in footnote<ref>citation for that quotation</ref></ref>), they won't work as expected. Hence the need of this template (as in {{refn|group=note|some quotation in footnote<ref>citation for that quotation</ref>}}).

Usage

To embed this template on a page copy and paste the code below, replacing the placeholder text (footnote text, another footnote) with your footnotes:

{{refn|footnote text<ref>another footnote</ref>}} 

To use this template to cite a reference for a note, copy and paste the code below, replacing the placeholder text (A note, n included reference):

{{refn|group=note|A note<ref>An included reference</ref>}} 

Please ensure the relevant references code is included at the bottom of the wiki page to ensure this template works correctly.

Examples

Here is an example of code using this template:

An example.{{refn|group=note|name=first|A note.<ref>An included reference.</ref>}}

Another example.{{refn|group=note|Another note.<ref>Another included reference.</ref>}}

Repeating the first example.{{refn|group=note|name=first}}

==Notes & References==
===Notes===
<references group=note/>

===References===
<references/>

This is what that code will look like on a wiki page:

An example.[note 1]

Another example.[note 2]

Repeating the first example.[note 1]

Notes & References

Notes

  1. ^ Jump up to: a b A note.[1]
  2. ^ Another note.[2]

References

  1. ^ An included reference.
  2. ^ Another included reference.