Template:Cite book/testcases
{{Template test cases notice}}
More complex examples
=Using a [[Digital object identifier|DOI]]=
{{test case|_showcode=yes|last=Mumford
|first=David
|authorlink=David Mumford
|year=1999
|title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians
|edition=2nd
|publisher=Springer-Verlag
|doi=10.1007/b62130
|isbn=354063293X
}}
Some general examples to get started
=Most basic=
{{test case|_showcode=yes
| author = Buckland, W.
| year = 1841
| title = Geology and Mineralogy Considered with Reference to Natural Theology
| publisher = Lea & Blanchard
}}
=Unusual separators=
{{test case|_showcode=yes
| title=On the Origin of Species by Natural Selection
| author=Darwin, C
| authorlink=Charles Darwin
| year=2002
| origyear = First published 1859
| pages=315–316
| publisher=Murray, London, United Kingdom
| isbn=1602061440
| oclc=176630493
| separator = ;
| lastauthoramp = &
| postscript = A good read!
}}
=More parameters=
{{test case|_showcode=yes| title=The Burgess Shale | author=Whittington, H.B. | authorlink=Harry Whittington | coauthors = Geological Survey of Canada | year=1985 | publisher=Yale University Press | isbn=0660119013 | oclc=15630217 }}
=Just a title=
{{test case| title=Mysterious book|_showcode=yes }}
=Year and title=
{{test case | title=Mysterious book | year=1901 |_showcode=y}}
=Basic usage=
{{test case| first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
=Basic usage with URL=
{{test case| last=Bloggs | first=Joe | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs | edition=1st Edition | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}
More complex examples
=Three authors, title with a piped wikilink, edition=
{{test case| last=Bloggs | first=Joe | authorlink=Joe Bloggs | coauthors=John Smith, Jim Smythe | title=1000 Acres | edition=2nd Edition }}
=Date without day, wikilinked title and publisher, id, pages, location=
{{test case|_showcode=yes| last=Cordell | first=Bruce R. | coauthors=Jeff Grubb, David Noonan | year=2001 | month=September | title=Manual of the Planes | publisher=Wizards of the Coast | location=Timbuktu | isbn=0-7869-1850-8 | pages=pp. 134-137 }}
=Date of first edition, other language, illustrator=
{{test case|_showcode=yes| last=Bloggs | first=Joe | origyear=1463 | year=1974 | title=Book of Bloggs | edition=1st Edition | others=illustrated by Smith | language=German | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}
=Editor ampersands=
{{test case|_showcode=yes|author=Au1|last2=Au2|last3=Au3|editor=Ed1|editor2-last=Ed2|editor3-last=Ed3|title=Title|lastauthoramp=&}}
ISBN test cases
{{test case|_showcode=yes|author= Dakin CJ |chapter= Life on the outside: A personal perspective of Asperger syndrome |editor= Stoddart KP |title= Children, Youth and Adults with Asperger Syndrome: Integrating Multiple Perspectives |year=2005 |publisher= Jessica Kingsley |isbn=1-84310-319-2 |pages=352–61}}
{{test case|_showcode=yes|title= Foundations of Evolutionary Psychology |chapter= The evolution of brain mechanisms for social behavior |author= Baron-Cohen S |pages=415–32 |editor= Crawford C, Krebs D (eds.) |publisher= Lawrence Erlbaum |date=2008 |isbn=0-8058-5957-8}}