[go: nahoru, domu]

Jump to content

Wikipedia:Nesting footnotes: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
revision, stage 2
The {{r}} template was not deprecated. The cited discussion involved replacing existing <ref></ref> tags in existing articles with {{r}}
 
(35 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{For|the official guideline on citing sources|Wikipedia:Citing sources}}
{{For-text|the official guideline on citing sources|[[Wikipedia:Citing sources]]|instructions on how to "bundle" citations|[[Help:Citation merging]]}}


{{Wikipedia how to}}
{{Wikipedia how to|sc1=WP:NFN}}


{{nutshell|Footnotes placed within footnotes may appear in the same list as the containing footnotes, or in a separate list. There are various choices in layout and formatting. In some cases, markup using <nowiki><ref></ref></nowiki> tags will cause an error message.}}
{{nutshell|Footnotes placed within footnotes may appear in the same list as the containing footnotes, or in a separate list. There are various choices in layout and formatting. In some cases, markup using <nowiki><ref></ref></nowiki> tags will cause an error message.}}


This page explains how to "nest" footnotes (references or notes) in Wikipedia articles, i.e. how to create a footnote within a footnote. It reflects the way the Mediawiki software operates as at July 2015.
This page explains how to "nest" footnotes (references or notes) in Wikipedia articles, i.e. how to create a footnote within a footnote. It reflects the way the [[MediaWiki]] software operates as of July 2015.


{{TOC limit|3}}
{{TOC limit|3}}
Line 19: Line 19:
The Footnotes system shows two elements on the page:
The Footnotes system shows two elements on the page:
* A '''Footnote marker''' is displayed in the article's content as a bracketed, superscripted number, letter, or word. Examples shown respectively are: {{dummy ref}} {{dummy ref|a}} {{dummy ref|Note 1}}. This footnote label is linked to the full footnote.
* A '''Footnote marker''' is displayed in the article's content as a bracketed, superscripted number, letter, or word. Examples shown respectively are: {{dummy ref}} {{dummy ref|a}} {{dummy ref|Note 1}}. This footnote label is linked to the full footnote.
* A '''Footnote''' displays the full note or reference. The footnotes are displayed in an ordered list wherever the reference list markup (e.g. {{tlx|reflist}}, {{tlx|reflist|group=...}} or {{tlx|notelist}} is placed. Each entry begins with the footnote label in plain text.
* A '''Footnote''' displays the full note or reference. The footnotes are displayed in an ordered list wherever the reference list markup (e.g. {{tlx|reflist}}, {{tlx|reflist|2=group=...}} or {{tlx|notelist}}) is placed. Each entry begins with the footnote label in plain text.


===Nesting footnotes===
===Nesting footnotes===

Sometimes, an editor wishes to insert (nest) a footnote within a footnote. We will call the inserted footnote a '''"subnote"'''. Cases may include:
Sometimes, an editor wishes to insert (nest) a footnote within a footnote. We will call the inserted footnote a '''"subnote"'''. Cases may include:


Line 38: Line 37:
{{reflist}}
{{reflist}}
|-
|-
| Note within a note || Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.{{efn|This has been disputed by later scholars{{efn|For example, writing in 2003, Nested argued strongly for rejecting the source as a forgery.<ref>Nested reference, 2003.</ref>}} on the grounds of unsound evidence.}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>
| Note within a note || Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.{{efn|This has been disputed by later scholars{{efn-lr|For example, writing in 2003, Nested argued strongly for rejecting the source as a forgery.<ref>Nested reference, 2003.</ref>}} on the grounds of unsound evidence.}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>


====Notes====
====Notes====
{{notelist}}
{{notelist}}

''Subnotes''
{{notelist-lr}}


====References====
====References====
{{reflist}}
{{reflist}}
|-
|-
| Note on a reference || Lorem ipsum dolor{{refn|Book 1, 1923.{{refn|group=subnote|The paperback edition of 1952 does not contain the relevant passage.}} }} sit amet. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{refn|Book 2, 1968.}}
| Note on a reference || Lorem ipsum dolor{{refn|Book 1, 1923.{{refn|group=subnote|The 1952 paperback edition of Book 1 does not contain the relevant passage.}} }} sit amet. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>


====References====
====References====
Line 60: Line 62:
# If the subnote is a reference, should it appear within the main numbered list of references, or in a separate list?
# If the subnote is a reference, should it appear within the main numbered list of references, or in a separate list?
# If the subnote appears in a separate list, where should that list be placed among the different lists of footnotes?
# If the subnote appears in a separate list, where should that list be placed among the different lists of footnotes?
# Should the subnote marker be - numeric {{dummy ref}}, a roman numeral {{dummy ref|i}}, alphabetic {{dummy ref|a}}, or user-defined {{dummy ref|subnote 1}}? Could it be confusing to use the same system in different footnote lists? Bear in mind also that roman numeral {{dummy ref|i}} is identical with alphabetic {{dummy ref|i}}.
# Should the subnote marker be - numeric,{{dummy ref}} a roman numeral,{{dummy ref|i}} alphabetic,{{dummy ref|a}} or user-defined?{{dummy ref|subnote 1}} Could it be confusing to use the same system in different footnote lists? Bear in mind also that roman numeral{{dummy ref|i}} is identical with alphabetic.{{dummy ref|i}}


==What does not work==
==What does not work==

'''You cannot nest a footnote within a footnote that uses <nowiki><ref>...</ref></nowiki> tags''', even if the footnotes belong to different groups.


===1. Using <nowiki><ref>...</ref> tags within <ref>...</ref> tags</nowiki>===
===1. Using <nowiki><ref>...</ref> tags within <ref>...</ref> tags</nowiki>===

'''You cannot nest <nowiki><ref>...</ref></nowiki> tags''', even if they belong to different groups.


Neither the subnote nor the preceding part of the main footnote is displayed. An error message is displayed in red font. The following part of the main footnote (if any) appears in the article text, with an unwanted <nowiki></ref></nowiki> tag.
Neither the subnote nor the preceding part of the main footnote is displayed. An error message is displayed in red font. The following part of the main footnote (if any) appears in the article text, with an unwanted <nowiki></ref></nowiki> tag.
Line 73: Line 75:
{| class="wikitable"
{| class="wikitable"
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! Error message and missing text, using nested <nowiki><ref>...</ref></nowiki> tags
! Case 1: Error message and missing text, using nested <nowiki><ref>...</ref></nowiki> tags
|-
|-
|Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.<ref group=upper-alpha>This has been disputed by later scholars. ''This part of the main footnote does not appear!''<ref>Nested reference, 2003. ''This subnote does not appear!''</ref>This is the latter part of the main footnote.</ref> Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>
|Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.<ref group=upper-alpha>This has been disputed by later scholars. ''This part of the main footnote does not appear!''<ref>Nested reference, 2003. ''This subnote does not appear!''</ref>This is the latter part of the main footnote.</ref> Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>
Line 92: Line 94:
{| class="wikitable"
{| class="wikitable"
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! Error message and missing text, using {{tlx|refn}} within <nowiki><ref>...</ref></nowiki> tags
! Case 2: Error message and missing text, using {{tlx|refn}} within <nowiki><ref>...</ref></nowiki> tags
|-
|-
|Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.<ref group=upper-alpha>This has been disputed by later scholars. ''Subnote should appear here''{{refn|Nested reference, 2003. ''This subnote does not appear!''}} This is the latter part of the main footnote.</ref> Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>
|Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.<ref group=upper-alpha>This has been disputed by later scholars. ''Subnote inserted here''{{refn|Nested reference, 2003. ''This subnote does not appear!''}} This is the latter part of the main footnote.</ref> Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>


====Notes====
====Notes====
Line 110: Line 112:
{| class="wikitable"
{| class="wikitable"
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! Error message and missing text, using <nowiki><ref>...</ref></nowiki> tags
! Case 3: Error message and missing text, using {{tlx|efn}} within <nowiki><ref>...</ref></nowiki> tags
|-
|-
|Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.<ref group=upper-alpha>This has been disputed by later scholars. ''Subnote should appear here''{{efn|Nested reference, 2003. ''This subnote does not appear!''}} This is the latter part of the main footnote.</ref> Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>
|Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.<ref group=upper-alpha>This has been disputed by later scholars. ''Subnote inserted here''{{efn|Nested reference, 2003. ''This subnote does not appear!''}} This is the latter part of the main footnote.</ref> Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>


====Notes====
====Notes====
Line 125: Line 127:
</center>
</center>


===4. Using a {{tlx|r}} template within <nowiki><ref>...</ref></nowiki> tags===
==Use of templates for nesting footnotes==


The subnote is not displayed. An error message is displayed in red font.
To nest a footnote within another, '''one or both footnotes should be enclosed within the {{tlx|refn}} template or the {{tlx|efn}} template'''. You may also meet <code><nowiki>#tag:ref</nowiki></code> - this is just a less user-friendly equivalent of {{tlx|refn}}.


<center>
{{tlx|efn}} is equivalent to {{tlx|refn|group{{=}}lower-alpha}}, and the corresponding {{tlx|notelist}} is equivalent to {{tlx|reflist|group{{=}}lower-alpha}}. Likewise, {{tlx|efn-lr}} is equivalent to {{tlx|refn|group{{=}}lower-roman}}, and the corresponding {{tlx|notelist-lr}} is equivalent to {{tlx|reflist|group{{=}}lower-roman}}; similarly for the other variants.
{| class="wikitable"
|- style="vertical-align:top;"
! Case 4: Error message and missing text, using {{tlx|r}} within <nowiki><ref>...</ref></nowiki> tags
|-
|Lorem ipsum dolor<ref>Book 1, 1923.</ref> sit amet.<ref group=upper-alpha>This has been disputed by later scholars. ''Subnote inserted here''{{r|r=Nested reference, 2003. ''This subnote does not appear!''}} This is the latter part of the main footnote.</ref> Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref>Book 2, 1968.</ref>

====Notes====
{{reflist|group=upper-alpha}}

====References====
{{reflist}}
|}
</center>

===5. List-defined references===
Due to a long-standing bug (see [[phab:T22707]]), [[WP:list-defined references|list-defined references]] do not work correctly when references are nested.
<center>
{| class="wikitable"
|- style="vertical-align:top;"
! Case 5: Error message and missing reference using list-defined references
|-
|Lorem ipsum dolor{{refn|name=first}} sit amet.{{refn|name=second}}

====References====
{{reflist|refs=
{{refn|name=first|This is Reference 1, with Reference 3 inside it.<ref>Reference 3</ref>}}
{{refn|name=second|This is Reference 2, with Reference 4 inside it.<ref>Reference 4</ref>}}
}}
|}
</center>

A workaround is available via {{tl|sfnlink}}.

==What does work==

To nest a footnote within another, '''one or both footnotes should be enclosed within the {{tlx|r}}, {{tlx|refn}} or {{tlx|efn}} templates'''. You may also use <code><nowiki>#tag:ref</nowiki></code>{{Snd}} this is just a less user-friendly equivalent of {{tlx|refn}}.

{{tlx|r}} and {{tlx|refn}} use a very similar calling syntax (with {{tlx|r}} supporting all named parameters of {{tlx|refn}}), but {{tlx|r}} also supports shorter parameter aliases and is generally more flexible and powerful:
{{tlx|refn|group{{=}}groupname|name{{=}}name|Contents of the footnote}}
{{tlx|r|g{{=}}groupname|n{{=}}name|r{{=}}Contents of the footnote}}

{{tlx|efn}} is equivalent to {{tlx|refn|group{{=}}lower-alpha}} (or {{tlx|r|g{{=}}lower-alpha}}), and the corresponding {{tlx|notelist}} is equivalent to {{tlx|reflist|group{{=}}lower-alpha}}. Likewise, {{tlx|efn-lr}} is equivalent to {{tlx|refn|group{{=}}lower-roman}} (or {{tlx|r|g{{=}}lower-roman}}), and the corresponding {{tlx|notelist-lr}} is equivalent to {{tlx|reflist|group{{=}}lower-roman}}; similarly for the other variants.


The following are some examples of correct use of these templates for nesting footnotes. Other permutations are possible and will yield similar results.
The following are some examples of correct use of these templates for nesting footnotes. Other permutations are possible and will yield similar results.
Line 137: Line 181:


====Using {{tlx|refn}}====
====Using {{tlx|refn}}====
<center>
{{markup|width=90%
{{markup|width=90%
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.<ref>Book, 1949.</ref>}} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.<ref>Book, 1949.</ref>}} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
Line 155: Line 198:
{{reflist}}
{{reflist}}
}}
}}
</center>


====Using {{tlx|efn}}====
====Using {{tlx|efn}}====

<center>
{{markup|width=90%
{{markup|width=90%
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{efn|Mary's possessions are on record.<ref>Book, 1949.</ref> }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{efn|Mary's possessions are on record.<ref>Book, 1949.</ref> }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
Line 177: Line 217:
{{reflist}}
{{reflist}}
}}
}}

</center>
====Using {{tlx|r}}====
{{markup|width=90%
|<nowiki>Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|r=Book, 1949.}}}} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

====References====
{{reflist}}
</nowiki>
|Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|r=Book, 1949.}}}} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

