Template:Refn
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: