Template:Cite book/doc

Cite book is for use when citing books or other published works. It is based on the Wikipedia Cite Book template, and initially taken with permission from the Forgotten Realms Wiki. Use this template when you want to cite an article. It has many sub-templates which can be used to easily cite certain existing books. If no sub-template exists for the book that you wish to cite, you can still use this template manually.

Usage
Below are examples and instructions for using this template.

When a sub-template exists
If there is already a sub-template for the book you want to cite, it will be under this template, separated by a forward slash character. For example, the sub-template for Rise of the Runelords Player's Guide is accessed using:

Note the capitalization of the words in the template name. Putting this template on the page will automatically include all the citation details you need for this book. You can also cite certain pages from a book as follows:

Use the first where you only want to cite a single page. Use the second where you need to cite several pages at once.

When no sub-template exists
The best option here is to create the sub-template. Just copy an existing sub-template, such as Template:Cite book/Rise of the Runelords Player's Guide and change the details. A great place to gain the details for any book is on the Paizo Inc. site, where you can usually just search for the book's title.

If you cannot create the sub-template for any reason, or it would not be worthwhile (usually because your book is unlikely to be cited again), you can use this template directly as follows:

The 'pages', 'year' and 'ISBN' parameters are optional. All other parameters are required and cannot be left out. You can include wiki links in the 'author', 'title', and 'publisher' parameters where appropriate.

In most cases, you'll also want to categorize the subtemplate, sorting by the book's title. For example:

When citing a source with several authors, particularly six or more authors, list only the first author followed by et al.

When Citing a Source Multiple Times
Put the actual reference where you want the [1] to appear on the page, like this (in this example I'm citing page 10):

Then, if you want to cite page 12 later in the article, again, put this where you want the [2] to appear (note the different page number):

Then finally, at the end of the article, create a references section that will automatically generate your references, like this: