Template:Citation/core/testcases

From blackwiki
Jump to navigation Jump to search

Date/year harv refs

Citation/core

1999
  • Example (1999) 
  • Example (1999) 
1999-12-10
  • Example (1999-12-10) 
  • Example (1999-12-10) 
fgaj ioegjhr 9g
  • Example (fgaj ioegjhr 9g) 
  • Example (fgaj ioegjhr 9g) 
No Date
  • Example 
  • Example 
Date=
  • Example 
  • Example 
Date = july 1999
  • Example (july 1999) 
  • Example (july 1999) 
Date = Thursday
  • Example (Thursday) 
  • Example (Thursday) 
Date=1/2/1999
  • Example (1/2/1999) 
  • Example (1/2/1999) 
Date=May
  • Example (May) 
  • Example (May) 
Date=12:22
  • Example (12:22) 
  • Example (12:22) 
Date=23:42, 5 December 2009 (UTC)
  • Example (23:42, 5 December 2009 (UTC)) 
  • Example (23:42, 5 December 2009 (UTC)) 
Date=1 July 1999
  • Example (1 July 1999) 
  • Example (1 July 1999) 
Date=1st July 1999
  • Example (1st July 1999) 
  • Example (1st July 1999) 
Date=1st July 1999
  • Example (1st July 1999) 
  • Example (1st July 1999) 
Date=1 Jul. 1999
  • Example (1 Jul. 1999) 
  • Example (1 Jul. 1999) 


Date=1 July, 1999
  • Example (1 July, 1999) 
  • Example (1 July, 1999) 
Date=July 1, 1999
  • Example (July 1, 1999) 
  • Example (July 1, 1999) 
Date= the 1st of July 1999
  • Example (the 1st of July 1999) 
  • Example (the 1st of July 1999) 
Date=1999
  • Example (1999) 
  • Example (1999) 

Citation/core/sandbox

Section

Text Text (Example0 1999) res ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociterres ip sur lociter

References

  1. (Example0 1999, pp. 1-22)
  2. (Example1 1999, pp. 1-22)
  3. (Example2, pp. 1-22)
  4. (Example3, pp. 1-22)
  5. (Example4, pp. 1-22)
  6. (Example5 1999, pp. 1-22)
  7. (Example6 1999, pp. 1-22)
  8. (Example7, pp. 1-22)
  9. (Example8, pp. 1-22)
  10. (Example9, pp. 1-22)
  11. (ExampleA 1999, pp. 1-22)
  12. (ExampleB 1999, pp. 1-22)
  13. (ExampleC 1999, pp. 1-22)
  14. (ExampleD 1999, pp. 1-22)
  15. (ExampleE 1999, pp. 1-22)
  16. (ExampleF 1999, pp. 1-22)
  17. (ExampleG 1999, pp. 1-22)
  18. (ExampleH 1999, pp. 1-22)
  19. (ExampleI 1999, pp. 1-22)

Footnotes

Date = 1999
  • Example0 (1999) 
Date = 1999-12-10
  • Example1 (1999-12-10) 
Date = fgaj ioegjhr 9g
  • Example2 (fgaj ioegjhr 9g) 
No Date
  • Example3 
Date =
  • Example4 
Date = july 1999
  • Example5 (july 1999) 
Date = Thursday
  • Example6 (Thursday) 
Date = 1/2/1999
  • Example7 (1/2/1999) 
Date = May
  • Example8 (May) 
Date = 12:22
  • Example9 (12:22) 
Date = 23:42, 5 December 1999 (UTC)
  • ExampleA (23:42, 5 December 1999 (UTC)) 
Date = 1 July 1999
  • ExampleB (1 July 1999) 
Date = 1st July 1999
  • ExampleC (1st July 1999) 
Date = 1st July 1999
  • ExampleD (1st July 1999) 
Date = 1 Jul. 1999
  • ExampleE (1 Jul. 1999) 
Date = 1 July, 1999
  • ExampleF (1 July, 1999) 
Date = July 1, 1999
  • ExampleG (July 1, 1999) 
Date = the 1st of July 1999
  • ExampleH (the 1st of July 1999) 
Date = 1999

Error messages

Citation/core

Full:

Missing archive URL:

Missing archive date:


Citation/core/sandbox

Full:

Missing archive URL:

Missing archive date:

Variations on Author, Last, First, and Coauthors (all ignored in favour of Surnamen and Givenn)

{{Citation/core/sandbox | Title = title |Last=lastA |First=firstA |Coauthors=cofirst1 colast1, cofirst2 colast2| Date=2010}}
installed
  • title, 2010 
sandbox
  • title, 2010 
{{Citation/core/sandbox  |Last1=lastB1 |First=firstB1 |Last2=last2 |First2=first2 |Coauthors=coauthor1, coauthor2  |Date=2010}}
installed
  • title, 2010 
sandbox
  • title, 2010 
{{Citation/core/sandbox | Title = title |Author=firstC1 lastC1 |Coauthors=cofirst1 colast1, cofirst2 colast2 |Date=2010}}
installed
  • title, 2010 
sandbox
  • title, 2010 
{{Citation/core/sandbox | Title = title |Author1=firstD1 lastD1 | Author2=first2 last2 |Coauthors=cofirst1 colast1, cofirst2 colast2 |Date=2010}}
installed
  • title, 2010 
sandbox
  • title, 2010 

Title quoting

{{Citation/core
| IncludedWorkTitle = included work title
| IncludedWorkURL = http://www.example.com/
| Title = title
| URL = http://www.example.com/
}}
sandbox
installed


{{Citation/core
| IncludedWorkTitle = included work title
| Title = title
}}
sandbox
  • "included work title", title 
installed
  • "included work title", title 


{{Citation/core
| IncludedWorkTitle = included work title
| IncludedWorkURL = http://www.example.com/
| Title = title
| URL = http://www.example.com/
| TransTitle = trans title
}}
sandbox
installed


{{Citation/core
| IncludedWorkTitle = included work title
| IncludedWorkURL = http://www.example.com/
| Title = title
| URL = http://www.example.com/
| Periodical = periodical
}}
sandbox
installed


{{Citation/core
| IncludedWorkTitle = included work title
| IncludedWorkURL = http://www.example.com/
| Title = title
| URL = http://www.example.com/
| Periodical = periodical
| TitleNote = titlenote
}}
sandbox
installed


{{Citation/core
| IncludedWorkTitle = included work title
| IncludedWorkURL = http://www.example.com/
| Title = title
| URL = http://www.example.com/
| quote = quote
}}
sandbox
installed

Missing title

{{Citation/core
| Periodical = periodical
| language = language
}}
sandbox
  • (in language)periodical 
installed
  • (in language)periodical 


{{Citation/core
| Periodical = periodical
| format = format 
}}
sandbox
  • (format)periodical 
installed
  • (format)periodical 

Place parameter

{{Citation/core
| Place = place
| Periodical = periodical
}}
sandbox
  • periodical 
installed
  • periodical 


{{Citation/core
| Place = place
| Title = title
}}
sandbox
  • title 
installed
  • title 


{{Citation/core
| Place = place
| Title = title
| Surname1 = surname1
}}
sandbox
  • surname1, written at place, title 
installed
  • surname1, written at place, title 


{{Citation/core
| Place = place
| Title = title
| EditorSurname1 = editorsurname1
}}
sandbox
  • editorsurname1, ed., written at place, title 
installed
  • editorsurname1, ed., written at place, title 


{{Citation/core
| Place = place
| Title = title
| IncludedWorkTitle = includedworktitle
}}
sandbox
  • "includedworktitle", written at place, title 
installed
  • "includedworktitle", written at place, title 


{{Citation/core
| Place = place
| Title = title
| Surname1 = surname1
| EditorSurname1 = editorsurname1
| IncludedWorkTitle = includedworktitle
}}
sandbox
  • surname1, "includedworktitle", written at place, in editorsurname1, title 
installed
  • surname1, "includedworktitle", written at place, in editorsurname1, title 


{{Citation/core
| Place = place
| Title = title
| Periodical = periodical
}}
sandbox
  • "title", periodical 
installed
  • "title", periodical 


{{Citation/core
| Place = place
| Title = title
| Surname1 = surname1
| Periodical = periodical
}}
sandbox
  • surname1, written at place, "title", periodical 
installed
  • surname1, written at place, "title", periodical 


{{Citation/core
| Place = place
| Title = title
| EditorSurname1 = editorsurname1
| Periodical = periodical
}}
sandbox
  • editorsurname1, ed., written at place, "title", periodical 
installed
  • editorsurname1, ed., written at place, "title", periodical 


{{Citation/core
| Place = place
| Title = title
| IncludedWorkTitle = includedworktitle
| Periodical = periodical
}}
sandbox
  • includedworktitle, written at place, "title", periodical 
installed
  • includedworktitle, written at place, "title", periodical 


{{Citation/core
| Place = place
| Title = title
| Surname1 = surname1
| EditorSurname1 = editorsurname1
| IncludedWorkTitle = includedworktitle
| Periodical = periodical
}}
sandbox
  • surname1, includedworktitle, written at place, in editorsurname1, "title", periodical 
installed
  • surname1, includedworktitle, written at place, in editorsurname1, "title", periodical 


{{Citation/core
| Place = place
| Title = title
| ID = id
}}
sandbox
  • title, id 
installed
  • title, id 


{{Citation/core
| Place = place
| Title = title
| ID = id
| Surname1 = surname1
}}
sandbox
  • surname1, written at place, title, id 
installed
  • surname1, written at place, title, id 


{{Citation/core
| Place = place
| Title = title
| ID = id
| EditorSurname1 = editorsurname1
}}
sandbox
  • editorsurname1, ed., written at place, title, id 
installed
  • editorsurname1, ed., written at place, title, id 


{{Citation/core
| Place = place
| Title = title
| ID = id
| IncludedWorkTitle = includedworktitle
}}
sandbox
  • "includedworktitle", written at place, title, id 
installed
  • "includedworktitle", written at place, title, id 


{{Citation/core
| Place = place
| Title = title
| ID = id
| Surname1 = surname1
| EditorSurname1 = editorsurname1
| IncludedWorkTitle = includedworktitle
}}
sandbox
  • surname1, "includedworktitle", written at place, in editorsurname1, title, id 
installed
  • surname1, "includedworktitle", written at place, in editorsurname1, title, id 

Identifiers

doi
     Template:Only in print 
     Template:Only in print 
doi broken
  • , doi:10.fake/test (inactive 2009-02-01)
     Template:Only in print 
  • , doi:10.fake/test (inactive 2009-02-01)
     Template:Only in print 
invalid doi (should fail)
     Template:Only in print 
     Template:Only in print 
invalid doi broken (should fail)
     Template:Only in print 
     Template:Only in print 
ISBN
  • , ISBN 01234567 Parameter error in {{ISBN}}: Invalid ISBN.
      Template:Only in print 
      Template:Only in print 
ISBN
      Template:Only in print 
      Template:Only in print 
OCLC
      Template:Only in print 
      Template:Only in print 
PMID
      Template:Only in print 
      Template:Only in print 
PMC w/o url
  • Should display in print, but not otherwise:, PMC 01234567
     Template:Only in print 
  • Should display in print, but not otherwise:, PMC 01234567
     Template:Only in print 
PMC w/ url
     Template:Only in print, http://example.ca 
     Template:Only in print, http://example.ca 
PMC w/ url and titles
     Template:Only in print, http://example.ca 
     Template:Only in print, http://example.ca 
PMC wo/ url and titles
     Template:Only in print 
     Template:Only in print 
Bibcode
  •  
  •  

Full citations

Citation/core

