Template:Princeton Companion to Mathematics/doc

From testwiki
Jump to navigation Jump to search

Template:Documentation subpage Template:Cs1 wrapper Template:Cs1 wrapper

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 Template:Tl, 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

Although the Companion would not call itself an encyclopedia,Template:R it falls within the scope of Template:Tl 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 Template:Tl, by using the Template:Para 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

This template defaults to identifying the first hardcover edition. One could specify a different edition either by using the parameter Template:Para, which causes Template:Para and Template:Para and other identifiers to be set accordingly, or by setting Template:Para, Template:Para, 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:

Using Citation Style 2

Despite the Template:Tl message boxes above, this template can be made to use Citation Style 2 by specifying Template:Para, as in the following example:

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

Parameters

Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, Template:Para, ...
Template:Tl is a template wrapper around either Template:Tl or Template:Tl, depending on whether Template:Para is used. Any CS1/CS2 parameter may be given to Template:Tl, which will pass the parameter to the underlying template.

See also

References

Template:Reflist