Template:Cite book/testcases/regression tests
{{Template regression tests notice}}
This page is intended to contain regression tests for {{lts|cite book}}.
Every test case has its own section. The contents of each test case are (in this exact order):
- a
block with the wiki code of the template call - the template call
- the manual expansion of that template call (intentionally written without using the template). Please note that using subst
does not what's intended here.{{subst:cite book}} - time and date of the expansion.
__TOC__
Miscellaneous tests
- Author, year and title
{{cite book | last = Invisible | first = M. | title = Mysterious book | year = 1901 }}
- Author and title
{{cite book | last = Invisible | first = Man | title = Mysterious book }}
- Basic usage, wrong date format
{{cite book | last = Bloggs | first = Joe | authorlink = Joe Bloggs | year = 1974 | title = Book of Bloggs | chapter = | editor = | others = | edition = 1st Edition | pages = | Publisher = | location = | id = | url = http://en.wikipedia.org/ | accessdate = 10 February 2006 }}
- Without accessdate
{{cite book | last = Bloggs | first = Joe | authorlink = Joe Bloggs | title = Book of Bloggs | chapter = | editor = | others = | edition = | pages = | publisher = | location = | id = | url = http://en.wikipedia.org/ | format = PDF }}
- Full date of first edition
{{cite book | last = Bloggs | first = Joe | orig-year = 1963-06-27 | year = 1974 | title = Book of Bloggs | edition = 1st Edition | url = http://en.wikipedia.org/ | accessdate = 2006-02-17 }}
- Author, year and title
{{cite book | author = Invisible, M. | title = Mysterious book | year = 1901 }}
- Two authors
{{cite book | author = Invisible, M. | coauthors = Accomplice, A. | title = Mysterious book }}
- Test uzz
{{cite book |title= The SKS Carabine (CKC45g) | author = Steve Kehaya |coauthors= Joe Poyer |year= 1996 |publisher= North Cape Publications, Inc. | |isbn= 1882391144 |page= 10 |pages= 226}}
Beck et al. 1996
- {{cite book
| first = K.
| last = Beck
| authorlink =
| coauthors = R. Crocker, G. Meszaros, J.O. Coplien, L. Dominick, F. Paulisch, and J. Vlissides
|date=March 1996
| title = Proceedings of the 18th International Conference on Software Engineering
| pages = 25–30
| publisher =
| id =
}}
- {{cite book
| first = K.
| last = Beck
| authorlink =
| coauthors = R. Crocker, G. Meszaros, J.O. Coplien, L. Dominick, F. Paulisch, and J. Vlissides
|date=March 1996
| title = Proceedings of the 18th International Conference on Software Engineering
| pages = 25–30
| publisher =
| id =
}}
- Beck, K., R. Crocker, G. Meszaros, J.O. Coplien, L. Dominick, F. Paulisch, and J. Vlissides (March 1996). Proceedings of the 18th International Conference on Software Engineering, 25–30.
expanded 16:32, 1 December 2005 (UTC)
Black and Bolton 2001
- {{cite book | author=Black, David and Bolton, Geoffrey | title=Biographical Register of Members of the Parliament of Western Australia, Volume One, 1870–1930 (Revised Edition) | publisher=Parliament of Western Australia, Parliament House, Perth, Western Australia | year=2001 | id={{ISBN|0730738140}}}}
- {{cite book | author=Black, David and Bolton, Geoffrey | title=Biographical Register of Members of the Parliament of Western Australia, Volume One, 1870–1930 (Revised Edition) | publisher=Parliament of Western Australia, Parliament House, Perth, Western Australia | year=2001 | id={{ISBN|0730738140}}}}
- Black, David and Bolton, Geoffrey (2001). Biographical Register of Members of the Parliament of Western Australia, Volume One, 1870–1930 (Revised Edition), Parliament of Western Australia, Parliament House, Perth, Western Australia. {{ISBN|0730738140}}.
expanded at 09:41, 20 February 2006 (UTC)
Booch 1993
- {{cite book
| first = Grady
| last = Booch
| authorlink = Grady Booch
| year = 1993
| title = Object-oriented Analysis and Design with Applications
| edition = 2nd ed.
| publisher = Redwood City: Benjamin Cummings
| id = {{ISBN|0-8053-5340-2}}
}}
- {{cite book
| first = Grady
| last = Booch
| authorlink = Grady Booch
| year = 1993
| title = Object-oriented Analysis and Design with Applications
| edition = 2nd ed.
| publisher = Redwood City: Benjamin Cummings
| id = {{ISBN|0-8053-5340-2}}
}}
- Booch, Grady (1993). Object-oriented Analysis and Design with Applications, 2nd ed., Redwood City: Benjamin Cummings. {{ISBN|0-8053-5340-2}}.
expanded 10:25, 1 December 2005 (UTC)
Cunningham 1988
- {{cite book
| first = Ward
| last = Cunningham
| authorlink = Ward Cunningham
| coauthors = Kent Beck
| date = 1988-05-16
| title = Addendum to the Proceedings of OOPSLA'87, volume 23,5 of ACM SIGPLAN Notices
| chapter = Using a pattern language for programming
| pages =
| publisher =
| id =
}}
- {{cite book
| first = Ward
| last = Cunningham
| authorlink = Ward Cunningham
| coauthors = Kent Beck
| date = 1988-05-16
| title = Addendum to the Proceedings of OOPSLA'87, volume 23,5 of ACM SIGPLAN Notices
| chapter = Using a pattern language for programming
| pages =
| publisher =
| id =
}}
- Cunningham, Ward, Kent Beck (1988-05-16). "Using a pattern language for programming" Addendum to the Proceedings of OOPSLA'87, volume 23,5 of ACM SIGPLAN Notices.
expanded 09:43, 20 February 2006 (UTC)
Fowler et al. 1999
- {{cite book
| first = Martin
| last = Fowler
| authorlink = Martin Fowler (software engineer)
| coauthors = Kent Beck, John Brant, William Opdyke, and Don Roberts
| year = 1999
| title = Refactoring: Improving the Design of Existing Code
| publisher = Addison-Wesley
| id = {{ISBN|0-201-48567-2}}
}}
- {{cite book
| first = Martin
| last = Fowler
| authorlink = Martin Fowler (software engineer)
| coauthors = Kent Beck, John Brant, William Opdyke, and Don Roberts
| year = 1999
| title = Refactoring: Improving the Design of Existing Code
| publisher = Addison-Wesley
| id = {{ISBN|0-201-48567-2}}
}}
- Fowler, Martin, Kent Beck, John Brant, William Opdyke, and Don Roberts (1999). Refactoring: Improving the Design of Existing Code, Addison-Wesley. {{ISBN|0-201-48567-2}}.
expanded at 09:46, 1 December 2005 (UTC)
Martin 2003
- {{cite book
| first = Robert C.
| last = Martin
| authorlink = Robert C. Martin
| year = 2003
| title = UML for Java Programmers
| publisher = Prentice Hall
| id = {{ISBN|0-13-142848-9}}
}}
- {{cite book
| first = Robert C.
| last = Martin
| authorlink = Robert C. Martin
| year = 2003
| title = UML for Java Programmers
| publisher = Prentice Hall
| id = {{ISBN|0-13-142848-9}}
}}
- Martin, Robert C. (2003). UML for Java Programmers, Prentice Hall. {{ISBN|0-13-142848-9}}.
expanded at 10:11, 1 December 2005 (UTC)
Whiteside 1975
- {{cite book
| first = Andrew Gladding
| last = Whiteside
| year = 1975
| title = The Socialism of Fools: Georg Ritter von Schönerer and Austrian Pan-Germanism
| publisher = University of California Press
| location = Berkeley
| id = {{ISBN|0-520-02434-6}}
}}
- {{cite book
| first = Andrew Gladding
| last = Whiteside
| year = 1975
| title = The Socialism of Fools: Georg Ritter von Schönerer and Austrian Pan-Germanism
| publisher = University of California Press
| location = Berkeley
| id = {{ISBN|0-520-02434-6}}
}}
- Whiteside, Andrew Gladding (1975). The Socialism of Fools: Georg Ritter von Schönerer and Austrian Pan-Germanism, Berkeley: University of California Press. {{ISBN|0-520-02434-6}}.
expanded at 09:42, 1 December 2005 (UTC)
All
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
| url = http://example.com
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
| url = http://example.com
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" EDITOR [http://example.com TITLE], OTHERS, EDITION, PAGES, LOCATION: PUBLISHER. ID.
expanded at 20:07, 3 December 2005 (UTC)
15 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" EDITOR TITLE, OTHERS, EDITION, PAGES, LOCATION: PUBLISHER. ID.
expanded at 20:10, 3 December 2005 (UTC)
14 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" EDITOR TITLE, OTHERS, EDITION, PAGES, LOCATION: PUBLISHER.
expanded at 20:12, 3 December 2005 (UTC)
13 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" EDITOR TITLE, OTHERS, EDITION, PAGES, PUBLISHER.
expanded at 20:14, 3 December 2005 (UTC)
12 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" EDITOR TITLE, OTHERS, EDITION, PAGES.
expanded at 20:15, 3 December 2005 (UTC)
11 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
| edition = EDITION
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" EDITOR TITLE, OTHERS, EDITION.
expanded at 20:16, 3 December 2005 (UTC)
10 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
| others = OTHERS
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" EDITOR TITLE, OTHERS.
expanded at 20:17, 3 December 2005 (UTC)
9 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| editor = EDITOR
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" EDITOR TITLE.
expanded at 20:18, 3 December 2005 (UTC)
8 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "CHAPTER" TITLE.
expanded at 20:19, 3 December 2005 (UTC)
7 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). TITLE.
expanded at 20:20, 3 December 2005 (UTC)
6 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
}}
- LAST, FIRST, COAUTHORS (YEAR). TITLE.
expanded at 20:21, 3 December 2005 (UTC)
5 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| title = TITLE
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| title = TITLE
}}
- LAST, FIRST, COAUTHORS. TITLE.
expanded at 20:23, 3 December 2005 (UTC)
4 parameters
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| title = TITLE
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| title = TITLE
}}
- LAST, FIRST. TITLE.
expanded at 20:24, 3 December 2005 (UTC)
3 parameters
- {{cite book
| first = FIRST
| last = LAST
| title = TITLE
}}
- {{cite book
| first = FIRST
| last = LAST
| title = TITLE
}}
- LAST, FIRST. TITLE.
expanded at 20:25, 3 December 2005 (UTC)
2 parameters
- {{cite book
| last = LAST
| title = TITLE
}}
- {{cite book
| last = LAST
| title = TITLE
}}
- LAST. TITLE.
expanded at 20:26, 3 December 2005 (UTC)
1 parameter
- {{cite book
| title = TITLE
}}
- {{cite book
| title = TITLE
}}
- TITLE.
expanded at 20:27, 3 December 2005 (UTC)
No parameter
- {{cite book
}}
- {{cite book|no-tracking=yes
}}
- {{{Title}}}
expanded at 17:39, 19 January 2006 (UTC)
ChapterURL
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| chapterurl= http://example.com/chapter
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
| url = http://example.com
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter = CHAPTER
| chapterurl= http://example.com/chapter
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
| url = http://example.com
}}
- LAST, FIRST, COAUTHORS (MONTH YEAR). "[http://example.com/chapter CHAPTER]" EDITOR [http://example.com TITLE], OTHERS, EDITION, PAGES, LOCATION: PUBLISHER. ID.
expanded at 10:31, 28 December 2005 (UTC)
Interaction of editor and chapter parameters
Template automatically adds "ed." after "editor" field unless the "chapter" parameter is used in which case "in" is automatically added before the "editor" field which appears after the "chapter" field and before the "title" field. Thus:
Without "chapter"
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
| url = http://example.com
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
| url = http://example.com
}}
- LAST, FIRST; COAUTHORS (MONTH YEAR). EDITOR. ed. [http://example.com TITLE]. OTHERS (EDITION ed.). LOCATION: PUBLISHER. pp. PAGES. ID.
and with "chapter"
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter=CHAPTER
| chapterurl= http://example.com/chapter
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
| url = http://example.com
}}
- {{cite book
| first = FIRST
| last = LAST
| authorlink = AUTHORLINK
| coauthors = COAUTHORS
| year = YEAR
| title = TITLE
| chapter=CHAPTER
| chapterurl= http://example.com/chapter
| editor = EDITOR
| others = OTHERS
| edition = EDITION
| pages = PAGES
| publisher = PUBLISHER
| location = LOCATION
| id = ID
| url = http://example.com
}}
- LAST, FIRST; COAUTHORS (MONTH YEAR). "[http://example.com/chapter. CHAPTER]". in EDITOR. [http://example.com TITLE]. OTHERS (EDITION ed.). LOCATION: PUBLISHER. pp. PAGES. ID.
Stephen Kirrage talk - contribs 11:05, 9 March 2009 (UTC)