Not archived
{{citation/core
 |AccessDate  = {{#time:d F Y| -1 week}}
 |ArchiveURL  = https://web.archive.org/web/20021130190725/www.wikipedia.org/
 |ArchiveDate = {{#time:d F Y}}
 |ShowArchive = 
 |URL         = http://en.wikipedia.org
 |Date        = 15 January 2001
 |Edition     = 3rd
 |Given1      = Jimmy
 |Given2      = Larry
 |Place       = St. Petersburg
 |Publisher   = Wikimedia Foundation
 |Surname1    = Wales
 |Surname2    = Sanger
 |Title       = Wikipedia
 |Year        = 2001
}}

Wales, Jimmy; Sanger, Larry (15 January 2001), written at St. Petersburg, Wikipedia (3rd ed.), Wikimedia Foundation, archived on 27 June 2022. Error: If you specify |archiveurl=, you must first specify |url=, http://en.wikipedia.org. Retrieved 20 June 2022 

Archived
{{citation/core
 |AccessDate  = {{#time:d F Y| -1 week}}
 |ArchiveURL  = https://web.archive.org/web/20021130190725/www.wikipedia.org/
 |ArchiveDate = {{#time:d F Y}}
 |ShowArchive = yes
 |URL         = http://en.wikipedia.org
 |Date        = 15 January 2001
 |Edition     = 3rd
 |Given1      = Jimmy
 |Given2      = Larry
 |Place       = St. Petersburg
 |Publisher   = Wikimedia Foundation
 |Surname1    = Wales
 |Surname2    = Sanger
 |Title       = Wikipedia
 |Year        = 2001
}}

Wales, Jimmy; Sanger, Larry (15 January 2001), written at St. Petersburg, Wikipedia (3rd ed.), Wikimedia Foundation, archived on 27 June 2022. Error: If you specify |archiveurl=, you must first specify |url=, http://en.wikipedia.org. Retrieved 20 June 2022 

Citation/core/sandbox

Not archived
{{citation/core/sandbox
 |AccessDate  = {{#time:d F Y| -1 week}}
 |ArchiveURL  = https://web.archive.org/web/20021130190725/www.wikipedia.org/
 |ArchiveDate = {{#time:d F Y}}
 |ShowArchive = 
 |URL         = http://en.wikipedia.org
 |Date        = 15 January 2001
 |Edition     = 3rd
 |Given1      = Jimmy
 |Given2      = Larry
 |Place       = St. Petersburg
 |Publisher   = Wikimedia Foundation
 |Surname1    = Wales
 |Surname2    = Sanger
 |Title       = Wikipedia
 |Year        = 2001
}}

Wales, Jimmy; Sanger, Larry (15 January 2001), written at St. Petersburg, Wikipedia (3rd ed.), Wikimedia Foundation, archived on 27 June 2022. Error: If you specify |archiveurl=, you must first specify |url=Template:Namespace detect showall, http://en.wikipedia.org. Retrieved 20 June 2022 

Archived
{{citation/core/sandbox
 |AccessDate  = {{#time:d F Y| -1 week}}
 |ArchiveURL  = https://web.archive.org/web/20021130190725/www.wikipedia.org/
 |ArchiveDate = {{#time:d F Y}}
 |ShowArchive = yes
 |URL         = http://en.wikipedia.org
 |Date        = 15 January 2001
 |Edition     = 3rd
 |Given1      = Jimmy
 |Given2      = Larry
 |Place       = St. Petersburg
 |Publisher   = Wikimedia Foundation
 |Surname1    = Wales
 |Surname2    = Sanger
 |Title       = Wikipedia
 |Year        = 2001
}}

Wales, Jimmy; Sanger, Larry (15 January 2001), written at St. Petersburg, Wikipedia (3rd ed.), Wikimedia Foundation, archived on 27 June 2022. Error: If you specify |archiveurl=, you must first specify |url=Template:Namespace detect showall, http://en.wikipedia.org. Retrieved 20 June 2022  ja:Template:Citation/core/testcases


Language