Template:Sfn/testcases
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.
More information Simple, Expanded code ...
Simple | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009}} | ||||
Article text.[1] | ||||
Article text.[2] | ||||
|
Close
More information p, Expanded code ...
p | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| p=25}} | ||||
Article text.[3] | ||||
Article text.[4] | ||||
|
Close
More information p with pages, Expanded code ...
p with pages | ||||
---|---|---|---|---|
Article text.{{sfn |Smithie|2009| p=25-26}} | ||||
Article text.[5] | ||||
Article text.[5] | ||||
|
Close
More information Duplicate, Expanded code ...
Duplicate | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| p=25}} | ||||
Article text.[3] | ||||
Article text.[4] | ||||
|
Close
More information pp, Expanded code ...
pp | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| pp=25–26}} | ||||
Article text.[6] | ||||
Article text.[7] | ||||
|
Close
More information pp with page, Expanded code ...
pp with page | ||||
---|---|---|---|---|
Article text.{{sfn |Smithy|2009| pp=25}} | ||||
Article text.[8] | ||||
Article text.[8] | ||||
|
Close
More information loc, Expanded code ...
loc | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| loc=§8.5}} | ||||
Article text.[9] | ||||
Article text.[10] | ||||
|
Close
More information at, Expanded code ...
at | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| at=§8.5}} | ||||
Article text.[9] | ||||
Article text.[10] | ||||
|
Close
More information Two authors, Expanded code ...
Two authors | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|Jones|2009| p=25}} | ||||
Article text.[11] | ||||
Article text.[12] | ||||
|
Close
More information Three authors, Expanded code ...
Three authors | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|Jones|Brown|2009| p=25}} | ||||
Article text.[13] | ||||
Article text.[14] | ||||
|
Close
More information Three authors with spaces, Expanded code ...
Three authors with spaces | ||||
---|---|---|---|---|
Article text.{{sfn |Smith | Jones| Brown |2009| p=25}} | ||||
Article text.[13] | ||||
Article text.[14] | ||||
|
Close
More information Four authors, Expanded code ...
Four authors | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|Jones|Brown|Black|2009| p=25}} | ||||
Article text.[15] | ||||
Article text.[16] | ||||
|
Close
More information Four authors with spaces, Expanded code ...
Four authors with spaces | ||||
---|---|---|---|---|
Article text.{{sfn |Smith | Jones| Brown |Black| 2009 | p=25 }} | ||||
Article text.[15] | ||||
Article text.[16] | ||||
|
Close
More information One author, no year, no page, Expanded code ...
One author, no year, no page | ||||
---|---|---|---|---|
Article text.{{sfn |Smith}} | ||||
Article text.[17] | ||||
Article text.[18] | ||||
|
Close
More information One author, no year, w/page, Expanded code ...
One author, no year, w/page | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|p=2}} | ||||
Article text.[19] | ||||
Article text.[20] | ||||
|
Close
This is the template test cases page for the sandbox of Template:Sfn. Purge this page to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |