Template:Princeton Companion to Mathematics/doc

This is a specific-source template for The Princeton Companion to Mathematics. User:2d37/Templates/Specific-source templates DRY plug

Usage

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: <syntaxhighlight lang="wikitext">* Gowers, Timothy; Barrow-Green, June; Leader, Imre, eds. (2008). The Princeton Companion to Mathematics. Princeton, New Jersey: Princeton University Press. doi:10.1515/9781400830398. ISBN 978-0-691-11880-2. JSTOR j.ctt7sd01. LCCN 2008020450. MR 2467561. OCLC 227205932. OL 19327100M. Zbl 1242.00016.

Citing a single article

Although the Companion would not call itself an encyclopedia,[1]: x  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: <syntaxhighlight lang="wikitext">* Tao, Terence (2008). "Differential Forms and Integration". In Gowers, Timothy; Barrow-Green, June; Leader, Imre (eds.). The Princeton Companion to Mathematics. Princeton, New Jersey: Princeton University Press. pp. 175–180. doi:10.1515/9781400830398. ISBN 978-0-691-11880-2. JSTOR j.ctt7sd01. LCCN 2008020450. MR 2467561. OCLC 227205932. OL 19327100M. Zbl 1242.00016.</syntaxhighlight>

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: <syntaxhighlight lang="wikitext">* Gowers, Timothy; Barrow-Green, June; Leader, Imre, eds. (2008). The Princeton Companion to Mathematics. Princeton, New Jersey: Princeton University Press. doi:10.1515/9781400830398. ISBN 978-0-691-11880-2. JSTOR j.ctt7sd01. LCCN 2008020450. MR 2467561. OCLC 227205932. OL 19327100M. Zbl 1242.00016.

The predefined edition settings are the following:

  • |edition=1st
  • |edition=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 |mode=cs2, as in the following example: <syntaxhighlight lang="wikitext">* Gowers, Timothy; Barrow-Green, June; Leader, Imre, eds. (2008), The Princeton Companion to Mathematics, Princeton, New Jersey: Princeton University Press, doi:10.1515/9781400830398, ISBN 978-0-691-11880-2, JSTOR j.ctt7sd01, LCCN 2008020450, MR 2467561, OCLC 227205932, OL 19327100M, Zbl 1242.00016</syntaxhighlight>

Parameters

|page=, |pages=, |no-pp=, |at=, |chapter=, |article=, |author-surname=, |author-given=, |author-link=, |quote=, |quote-page=, |quote-pages=, |ref=, |mode=, |postscript=, |date=, |isbn=, ...
{{Princeton Companion to Mathematics}} 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 {{Princeton Companion to Mathematics}}, which will pass the parameter to the underlying template.

See also

References