From Wikipedia, the free encyclopedia
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.< ref name = "FOOTNOTESmith2009" > [[#CITEREFSmith2009|Smith 2009]].</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithS2009" > [[#CITEREFSmithS2009|SmithS 2009]].</ ref ></ div >
p
Article text.{{sfn |Smith|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmith200925" > [[#CITEREFSmith2009|Smith 2009]], p. 25.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithS200925" > [[#CITEREFSmithS2009|SmithS 2009]], p. 25.</ ref ></ div >
p with pages
Article text.{{sfn |Smithie|2009| p=25-26}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmithie200925-26" > [[#CITEREFSmithie2009|Smithie 2009]], p. 25-26.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithie200925-26" > [[#CITEREFSmithie2009|Smithie 2009]], p. 25-26.</ ref ></ div >
Duplicate
Article text.{{sfn |Smith|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmith200925" > [[#CITEREFSmith2009|Smith 2009]], p. 25.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithS200925" > [[#CITEREFSmithS2009|SmithS 2009]], p. 25.</ ref ></ div >
pp
Article text.{{sfn |Smith|2009| pp=25–26}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmith200925–26" > [[#CITEREFSmith2009|Smith 2009]], pp. 25–26.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithS200925–26" > [[#CITEREFSmithS2009|SmithS 2009]], pp. 25–26.</ ref ></ div >
pp with page
Article text.{{sfn |Smithy|2009| pp=25}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmithy200925" > [[#CITEREFSmithy2009|Smithy 2009]], pp. 25.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithy200925" > [[#CITEREFSmithy2009|Smithy 2009]], pp. 25.</ ref ></ div >
loc
Article text.{{sfn |Smith|2009| loc=§8.5}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmith2009&sect;8.5" > [[#CITEREFSmith2009|Smith 2009]], § 8.5.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithS2009&sect;8.5" > [[#CITEREFSmithS2009|SmithS 2009]], § 8.5.</ ref ></ div >
at
Article text.{{sfn |Smith|2009| at=§8.5}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmith2009&sect;8.5" > [[#CITEREFSmith2009|Smith 2009]], § 8.5.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithS2009&sect;8.5" > [[#CITEREFSmithS2009|SmithS 2009]], § 8.5.</ ref ></ div >
Two authors
Article text.{{sfn |Smith|Jones|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmithJones200925" > [[#CITEREFSmithJones2009|Smith & Jones 2009]], p. 25.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithSJones200925" > [[#CITEREFSmithSJones2009|SmithS & Jones 2009]], p. 25.</ ref ></ div >
Three authors
Article text.{{sfn |Smith|Jones|Brown|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmithJonesBrown200925" > [[#CITEREFSmithJonesBrown2009|Smith, Jones & Brown 2009]], p. 25.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithSJonesBrown200925" > [[#CITEREFSmithSJonesBrown2009|SmithS, Jones & Brown 2009]], p. 25.</ ref ></ div >
Three authors with spaces
Article text.{{sfn |Smith | Jones| Brown |2009| p=25}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmithJonesBrown200925" > [[#CITEREFSmithJonesBrown2009|Smith, Jones & Brown 2009]], p. 25.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithSJonesBrown200925" > [[#CITEREFSmithSJonesBrown2009|SmithS, Jones & Brown 2009]], p. 25.</ ref ></ div >
Four authors
Article text.{{sfn |Smith|Jones|Brown|Black|2009| p=25}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmithJonesBrownBlack200925" > [[#CITEREFSmithJonesBrownBlack2009|Smith et al. 2009]], p. 25.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithSJonesBrownBlack200925" > [[#CITEREFSmithSJonesBrownBlack2009|SmithS et al. 2009]], p. 25.</ ref ></ div >
Four authors with spaces
Article text.{{sfn |Smith | Jones| Brown |Black| 2009 | p=25 }}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmithJonesBrownBlack200925" > [[#CITEREFSmithJonesBrownBlack2009|Smith et al. 2009]], p. 25.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithSJonesBrownBlack200925" > [[#CITEREFSmithSJonesBrownBlack2009|SmithS et al. 2009]], p. 25.</ ref ></ div >
One author, no year, no page
Article text.{{sfn |Smith}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmith" > [[#CITEREFSmith|Smith]].</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithS" > [[#CITEREFSmithS|SmithS]].</ ref ></ div >
One author, no year, w/page
Article text.{{sfn |Smith|p=2}}
Article text.
Article text.
Expanded code
Article text.< ref name = "FOOTNOTESmith2" > [[#CITEREFSmith|Smith]], p. 2.</ ref >
Article text.< div style = "color:inherit" >< ref name = "FOOTNOTESmithS2" > [[#CITEREFSmithS|SmithS]], p. 2.</ ref ></ div >
Smith (2009), One author
SmithS (2009), One author, sandbox Smith
Smith, One author, no year
SmithS, One author, no year, sandbox Smith
Smith; Jones (2009), Two authors
SmithS; Jones (2009), Two authors, sandbox Smith
Smith; Jones; Brown (2009), Three authors
SmithS; Jones; Brown (2009), Three authors, sandbox Smith
Smith; Jones; Brown; Black (2009), Four authors
SmithS; Jones; Brown; Black (2009), Four authors, sandbox Smith