Template:Sfn/testcases
Jump to navigation
Jump to search
This is the template test cases page for the sandbox of Template:Sfn. 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: |
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. | ||||
|
p | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| p=25}} | ||||
Article text.[3] | ||||
Article text. | ||||
|
p with pages | ||||
---|---|---|---|---|
Article text.{{sfn |Smithie|2009| p=25-26}} | ||||
Article text.[5] | ||||
Article text. | ||||
|
Duplicate | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| p=25}} | ||||
Article text.[3] | ||||
Article text. | ||||
|
pp | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| pp=25–26}} | ||||
Article text.[6] | ||||
Article text. | ||||
|
pp with page | ||||
---|---|---|---|---|
Article text.{{sfn |Smithy|2009| pp=25}} | ||||
Article text.[8] | ||||
Article text. | ||||
|
loc | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| loc=§8.5}} | ||||
Article text.[9] | ||||
Article text. | ||||
|
at | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|2009| at=§8.5}} | ||||
Article text.[9] | ||||
Article text. | ||||
|
Two authors | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|Jones|2009| p=25}} | ||||
Article text.[11] | ||||
Article text. | ||||
|
Three authors | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|Jones|Brown|2009| p=25}} | ||||
Article text.[13] | ||||
Article text. | ||||
|
Three authors with spaces | ||||
---|---|---|---|---|
Article text.{{sfn |Smith | Jones| Brown |2009| p=25}} | ||||
Article text.[13] | ||||
Article text. | ||||
|
Four authors | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|Jones|Brown|Black|2009| p=25}} | ||||
Article text.[15] | ||||
Article text. | ||||
|
Four authors with spaces | ||||
---|---|---|---|---|
Article text.{{sfn |Smith | Jones| Brown |Black| 2009 | p=25 }} | ||||
Article text.[15] | ||||
Article text. | ||||
|
One author, no year, no page | ||||
---|---|---|---|---|
Article text.{{sfn |Smith}} | ||||
Article text.[17] | ||||
Article text. | ||||
|
One author, no year, w/page | ||||
---|---|---|---|---|
Article text.{{sfn |Smith|p=2}} | ||||
Article text.[19] | ||||
Article text. | ||||
|
Notes
[edit]- ^ Smith 2009.
- ^ SmithS 2009.
- ^ a b Smith 2009, p. 25.
- ^ a b SmithS 2009, p. 25.
- ^ a b Smithie 2009, p. 25-26.
- ^ Smith 2009, pp. 25–26.
- ^ SmithS 2009, pp. 25–26.
- ^ a b Smithy 2009, pp. 25.
- ^ a b Smith 2009, §8.5.
- ^ a b SmithS 2009, §8.5.
- ^ Smith & Jones 2009, p. 25.
- ^ SmithS & Jones 2009, p. 25.
- ^ a b Smith, Jones & Brown 2009, p. 25.
- ^ a b SmithS, Jones & Brown 2009, p. 25.
- ^ a b Smith et al. 2009, p. 25.
- ^ a b SmithS et al. 2009, p. 25.
- ^ Smith.
- ^ SmithS.
- ^ Smith, p. 2.
- ^ SmithS, p. 2.
Sources
[edit]- 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