====References====
{{reflist}}
}}


===Subnote within note===
===Subnote within note===
Line 185: Line 243:
A subnote may appear in the same list as the footnote in which it is nested, although the subnote will appear ''above'' the main note referring to it.
A subnote may appear in the same list as the footnote in which it is nested, although the subnote will appear ''above'' the main note referring to it.


=====Using {{tlx|refn}}=====
<center>
{{markup|width=90%
{{markup|width=90%
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.{{refn|group=lower-alpha|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.{{refn|group=lower-alpha|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
Line 203: Line 261:
{{reflist}}
{{reflist}}
}}
}}

</center>
=====Using {{tlx|r}}=====
{{markup|width=90%
|<nowiki>Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|g=lower-alpha|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

====References====
{{reflist}}
</nowiki>
|Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|g=lower-alpha|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

====References====
{{reflist}}
}}


====(2) In separate list: non-numeric marker====
====(2) In separate list: non-numeric marker====
Line 214: Line 290:
Note the use of {{tlx|refn}} rather than <nowiki><ref>...</ref></nowiki> for ''both'' main note ''and'' subnote, so that the reference doubly nested within the subnote will display correctly.
Note the use of {{tlx|refn}} rather than <nowiki><ref>...</ref></nowiki> for ''both'' main note ''and'' subnote, so that the reference doubly nested within the subnote will display correctly.


<center>
{{markup|width=90%
{{markup|width=90%
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.{{refn|group=lower-roman|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.{{refn|group=lower-roman|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
Line 238: Line 313:
{{reflist}}
{{reflist}}
}}
}}
</center>


=====Using {{tlx|efn}}=====
=====Using {{tlx|efn}}=====
Note the use of {{tlx|efn}} rather than <nowiki><ref>...</ref></nowiki> for ''both'' main note ''and'' subnote, so that the reference doubly nested within the subnote will display correctly.
Note the use of {{tlx|efn}} rather than <nowiki><ref>...</ref></nowiki> for ''both'' main note ''and'' subnote, so that the reference doubly nested within the subnote will display correctly.


<center>
{{markup|width=90%
{{markup|width=90%
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{efn|Mary's possessions are on record.{{efn-lr|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{efn|Mary's possessions are on record.{{efn-lr|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
Line 267: Line 340:
{{reflist}}
{{reflist}}
}}
}}

</center>
=====Using {{tlx|r}}=====
Note the use of {{tlx|r}} rather than <nowiki><ref>...</ref></nowiki> for ''both'' main note ''and'' subnote, so that the reference doubly nested within the subnote will display correctly.

{{markup|width=90%
|<nowiki>Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|g=lower-roman|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

''Subnotes''
{{reflist|group=lower-roman}}

====References====
{{reflist}}
</nowiki>
|Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|g=lower-roman|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

''Subnotes''
{{reflist|group=lower-roman}}

====References====
{{reflist}}
}}


====(3) In separate list: numeric marker with character string====
====(3) In separate list: numeric marker with character string====
Line 273: Line 372:
The subnote appears in a separate list, above or below the list in which the main note appears. The subnote is given a numeral preceded by a character string, e.g. {{dummy ref|Subnote 3}}, {{dummy ref|n 3}} or {{dummy ref|nb 3}}.
The subnote appears in a separate list, above or below the list in which the main note appears. The subnote is given a numeral preceded by a character string, e.g. {{dummy ref|Subnote 3}}, {{dummy ref|n 3}} or {{dummy ref|nb 3}}.


=====Using {{tlx|refn}}=====
If the main note is also indexed in the same way, to keep the lists separate the two character strings must be different. The main note and subnote both use {{tlx|refn}}.
If the main note is also indexed in the same way, to keep the lists separate the two character strings must be different. The main note and subnote both use {{tlx|refn}}.


<center>
{{markup|width=90%
{{markup|width=90%
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=main note|Mary's possessions are on record.{{refn|group=subnote|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=main note|Mary's possessions are on record.{{refn|group=subnote|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
Line 299: Line 398:
{{reflist}}
{{reflist}}
}}
}}
</center>


===Subnote within reference===
=====Using {{tlx|r}}=====
The subnote appears in a separate list, below the main References list. The subnote uses {{tlx|refn}}.
If the main note is also indexed in the same way, to keep the lists separate the two character strings must be different. The main note and subnote both use {{tlx|r}}.


{{markup|width=90%
|<nowiki>Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=main note|r=Mary's possessions are on record.{{r|g=subnote|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Main notes====
{{reflist|group=main note}}

''Subnotes''
{{reflist|group=subnote}}

====References====
{{reflist}}
</nowiki>
|Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=main note|r=Mary's possessions are on record.{{r|g=subnote|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Main notes====
{{reflist|group=main note}}

''Subnotes''
{{reflist|group=subnote}}

====References====
{{reflist}}
}}

===Subnote within reference===
====(1) Non-numeric marker====
====(1) Non-numeric marker====
=====Using {{tlx|refn}}=====

The subnote appears in a separate list, below the main References list. The subnote uses {{tlx|refn}} with a predefined or user-defined group. Be aware that because nesting fails within <nowiki><ref></ref></nowiki> tags, the reference bearing the subnote also has to use {{tlx|refn}} (without a group), not the more usual <nowiki><ref></ref></nowiki>.


<center>
{{markup|width=90%
{{markup|width=90%
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.<ref>Book, 1949.{{refn|group=lower-alpha|The relevant chapter does not appear in the paperback edition of 1955.}} </ref> Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|Book, 1949.{{refn|group=lower-alpha|The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>


====References====
====References====
Line 316: Line 441:
{{reflist|group=lower-alpha}}
{{reflist|group=lower-alpha}}
</nowiki>
</nowiki>
|Mary<ref>Bloggs, 1981.</ref> had a little lamb.<ref>Book, 1949.{{refn|group=lower-alpha|The relevant chapter does not appear in the paperback edition of 1955.}} </ref> Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|Book, 1949.{{refn|group=lower-alpha|The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====References====
{{reflist}}

''Notes on the references''
{{reflist|group=lower-alpha}}
}}

=====Using {{tlx|r}}=====
The subnote appears in a separate list, below the main References list. The subnote uses {{tlx|r}} with a predefined or user-defined group. Be aware that because nesting fails within <nowiki><ref></ref></nowiki> tags, the reference bearing the subnote also has to use {{tlx|r}} (without a group), not the more usual <nowiki><ref></ref></nowiki>.

{{markup|width=90%
|<nowiki>Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|r=Book, 1949.{{r|g=lower-alpha|r=The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====References====
{{reflist}}

''Notes on the references''
{{reflist|group=lower-alpha}}
</nowiki>
|Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|r=Book, 1949.{{r|g=lower-alpha|r=The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}


====References====
====References====
Line 324: Line 470:
{{reflist|group=lower-alpha}}
{{reflist|group=lower-alpha}}
}}
}}
</center>


====(2) Numeric marker with character string====
====(2) Numeric marker with character string====


=====Using {{tlx|refn}}=====
<center>
{{markup|width=90%
{{markup|width=90%
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.<ref>Book, 1949.{{refn|group=Rnote|The relevant chapter does not appear in the paperback edition of 1955.}} </ref> Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|<nowiki>Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|Book, 1949.{{refn|group=Note|The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>


====References====
====References====
Line 336: Line 481:


''Notes on the references''
''Notes on the references''
{{reflist|group=Rnote}}
{{reflist|group=Note}}
</nowiki>
</nowiki>
|Mary<ref>Bloggs, 1981.</ref> had a little lamb.<ref>Book, 1949.{{refn|group=Rnote|The relevant chapter does not appear in the paperback edition of 1955.}} </ref> Its fleece was white as snow.<ref>Scroggs, 1983.</ref>
|Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|Book, 1949.{{refn|group=Note|The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>


====References====
====References====
Line 344: Line 489:


''Notes on the references''
''Notes on the references''
{{reflist|group=Rnote}}
{{reflist|group=Note}}
}}

=====Using {{tlx|r}}=====
{{markup|width=90%
|<nowiki>Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|r=Book, 1949.{{r|g=Note|r=The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====References====
{{reflist}}

''Notes on the references''
{{reflist|group=Note}}
</nowiki>
|Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|r=Book, 1949.{{r|g=Note|r=The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====References====
{{reflist}}

''Notes on the references''
{{reflist|group=Note}}
}}
}}
</center>


==See also==
== See also ==
* [[Template:Harvard citation#Using CITEREF directly]] and {{tl|sfnref}}
* [[Template:Harvard citation#Using CITEREF directly]] and {{tl|sfnref}} and {{tl|citeref}}
* [[Wikipedia:Citing sources/Further considerations]]—a how-to article with some additional considerations for citing sources
* [[Wikipedia:Citing sources/Further considerations]]—a how-to article with some additional considerations for citing sources
* [[Wikipedia:Help desk]]—to ask questions about nesting footnotes in articles if you were not able to find the information you need on this help page.
* [[Wikipedia:Help desk]]—to ask questions about nesting footnotes in articles if you were not able to find the information you need on this help page.
Line 355: Line 518:
{{Wikipedia referencing}}
{{Wikipedia referencing}}
{{Help navigation}}
{{Help navigation}}

[[Category:Wikipedia editor help]]
[[Category:Wikipedia editor help]]
[[Category:Wikipedia citation administration]]

[[cs:Wikipedie:Reference]]
[[es:Wikipedia:Referencias#Notas al pie]]

Latest revision as of 02:05, 20 July 2024

This page explains how to "nest" footnotes (references or notes) in Wikipedia articles, i.e. how to create a footnote within a footnote. It reflects the way the MediaWiki software operates as of July 2015.

Overview

[edit]

Footnotes: reminder

[edit]

Footnotes are used most commonly to provide:

  • References to reliable sources, published in print or online
  • Notes containing supplementary content.

The Footnotes system shows two elements on the page:

  • A Footnote marker is displayed in the article's content as a bracketed, superscripted number, letter, or word. Examples shown respectively are: [1] [a] [Note 1]. This footnote label is linked to the full footnote.
  • A Footnote displays the full note or reference. The footnotes are displayed in an ordered list wherever the reference list markup (e.g. {{reflist}}, {{reflist|group=...}} or {{notelist}}) is placed. Each entry begins with the footnote label in plain text.

Nesting footnotes

[edit]

Sometimes, an editor wishes to insert (nest) a footnote within a footnote. We will call the inserted footnote a "subnote". Cases may include:

Type of nesting Example
Reference within a note Lorem ipsum dolor[1] sit amet.[a] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[3]

Notes

[edit]
  1. ^ This has been disputed by later scholars.[2]

References

[edit]
  1. ^ Book 1, 1923.
  2. ^ Nested reference, 2003.
  3. ^ Book 2, 1968.
Note within a note Lorem ipsum dolor[1] sit amet.[a] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[3]

Notes

[edit]
  1. ^ This has been disputed by later scholars[i] on the grounds of unsound evidence.

Subnotes

  1. ^ For example, writing in 2003, Nested argued strongly for rejecting the source as a forgery.[2]

References

[edit]
  1. ^ Book 1, 1923.
  2. ^ Nested reference, 2003.
  3. ^ Book 2, 1968.
Note on a reference Lorem ipsum dolor[1] sit amet. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[2]

References

[edit]
  1. ^ Book 1, 1923.[subnote 1]
  2. ^ Book 2, 1968.

Notes on references

  1. ^ The 1952 paperback edition of Book 1 does not contain the relevant passage.

Things to consider

[edit]
  1. Is your subnote really necessary? Especially if the subnote is a short one, would it be more straightforward for the reader - as well as for you - to keep it as part of the main note, perhaps in brackets?
  2. If the subnote is a reference, should it appear within the main numbered list of references, or in a separate list?
  3. If the subnote appears in a separate list, where should that list be placed among the different lists of footnotes?
  4. Should the subnote marker be - numeric,[1] a roman numeral,[i] alphabetic,[a] or user-defined?[subnote 1] Could it be confusing to use the same system in different footnote lists? Bear in mind also that roman numeral[i] is identical with alphabetic.[i]

What does not work

[edit]

You cannot nest a footnote within a footnote that uses <ref>...</ref> tags, even if the footnotes belong to different groups.

1. Using <ref>...</ref> tags within <ref>...</ref> tags

[edit]

Neither the subnote nor the preceding part of the main footnote is displayed. An error message is displayed in red font. The following part of the main footnote (if any) appears in the article text, with an unwanted </ref> tag.

Case 1: Error message and missing text, using nested <ref>...</ref> tags
Lorem ipsum dolor[1] sit amet.Cite error: A <ref> tag is missing the closing </ref> (see the help page).This is the latter part of the main footnote.</ref> Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[2]

Notes

[edit]

References

[edit]
  1. ^ Book 1, 1923.
  2. ^ Book 2, 1968.

2. Using a {{refn}} template within <ref>...</ref> tags

[edit]

The subnote is not displayed. An error message is displayed in red font.

Case 2: Error message and missing text, using {{refn}} within <ref>...</ref> tags
Lorem ipsum dolor[1] sit amet.[A] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[2]

Notes

[edit]
  1. ^ This has been disputed by later scholars. Subnote inserted here This is the latter part of the main footnote.
Cite error: A list-defined reference has a conflicting group attribute "" (see the help page).

References

[edit]
  1. ^ Book 1, 1923.
  2. ^ Book 2, 1968.

3. Using a {{efn}} template within <ref>...</ref> tags

[edit]

The subnote is not displayed. An error message is displayed in red font.

Case 3: Error message and missing text, using {{efn}} within <ref>...</ref> tags
Lorem ipsum dolor[1] sit amet.[A] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[2]

Notes

[edit]
  1. ^ This has been disputed by later scholars. Subnote inserted here This is the latter part of the main footnote.
Cite error: A list-defined reference has a conflicting group attribute "lower-alpha" (see the help page).

Subnotes

[edit]

References

[edit]
  1. ^ Book 1, 1923.
  2. ^ Book 2, 1968.

4. Using a {{r}} template within <ref>...</ref> tags

[edit]

The subnote is not displayed. An error message is displayed in red font.

Case 4: Error message and missing text, using {{r}} within <ref>...</ref> tags
Lorem ipsum dolor[1] sit amet.[A] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[2]

Notes

[edit]
  1. ^ This has been disputed by later scholars. Subnote inserted here This is the latter part of the main footnote.
Cite error: A list-defined reference has a conflicting group attribute "" (see the help page).

References

[edit]
  1. ^ Book 1, 1923.
  2. ^ Book 2, 1968.

5. List-defined references

[edit]

Due to a long-standing bug (see phab:T22707), list-defined references do not work correctly when references are nested.

Case 5: Error message and missing reference using list-defined references
Lorem ipsum dolor[1] sit amet.[2]

References

[edit]
  1. ^ a b This is Reference 1, with Reference 3 inside it.[3]
  2. ^ This is Reference 2, with Reference 4 inside it.[4]
  3. ^ Reference 3
Cite error: A list-defined reference has no name (see the help page).

A workaround is available via {{sfnlink}}.

What does work

[edit]

To nest a footnote within another, one or both footnotes should be enclosed within the {{r}}, {{refn}} or {{efn}} templates. You may also use #tag:ref – this is just a less user-friendly equivalent of {{refn}}.

{{r}} and {{refn}} use a very similar calling syntax (with {{r}} supporting all named parameters of {{refn}}), but {{r}} also supports shorter parameter aliases and is generally more flexible and powerful: {{refn|group=groupname|name=name|Contents of the footnote}} {{r|g=groupname|n=name|r=Contents of the footnote}}

{{efn}} is equivalent to {{refn|group=lower-alpha}} (or {{r|g=lower-alpha}}), and the corresponding {{notelist}} is equivalent to {{reflist|group=lower-alpha}}. Likewise, {{efn-lr}} is equivalent to {{refn|group=lower-roman}} (or {{r|g=lower-roman}}), and the corresponding {{notelist-lr}} is equivalent to {{reflist|group=lower-roman}}; similarly for the other variants.

The following are some examples of correct use of these templates for nesting footnotes. Other permutations are possible and will yield similar results.

Reference within note

[edit]

The reference appears within the main list of numbered references, and the reference marker is a simple numeral.

Using {{refn}}

[edit]
Markup Renders as
Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.<ref>Book, 1949.</ref>}}  Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====Notes====
{{reflist|group=lower-alpha}}

====References====
{{reflist}}

Mary[1] had a little lamb.[a] Its fleece was white as snow.[3]

Notes

  1. ^ Mary's possessions are on record.[2]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.

Using {{efn}}

[edit]
Markup Renders as
Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{efn|Mary's possessions are on record.<ref>Book, 1949.</ref> }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====Notes====
{{notelist}}

====References====
{{reflist}}

Mary[1] had a little lamb.[a] Its fleece was white as snow.[3]

Notes

  1. ^ Mary's possessions are on record.[2]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.

Using {{r}}

[edit]
Markup Renders as
Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|r=Book, 1949.}}}}  Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

====References====
{{reflist}}

Mary[1] had a little lamb.[a] Its fleece was white as snow.[3]

Notes

  1. ^ Mary's possessions are on record.[2]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.

Subnote within note

[edit]

(1) In same list

[edit]

A subnote may appear in the same list as the footnote in which it is nested, although the subnote will appear above the main note referring to it.

Using {{refn}}
[edit]
Markup Renders as
Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.{{refn|group=lower-alpha|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====Notes====
{{reflist|group=lower-alpha}}

====References====
{{reflist}}

Mary[1] had a little lamb.[b] Its fleece was white as snow.[3]

Notes

  1. ^ They have been itemised by Book[2] and others.
  2. ^ Mary's possessions are on record.[a]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.
Using {{r}}
[edit]
Markup Renders as
Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|g=lower-alpha|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

====References====
{{reflist}}

Mary[1] had a little lamb.[b] Its fleece was white as snow.[3]

Notes

  1. ^ They have been itemised by Book[2] and others.
  2. ^ Mary's possessions are on record.[a]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.

(2) In separate list: non-numeric marker

[edit]

The subnote appears in a separate list, above or below the list in which the main note appears. The subnote is given a non-numeric marker - e.g. [b] or [iv].

If the main note is also indexed in the same way, to keep the lists separate the two sets of markers must be different, e.g. one set alphabetic with the other set roman numerals. The full range of possible markers can be seen here.

Using {{refn}}
[edit]

Note the use of {{refn}} rather than <ref>...</ref> for both main note and subnote, so that the reference doubly nested within the subnote will display correctly.

Markup Renders as
Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=lower-alpha|Mary's possessions are on record.{{refn|group=lower-roman|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====Notes====
{{reflist|group=lower-alpha}}

''Subnotes''
{{reflist|group=lower-roman}}

====References====
{{reflist}}

Mary[1] had a little lamb.[a] Its fleece was white as snow.[3]

Notes

  1. ^ Mary's possessions are on record.[i]

Subnotes

  1. ^ They have been itemised by Book[2] and others.

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.
Using {{efn}}
[edit]

Note the use of {{efn}} rather than <ref>...</ref> for both main note and subnote, so that the reference doubly nested within the subnote will display correctly.

Markup Renders as
Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{efn|Mary's possessions are on record.{{efn-lr|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====Notes====
{{notelist}}

''Subnotes''
{{notelist-lr}}

====References====
{{reflist}}

Mary[1] had a little lamb.[a] Its fleece was white as snow.[3]

Notes

  1. ^ Mary's possessions are on record.[i]

Subnotes

  1. ^ They have been itemised by Book[2] and others.

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.
Using {{r}}
[edit]

Note the use of {{r}} rather than <ref>...</ref> for both main note and subnote, so that the reference doubly nested within the subnote will display correctly.

Markup Renders as
Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=lower-alpha|r=Mary's possessions are on record.{{r|g=lower-roman|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Notes====
{{reflist|group=lower-alpha}}

''Subnotes''
{{reflist|group=lower-roman}}

====References====
{{reflist}}

Mary[1] had a little lamb.[a] Its fleece was white as snow.[3]

Notes

  1. ^ Mary's possessions are on record.[i]

Subnotes

  1. ^ They have been itemised by Book[2] and others.

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.

(3) In separate list: numeric marker with character string

[edit]

The subnote appears in a separate list, above or below the list in which the main note appears. The subnote is given a numeral preceded by a character string, e.g. [Subnote 3], [n 3] or [nb 3].

Using {{refn}}
[edit]

If the main note is also indexed in the same way, to keep the lists separate the two character strings must be different. The main note and subnote both use {{refn}}.

Markup Renders as
Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|group=main note|Mary's possessions are on record.{{refn|group=subnote|They have been itemised by Book<ref>Book, 1949.</ref> and others.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====Main notes====
{{reflist|group=main note}}

''Subnotes''
{{reflist|group=subnote}}

====References====
{{reflist}}

Mary[1] had a little lamb.[main note 1] Its fleece was white as snow.[3]

Main notes

  1. ^ Mary's possessions are on record.[subnote 1]

Subnotes

  1. ^ They have been itemised by Book[2] and others.

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.
Using {{r}}
[edit]

If the main note is also indexed in the same way, to keep the lists separate the two character strings must be different. The main note and subnote both use {{r}}.

Markup Renders as
Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|g=main note|r=Mary's possessions are on record.{{r|g=subnote|r=They have been itemised by Book{{r|r=Book, 1949.}} and others.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====Main notes====
{{reflist|group=main note}}

''Subnotes''
{{reflist|group=subnote}}

====References====
{{reflist}}

Mary[1] had a little lamb.[main note 1] Its fleece was white as snow.[3]

Main notes

  1. ^ Mary's possessions are on record.[subnote 1]

Subnotes

  1. ^ They have been itemised by Book[2] and others.

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.
  3. ^ Scroggs, 1983.

Subnote within reference

[edit]

(1) Non-numeric marker

[edit]
Using {{refn}}
[edit]

The subnote appears in a separate list, below the main References list. The subnote uses {{refn}} with a predefined or user-defined group. Be aware that because nesting fails within <ref></ref> tags, the reference bearing the subnote also has to use {{refn}} (without a group), not the more usual <ref></ref>.

Markup Renders as
Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|Book, 1949.{{refn|group=lower-alpha|The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====References====
{{reflist}}

''Notes on the references''
{{reflist|group=lower-alpha}}

Mary[1] had a little lamb.[2] Its fleece was white as snow.[3]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.[a]
  3. ^ Scroggs, 1983.

Notes on the references

  1. ^ The relevant chapter does not appear in the paperback edition of 1955.
Using {{r}}
[edit]

The subnote appears in a separate list, below the main References list. The subnote uses {{r}} with a predefined or user-defined group. Be aware that because nesting fails within <ref></ref> tags, the reference bearing the subnote also has to use {{r}} (without a group), not the more usual <ref></ref>.

Markup Renders as
Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|r=Book, 1949.{{r|g=lower-alpha|r=The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====References====
{{reflist}}

''Notes on the references''
{{reflist|group=lower-alpha}}

Mary[1] had a little lamb.[2] Its fleece was white as snow.[3]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.[a]
  3. ^ Scroggs, 1983.

Notes on the references

  1. ^ The relevant chapter does not appear in the paperback edition of 1955.

(2) Numeric marker with character string

[edit]
Using {{refn}}
[edit]
Markup Renders as
Mary<ref>Bloggs, 1981.</ref> had a little lamb.{{refn|Book, 1949.{{refn|group=Note|The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.<ref>Scroggs, 1983.</ref>

====References====
{{reflist}}

''Notes on the references''
{{reflist|group=Note}}

Mary[1] had a little lamb.[2] Its fleece was white as snow.[3]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.[Note 1]
  3. ^ Scroggs, 1983.

Notes on the references

  1. ^ The relevant chapter does not appear in the paperback edition of 1955.
Using {{r}}
[edit]
Markup Renders as
Mary{{r|r=Bloggs, 1981.}} had a little lamb.{{r|r=Book, 1949.{{r|g=Note|r=The relevant chapter does not appear in the paperback edition of 1955.}} }} Its fleece was white as snow.{{r|r=Scroggs, 1983.}}

====References====
{{reflist}}

''Notes on the references''
{{reflist|group=Note}}

Mary[1] had a little lamb.[2] Its fleece was white as snow.[3]

References

  1. ^ Bloggs, 1981.
  2. ^ Book, 1949.[Note 1]
  3. ^ Scroggs, 1983.

Notes on the references

  1. ^ The relevant chapter does not appear in the paperback edition of 1955.

See also

[edit]