Template: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.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000001-QINU`"'
Article text.'"`UNIQ--ref-00000002-QINU`"'
p
Article text.{{sfn |Smith|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000006-QINU`"'
Article text.'"`UNIQ--ref-00000007-QINU`"'
p with pages
Article text.{{sfn |Smithie|2009| p=25-26}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-0000000B-QINU`"'
Article text.'"`UNIQ--ref-0000000C-QINU`"'
Duplicate
Article text.{{sfn |Smith|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000010-QINU`"'
Article text.'"`UNIQ--ref-00000011-QINU`"'
pp
Article text.{{sfn |Smith|2009| pp=25–26}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000015-QINU`"'
Article text.'"`UNIQ--ref-00000016-QINU`"'
pp with page
Article text.{{sfn |Smithy|2009| pp=25}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-0000001A-QINU`"'
Article text.'"`UNIQ--ref-0000001B-QINU`"'
loc
Article text.{{sfn |Smith|2009| loc=§8.5}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-0000001F-QINU`"'
Article text.'"`UNIQ--ref-00000020-QINU`"'
Two authors
Article text.{{sfn |Smith|Jones|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000024-QINU`"'
Article text.'"`UNIQ--ref-00000025-QINU`"'
Three authors
Article text.{{sfn |Smith|Jones|Brown|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000029-QINU`"'
Article text.'"`UNIQ--ref-0000002A-QINU`"'
Three authors with spaces
Article text.{{sfn |Smith | Jones| Brown |2009| p=25}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-0000002E-QINU`"'
Article text.'"`UNIQ--ref-0000002F-QINU`"'
Four authors
Article text.{{sfn |Smith|Jones|Brown|Black|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000033-QINU`"'
Article text.'"`UNIQ--ref-00000034-QINU`"'
Four authors with spaces
Article text.{{sfn |Smith | Jones| Brown |Black| 2009 | p=25 }}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000038-QINU`"'
Article text.'"`UNIQ--ref-00000039-QINU`"'
One author, no year, no page
Article text.{{sfn |Smith}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-0000003D-QINU`"'
Article text.'"`UNIQ--ref-0000003E-QINU`"'
One author, no year, w/page
Article text.{{sfn |Smith|p=2}}
Article text.
Article text.
Expanded code
Article text.'"`UNIQ--ref-00000042-QINU`"'
Article text.'"`UNIQ--ref-00000043-QINU`"'
Notes
Sources
Smith, One author, 2009
SmithS, One author, sandbox Smith, 2009
Smith, One author, no year
SmithS, One author, no year, sandbox Smith
Smith; Jones, Two authors, 2009
SmithS; Jones, Two authors, sandbox Smith, 2009
Smith; Jones; Brown, Three authors, 2009
SmithS; Jones; Brown, Three authors, sandbox Smith, 2009
Smith; Jones; Brown; Black, Four authors, 2009
SmithS; Jones; Brown; Black, Four authors, sandbox Smith, 2009