Template:Cite book/doc

This template is used to cite sources in Wikipedia. It is specifically for books. When citing an article in a compilation or anthology, Cite journal or Cite encyclopedia work better. If the book is being referenced via a web page, then unless it is a page that reproduces the book (or sections of it), Cite web should be used instead.

Usage
All parameter names must be in lowercase.

Copy a blank version to use. Remember to use the "|" (pipe) character between each parameter. Please delete any unused parameters to avoid clutter in the edit window.

† This is the preferred parameter with its alternates listed below.

‡ If chapterurl is provided then chapter cannot have wikilinks.

Examples
Title

Title and year

Basic usage (single author)

Basic usage (two authors)

Basic usage with url (and accessdate) and edition

Citing a chapter in a book with different authors for different chapters and an editor

Citing a chapter in a book with two joint authors and an editor

Three authors, title with a piped wikilink, edition

Complex usage showing effect of using volume parameter and lastauthoramp parameter (without volume and lastauthoramp)

Complex usage showing effect of using volume parameter and lastauthoramp parameter (with volume and lastauthoramp)

Date without day, wikilinked title and publisher, pages, edition, location

Other language

Using a DOI

Using authormask parameter

Using display-authors parameter

Testing
See Template:cite book/regression tests.