Template:Sfn/testcases

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Don't forget to check the Notes, and make sure that the wikilinks in that section link properly to Sources.

Simple

[edit source]
Article text.{{Sfn |Smith|2009}}

{{Sfn}}

Article text.[1]

{{Sfn/sandbox}}

Article text.[1]

Article text.{{Sfn |Smith|2009| p=25}}

{{Sfn}}

Article text.[2]

{{Sfn/sandbox}}

Article text.[2]

p with pages

[edit source]
Article text.{{Sfn |Smithie|2009| p=25-26}}

{{Sfn}}

Article text.[3]

{{Sfn/sandbox}}

Article text.[3]

Duplicate

[edit source]
Article text.{{Sfn |Smith|2009| p=25}}

{{Sfn}}

Article text.[2]

{{Sfn/sandbox}}

Article text.[2]

Article text.{{Sfn |Smith|2009| pp=25–26}}

{{Sfn}}

Article text.[4]

{{Sfn/sandbox}}

Article text.[4]

pp with page

[edit source]
Article text.{{Sfn |Smithy|2009| pp=25}}

{{Sfn}}

Article text.[5]

{{Sfn/sandbox}}

Article text.[5]

Article text.{{Sfn |Smith|2009| loc=§8.5}}

{{Sfn}}

Article text.[6]

{{Sfn/sandbox}}

Article text.[6]

Article text.{{Sfn |Smith|2009| at=§8.5}}

{{Sfn}}

Article text.[6]

{{Sfn/sandbox}}

Article text.[6]

Two authors

[edit source]
Article text.{{Sfn |Smith|Jones|2009| p=25}}

{{Sfn}}

Article text.[7]

{{Sfn/sandbox}}

Article text.[7]

Three authors

[edit source]
Article text.{{Sfn |Smith|Jones|Brown|2009| p=25}}

{{Sfn}}

Article text.[8]

{{Sfn/sandbox}}

Article text.[8]

Three authors with spaces

[edit source]
Article text.{{Sfn |Smith | Jones| Brown |2009| p=25}}

{{Sfn}}

Article text.[8]

{{Sfn/sandbox}}

Article text.[8]

Four authors

[edit source]
Article text.{{Sfn |Smith|Jones|Brown|Black|2009| p=25}}

{{Sfn}}

Article text.[9]

{{Sfn/sandbox}}

Article text.[9]

Four authors with spaces

[edit source]
Article text.{{Sfn |Smith | Jones| Brown |Black| 2009 | p=25 }}

{{Sfn}}

Article text.[9]

{{Sfn/sandbox}}

Article text.[9]

One author, no year, no page

[edit source]
Article text.{{Sfn |Smith}}

{{Sfn}}

Article text.[10]

{{Sfn/sandbox}}

Article text.[10]

One author, no year, w/page

[edit source]
Article text.{{Sfn |Smith|p=2}}

{{Sfn}}

Article text.[11]

{{Sfn/sandbox}}

Article text.[11]

  1. ^ a b Smith 2009.
  2. ^ a b c d Smith 2009, p. 25.
  3. ^ a b Smithie 2009, p. 25-26.
  4. ^ a b Smith 2009, pp. 25&amp, ndash, 26.
  5. ^ a b Smithy 2009, pp. 25.
  6. ^ a b c d Smith 2009, §8.5.
  7. ^ a b Smith & Jones 2009, p. 25.
  8. ^ a b c d Smith, Jones & Brown 2009, p. 25.
  9. ^ a b c d Smith et al. 2009, p. 25.
  10. ^ a b Smith.
  11. ^ a b Smith, p. 2.

Sources

[edit source]
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).