Template:Sfn/testcases

Due to the way {{testcase}} and <ref> work, these test cases will always incorrectly report that the test cases don't match, even when they do. However, you can inspect the HTML code yourself to verify that they match except for unimportant ID information. Don't forget to check the Notes, and make sure that the wikilinks in that section link properly to Sources.

Simple
Article text.{{sfn |Smith|2009}}
Article text.[1]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000007-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
p
Article text.{{sfn |Smith|2009| p=25}}
Article text.[2]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-0000000D-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
p with pages
Article text.{{sfn |Smithie|2009| p=25-26}}
Article text.[3]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000012-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
Duplicate
Article text.{{sfn |Smith|2009| p=25}}
Article text.[2]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000017-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
pp
Article text.{{sfn |Smith|2009| pp=25&ndash;26}}
Article text.[4]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-0000001C-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
pp with page
Article text.{{sfn |Smithy|2009| pp=25}}
Article text.[5]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000021-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
loc
Article text.{{sfn |Smith|2009| loc=&sect;8.5}}
Article text.[6]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000026-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
at
Article text.{{sfn |Smith|2009| at=&sect;8.5}}
Article text.[6]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-0000002B-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
Two authors
Article text.{{sfn |Smith|Jones|2009| p=25}}
Article text.[7]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000030-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
Three authors
Article text.{{sfn |Smith|Jones|Brown|2009| p=25}}
Article text.[8]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000035-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
Three authors with spaces
Article text.{{sfn |Smith | Jones| Brown |2009| p=25}}
Article text.[8]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-0000003A-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
Four authors
Article text.{{sfn |Smith|Jones|Brown|Black|2009| p=25}}
Article text.[9]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-0000003F-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
Four authors with spaces
Article text.{{sfn |Smith | Jones| Brown |Black| 2009 | p=25 }}
Article text.[9]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000044-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
One author, no year, no page
Article text.{{sfn |Smith}}
Article text.[10]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-00000049-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
One author, no year, w/page
Article text.{{sfn |Smith|p=2}}
Article text.[11]
Article text.Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).
Expanded code
Article text.'"`UNIQ--ref-0000004E-QINU`"'
Article text.<strong class="error"><span class="scribunto-error mw-scribunto-error-d34e8724">Lua error in Module:Footnotes/anchor_id_list/sandbox at line 799: attempt to index field 'wrapper_templates' (a nil value).</span></strong>
  1. ^ Smith 2009.
  2. ^ a b Smith 2009, p. 25.
  3. ^ Smithie 2009, p. 25-26.
  4. ^ Smith 2009, pp. 25–26.
  5. ^ Smithy 2009, pp. 25.
  6. ^ a b Smith 2009, §8.5.
  7. ^ Smith & Jones 2009, p. 25.
  8. ^ a b Smith, Jones & Brown 2009, p. 25.
  9. ^ a b Smith et al. 2009, p. 25.
  10. ^ Smith.
  11. ^ Smith, p. 2.