Template:Princeton Companion to Mathematics/doc

This is a specific-source template for The Princeton Companion to Mathematics.

Citing the whole book
By default, this template cites the Companion as a whole book, i.e., using cite book, as in the following examples:

Citing a single article
Although the Companion would not call itself an encyclopedia, it falls within the scope of cite encyclopedia as a "book [...] containing individual sections or chapters written by various authors, and put together by one or more editors". Rather than citing it as a whole book, one instead can cite a single article, as with cite encyclopedia, by using the article parameter, as in the following example:

Citing a different edition
This template defaults to identifying the first hardcover edition. One could specify a different edition either by using the parameter edition, which causes date and isbn and other identifiers to be set accordingly, or by setting isbn, date, etc. directly, as in the following examples:

The predefined edition settings are the following:
 * 1st
 * 1st e-book

Using Citation Style 2
Despite the cs1 wrapper message boxes above, this template can be made to use Citation Style 2 by specifying cs2, as in the following example:

Parameters

 * page, pages, no-pp, at, chapter, article, author-surname, author-given, author-link, quote, quote-page, quote-pages, ref, mode, postscript, date, isbn, ...
 * undefined is a template wrapper around either cite book or cite encyclopedia, depending on whether article is used. Any CS1/CS2 parameter may be given to undefined, which will pass the parameter to the underlying template.