Jump to content

Template:Princeton Companion to Mathematics/doc

From Wikipedia, the free encyclopedia

This is a specific-source template for The Princeton Companion to Mathematics. Transcluding specific-source templates rather than writing out citations reduces code duplication across articles and allows improvements — such as adding a zbMATH number or wikilinking the name of an author or editor — to apply to all uses of the source at once.

Usage

[edit]

Citing the whole book

[edit]

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

* {{Princeton Companion to Mathematics}}
* {{Princeton Companion to Mathematics |page=23}}
* {{Princeton Companion to Mathematics |pages=19–29 |quote-page=23 |quote=As we saw earlier, the set <math>\mathbb{C}</math> of all complex numbers, with the operations of addition and multiplication, forms one of the most basic examples of a field.}}

Citing a single article

[edit]

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:

* {{Princeton Companion to Mathematics |article=Differential Forms and Integration |pages=175–180 |author-surname=Tao |author-given=Terence |author-link=Terence Tao}}

Citing a different edition

[edit]

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:

* {{Princeton Companion to Mathematics}} <!--For comparison-->
* {{Princeton Companion to Mathematics |edition=1st}}
* {{Princeton Companion to Mathematics |edition=1st e-book}}
* {{Princeton Companion to Mathematics |date=2009 |isbn=978-1-4008-3039-8}}

The predefined edition settings are the following:

  • |edition=1st
  • |edition=1st e-book

Using Citation Style 2

[edit]

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:

* {{Princeton Companion to Mathematics |mode=cs2}}

Parameters

[edit]
|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

[edit]

References

[edit]